Skip to content

Commit 6c2d8b6

Browse files
committed
Add workflow with cmv trigger
Add two news worklow with the cmv trigger enabled.
1 parent fc59cdc commit 6c2d8b6

6 files changed

Lines changed: 63 additions & 0 deletions

jit/tpc-cmv-trigger

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CRU_IDS=$(consul kv get o2/cache/flpToCruId/{{ it }}) && o2-dpl-raw-proxy -b --session default --dataspec 'x:TPC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0' --inject-missing-data --readout-proxy '--channel-config "name=readout-proxy,type=pull,method=connect,address=ipc://tmp/stf-builder-dpl-pipe-0,transport=shmem,rateLogging=1"' | o2-tpc-cmv-to-vector --input-spec "A:TPC/RAWDATA" --crus "${CRU_IDS}" --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' | o2-tpc-cmv-flp --crus "${CRU_IDS}" --n-TFs-buffer $(( 50 * 128 / {{ pdp_n_hbf_per_tf }} )) --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --lanes 1 | o2-dpl-output-proxy -b --session default --labels tpcidc:ecs-preserve-raw-channels --proxy-name tpcidc --proxy-channel-name tpcidc --fairmq-rate-logging 10 --tpcidc '--channel-config "name=tpcidc,method=bind,address=tcp://*:{{ merger_port }},type=push,transport=zeromq,rateLogging=1" ' --dataspec "cmvgroup:TPC/CMVGROUP;cmvorbit:TPC/CMVORBITINFO" --sporadic-inputs --infologger-severity info --severity info | o2-dpl-output-proxy -b --session default --dpl-output-proxy '--channel-config "name=downstream,type=push,method=bind,address=ipc:///tmp/stf-pipe-0,rateLogging=10,transport=shmem"' --dataspec 'xout:TPC/RAWDATA;ddout:FLP/DISTSUBTIMEFRAME/0' --environment DPL_OUTPUT_PROXY_ORDERED=1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CRU_IDS=$(consul kv get o2/cache/flpToCruId/{{ it }}) && o2-dpl-raw-proxy -b --session default --dataspec 'x:TPC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0' --inject-missing-data --readout-proxy '--channel-config "name=readout-proxy,type=pull,method=connect,address=ipc://tmp/stf-builder-dpl-pipe-0,transport=shmem,rateLogging=1"' | o2-tpc-idc-to-vector -b --session default --crus "${CRU_IDS}" --severity error --infologger-severity error --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --pedestal-url ccdb-default@{{ tpc_idc_pedestal_timestamp }} | o2-tpc-idc-flp -b --session default --n-TFs-buffer $(( 100 * 128 / {{ pdp_n_hbf_per_tf }} )) --crus "${CRU_IDS}" --severity warning --infologger-severity warning --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --lanes 1 --disableIDC0CCDB true | o2-tpc-cmv-to-vector --input-spec "A:TPC/RAWDATA" --crus "${CRU_IDS}" --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' | o2-tpc-cmv-flp --trigger --trigger-threshold-cmv {{ pc_trigger_threshold_cmv }} --trigger-threshold-cmvMeanMax {{ tpc_trigger_threshold_cmvMeanMax }} --trigger-threshold-cmvMeanMin {{ tpc_trigger_threshold_cmvMeanMin }} --trigger-threshold-timebinMin {{ tpc_trigger_threshold_timeBinMin }} --trigger-threshold-timebinMax {{ tpc_trigger_threshold_timeBinMax }} --crus "${CRU_IDS}" --n-TFs-buffer $(( 50 * 128 / {{ pdp_n_hbf_per_tf }} )) --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --lanes 1 | o2-dpl-output-proxy -b --session default --labels tpcidc:ecs-preserve-raw-channels --proxy-name tpcidc --proxy-channel-name tpcidc --fairmq-rate-logging 10 --tpcidc '--channel-config "name=tpcidc,method=bind,address=tcp://*:{{ merger_port_idc }},type=push,transport=zeromq,rateLogging=1" ' --dataspec "idc2:TPC/IDCGROUPA" --sporadic-inputs --infologger-severity info --severity info | o2-dpl-output-proxy -b --session default --labels tpccmv:ecs-preserve-raw-channels --proxy-name tpccmv --proxy-channel-name tpccmv --fairmq-rate-logging 10 --tpccmv '--channel-config "name=tpccmv,method=bind,address=tcp://*:{{ merger_port_cmv }},type=push,transport=zeromq,rateLogging=1" ' --dataspec "cmvgroup:TPC/CMVGROUP;cmvorbit:TPC/CMVORBITINFO" --sporadic-inputs --infologger-severity info --severity info | o2-dpl-output-proxy -b --session default --dpl-output-proxy '--channel-config "name=downstream,type=push,method=bind,address=ipc:///tmp/stf-pipe-0,rateLogging=10,transport=shmem"' --dataspec 'xout:TPC/RAWDATA;ddout:FLP/DISTSUBTIMEFRAME/0' --environment DPL_OUTPUT_PROXY_ORDERED=1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CRU_IDS=$(consul kv get o2/cache/flpToCruId/{{ it }}) && o2-dpl-raw-proxy -b --session default --dataspec 'x:TPC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0' --inject-missing-data --readout-proxy '--channel-config "name=readout-proxy,type=pull,method=connect,address=ipc://tmp/stf-builder-dpl-pipe-0,transport=shmem,rateLogging=1"' | o2-tpc-idc-to-vector -b --session default --crus "${CRU_IDS}" --severity error --infologger-severity error --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --pedestal-url ccdb-default@{{ tpc_idc_pedestal_timestamp }} | o2-tpc-idc-flp -b --session default --n-TFs-buffer $(( 100 * 128 / {{ pdp_n_hbf_per_tf }} )) --crus "${CRU_IDS}" --severity warning --infologger-severity warning --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --lanes 1 --disableIDC0CCDB true | o2-tpc-cmv-to-vector --input-spec "A:TPC/RAWDATA" --crus "${CRU_IDS}" --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' | o2-tpc-cmv-flp --trigger --trigger-threshold-cmv {{ pc_trigger_threshold_cmv }} --trigger-threshold-cmvMeanMax {{ tpc_trigger_threshold_cmvMeanMax }} --trigger-threshold-cmvMeanMin {{ tpc_trigger_threshold_cmvMeanMin }} --trigger-threshold-timebinMin {{ tpc_trigger_threshold_timeBinMin }} --trigger-threshold-timebinMax {{ tpc_trigger_threshold_timeBinMax }} --crus "${CRU_IDS}" --n-TFs-buffer $(( 50 * 128 / {{ pdp_n_hbf_per_tf }} )) --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --lanes 1 | o2-dpl-output-proxy -b --session default --labels tpcidc:ecs-preserve-raw-channels --proxy-name tpcidc --proxy-channel-name tpcidc --fairmq-rate-logging 10 --tpcidc '--channel-config "name=tpcidc,method=bind,address=tcp://*:{{ merger_port_idc }},type=push,transport=zeromq,rateLogging=1" ' --dataspec "idc2:TPC/IDCGROUPC" --sporadic-inputs --infologger-severity info --severity info | o2-dpl-output-proxy -b --session default --labels tpccmv:ecs-preserve-raw-channels --proxy-name tpccmv --proxy-channel-name tpccmv --fairmq-rate-logging 10 --tpccmv '--channel-config "name=tpccmv,method=bind,address=tcp://*:{{ merger_port_cmv }},type=push,transport=zeromq,rateLogging=1" ' --dataspec "cmvgroup:TPC/CMVGROUP;cmvorbit:TPC/CMVORBITINFO" --sporadic-inputs --infologger-severity info --severity info | o2-dpl-output-proxy -b --session default --dpl-output-proxy '--channel-config "name=downstream,type=push,method=bind,address=ipc:///tmp/stf-pipe-0,rateLogging=10,transport=shmem"' --dataspec 'xout:TPC/RAWDATA;ddout:FLP/DISTSUBTIMEFRAME/0' --environment DPL_OUTPUT_PROXY_ORDERED=1

