]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/trigger/macros/runTriggerTest.sh
04b43445263447f2f62780bb1d5ce2c79b4498a6
[u/mrichter/AliRoot.git] / HLT / trigger / macros / runTriggerTest.sh
1 #/bin/bash
2
3 # N Events
4 NEVENTS=10
5
6 # TriggerName [Belonging to BarrelMultiplicityTrigger Component-
7 TRIGGER="H-Barrel_pT_Single-V0001.001"
8   
9 # Path to ESD
10 ESDPATH="/lustre/alice/jthaeder/data/HEAD_2010-07-09/7TeV/pp_Perugia0/014000"
11
12 if [ ! -d ./analysis ] ; then
13     mkdir analysis
14 else
15     rm ./analysis/*
16 fi
17
18 # -- Create config CDB object 
19 aliroot -b -l -q ${ALICE_ROOT}/HLT/trigger/macros/makeTriggerConfigurationObject.C'('\"${TRIGGER}\"')' 2>&1 | tee configLog.log
20
21 # -- run chain for ESD file
22 aliroot -b -l -q ${ALICE_ROOT}/HLT/trigger/macros/HLTTriggerTest.C'('${NEVENTS}','\"${TRIGGER}\"','\"${ESDPATH}\"')' 2>&1 | tee ChainLog.log
23