-
Notifications
You must be signed in to change notification settings - Fork 496
Expand file tree
/
Copy pathstartComplexSetup.sh
More file actions
executable file
·24 lines (17 loc) · 1.43 KB
/
startComplexSetup.sh
File metadata and controls
executable file
·24 lines (17 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# simple start script to launch a more complex setup
# with 2 data publishers (inside subframebuilder) + 2 attached flpSenders
# Prerequisites:
# - expects the configuration file to be in the working directory
# - O2 bin and lib set n the shell environment
# we have just one epn and 2 flps
xterm -geometry 80x25+0+0 -hold -e epnReceiver --id epnReceiver --mq-config confComplexSetup.json --in-chan-name input --out-chan-name output --num-flps 2 &
# this is the flp for TPC
xterm -geometry 80x25+500+0 -hold -e flpSender --id flpSenderTPC --mq-config confComplexSetup.json --in-chan-name input --out-chan-name output --num-epns 1 --flp-index 0 &
# this is the flp for ITS
xterm -geometry 80x25+800+0 -hold -e flpSender --id flpSenderITS --mq-config confComplexSetup.json --in-chan-name input --out-chan-name output --num-epns 1 --flp-index 1 &
# this is the subtimeframe publisher for TPC
xterm -geometry 80x25+0+500 -hold -e o2-subframebuilder-device --id subframeBuilderTPC --mq-config confComplexSetup.json --self-triggered --detector TPC &
# this is the subtimeframe publisher for ITS
xterm -geometry 80x25+500+500 -hold -e o2-subframebuilder-device --id subframeBuilderITS --mq-config confComplexSetup.json --self-triggered --detector ITS &
# consumer and validator of the full EPN time frame
xterm -geometry 80x25+800+500 -hold -e o2-timeframe-validator-device --id timeframeValidator --mq-config confComplexSetup.json --input-channel-name input &