workflows/readout-dataflow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,9 @@ defaults:
660660
- tpc-idc-sac-full-split
661661
- tpc-idc-sac-cmv-full-split
662662
- tpc-sac-cmv-full-split
663+
- tpc-sac-cmv-full-split-trigger
663664
- tpc-idc-sac-cmv-full-split-proxy
665+
- tpc-idc-sac-cmv-full-split-proxy-trigger
664666
tpc_qc_remote_workflow: !public
665667
value: "none"
666668
type: string
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: tpc-idc-sac-cmv-full-split-proxy-trigger
2+
defaults:
3+
ccdb_path: "http://o2-ccdb.internal"
4+
tpc_sac_try_realign: 0
5+
tpc_sac_threads : 1
6+
tpc_idc_pedestal_timestamp : 1715236056769
7+
bookkept: "false"
8+
tpc_trigger_threshold_cmv : -10
9+
tpc_trigger_threshold_cmvMeanMax : -60
10+
tpc_trigger_threshold_cmvMeanMin : -81
11+
tpc_trigger_threshold_timeBinMin : 4
12+
tpc_trigger_threshold_timeBinMax : -1
13+
roles:
14+
- name: tpc-idc-cmv-a-split-proxy
15+
defaults:
16+
merger_port_idc: 29950
17+
merger_port_cmv: 29952
18+
enabled: "{{ util.SuffixInRange(it, 'alio2-cr1-flp', '001', '072') }}"
19+
include: "{{ dpl.GenerateFromUri('tpc-idc-cmv-a-split-proxy-trigger') }}"
20+
- name: tpc-idc-cmv-c-split-proxy
21+
defaults:
22+
merger_port_idc: 29950
23+
merger_port_cmv: 29952
24+
enabled: "{{ util.SuffixInRange(it, 'alio2-cr1-flp', '073', '144') }}"
25+
include: "{{ dpl.GenerateFromUri('tpc-idc-cmv-c-split-proxy-trigger') }}"
26+
- name: tpc-sac
27+
defaults:
28+
merger_port: 29951
29+
enabled: "{{ it == 'alio2-cr1-flp145' }}"
30+
include: "{{ dpl.GenerateFromUri('tpc-sac') }}"
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: tpc-sac-cmv-full-split-trigger
2+
defaults:
3+
ccdb_path: "http://o2-ccdb.internal"
4+
tpc_sac_try_realign: 0
5+
tpc_sac_threads : 1
6+
tpc_idc_pedestal_timestamp : 1715236056769
7+
bookkept: "false"
8+
tpc_trigger_threshold_cmv : -10
9+
tpc_trigger_threshold_cmvMeanMax : -60
10+
tpc_trigger_threshold_cmvMeanMin : -81
11+
tpc_trigger_threshold_timeBinMin : 4
12+
tpc_trigger_threshold_timeBinMax : -1
13+
roles:
14+
- name: tpc-cmv-a
15+
defaults:
16+
merger_port: 29952
17+
enabled: "{{ util.SuffixInRange(it, 'alio2-cr1-flp', '001', '072') }}"
18+
include: "{{ dpl.GenerateFromUri('tpc-cmv-trigger') }}"
19+
- name: tpc-cmv-c
20+
defaults:
21+
merger_port: 29952
22+
enabled: "{{ util.SuffixInRange(it, 'alio2-cr1-flp', '073', '144') }}"
23+
include: "{{ dpl.GenerateFromUri('tpc-cmv-trigger') }}"
24+
- name: tpc-sac
25+
defaults:
26+
merger_port: 29951
27+
enabled: "{{ it == 'alio2-cr1-flp145' }}"
28+
include: "{{ dpl.GenerateFromUri('tpc-sac') }}"

0 commit comments

Comments
 (0)