Skip to content

Commit a2c846a

Browse files
committed
Adding AliDip2BK project to AliceO2Group organisation
1 parent 2304e7c commit a2c846a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+6460
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bin
2+
AliDip2BK.jar

AliDip2BK.properties

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#DNSnode=192.168.1.133
2+
DNSnode=dipnsgpn1.cern.ch
3+
#in this file we list the Dip Data Providers to subscribe
4+
DipDataProvidersSubscritionFile=TselectLHC.txt
5+
# this option will list all the Data Providers than mach this pattern
6+
# null value will not start the DIP broswer
7+
# * value will list all
8+
#ListDataProvidersPattern=dip/ALICE/LHClogbook/*
9+
DEBUG_LEVEL=2
10+
# the received DipData can be logged into a local file
11+
# if null the information is sent the System.out with DEBUG_LEVEL 1
12+
#DIP_SUBSCRIPTION_OUTPUT_FILE=null
13+
#FailedSqlFile=FailedSqlCmds.txt
14+
SAVE_PARAMETERS_HISTORY_PER_RUN=YES
15+
KEEP_RUNS_HISTORY_DIRECTORY=RunsHistory
16+
KEEP_FILLS_HISTORY_DIRECTORY=FillsHistory
17+
#SIMULATE_DIP_EVENTS=Y
18+
19+
##### KAFKA
20+
# KAFKA servers
21+
22+
bootstrapServers=
23+
24+
# KAFKA Topics
25+
KAFKAtopic_EOR=aliecs.env_leave_state.RUNNING
26+
#KAFKAtopic_SOR=aliecs.env_state.RUNNING
27+
KAFKAtopic_SOR=aliecs.before_start_activity
28+
KAFKA_group_id=AliDipProd
29+
30+
# BKP parameters
31+
BookkeepingURL=
32+
BKP_TOKEN=

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# AliDip2BK
2+
3+
Initial Repository based on work from @iclegrand in repository: https://github.com/iclegrand/AliDip2BK
4+
5+
Collect selected Info from the CERN DIP system (LHC & ALICE -DCS) and publish them into the Bookkeeping/InfoLogger systems
6+
7+
A detailed description for this project is provided by Roberto in this document:
8+
https://codimd.web.cern.ch/G0TSXqA1R8iPqWw2w2wuew
9+
10+
11+
This program requires java 11 on a 64 bit system
12+
(this is a constrain from the DIP library)
13+
14+
To test the java version run
15+
java -version
16+
17+
The run configuration is defined in the AliDip2BK.properties file.
18+
19+
To run the program :
20+
21+
sh runAliDip2BK.sh
22+
23+
When the the program is stopped, it enters into the shutdown mode and it will
24+
unsubscribe to the DIP data providers will wait to process the DipData queue
25+
and saves the state of the fills and runs.
26+

TselectLHC.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#Data Provides we need
2+
dip/acc/LHC/RunControl/RunConfiguration
3+
dip/acc/LHC/RunControl/BeamMode
4+
dip/acc/LHC/Beam/BetaStar/Bstar2
5+
dip/acc/LHC/Beam/Energy
6+
dip/ALICE/MCS/Dipole/Current
7+
dip/ALICE/MCS/Solenoid/Current
8+
dip/ALICE/MCS/Dipole/Polarity
9+
dip/ALICE/MCS/Solenoid/Polarity
10+
dip/acc/LHC/RunControl/SafeBeam
11+
#
12+
#dip/ALICE/LHClogbook/RunControl/CirculatingBunchConfig/Beam2
13+
#dip/acc/LHC/Beam/Intensity/Beam2
14+
#dip/acc/LHC/Beam/Intensity/Beam1
15+
#
16+
#
17+
#dip/acc/LHC/Beam/BetaStarLeveling
18+
#dip/acc/LHC/RunControl/MachineMode
19+
#dip/acc/LHC/RunControl/CirculatingBunchConfig/Beam2
20+
#dip/acc/LHC/RunControl/InjectionBunchConfig/Beam1
21+
#dip/acc/LHC/RunControl/Page1

build.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<project default="create_run_jar" name="Create Runnable Jar for Project Tdip with libraries in sub-folder">
3+
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
4+
<!--ANT 1.7 is required -->
5+
<!--define folder properties-->
6+
<property name="dir.buildfile" value="."/>
7+
<property name="dir.workspace" value="./"/>
8+
<property name="dir.jarfile" value="${dir.buildfile}"/>
9+
<property name="lib.dir" value="./lib"/>
10+
<path id="classpath">
11+
<fileset dir="${lib.dir}" includes="**/*.jar"/>
12+
</path>
13+
14+
<target name="compile">
15+
<javac includeantruntime="false" srcdir="${dir.workspace}/src" destdir="${dir.workspace}/bin" >
16+
<classpath refid="classpath" />
17+
</javac>
18+
</target>
19+
<target name="create_run_jar" depends="compile">
20+
<jar destfile="${dir.jarfile}/AliDip2BK.jar">
21+
<manifest>
22+
<attribute name="Main-Class" value="alice.dip.Dip2BK"/>
23+
</manifest>
24+
<fileset dir="${dir.workspace}/bin"/>
25+
</jar>
26+
</target>
27+
</project>

lib/cern_dip.jar

35.8 KB
Binary file not shown.

lib/kafka-clients-3.1.0.jar

4.69 MB
Binary file not shown.

lib/protobuf-java-3.20.0.jar

1.61 MB
Binary file not shown.

lib/slf4j-api-1.7.30.jar

40.5 KB
Binary file not shown.

lib/slf4j-log4j12-1.7.30.jar

11.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)