11 dataset=/alice/sim/LHC10f8a_130844
15 analysismode=9; #SPD + field on
24 This scripts runs the mupliplicity analysis and the trigger study task
27 Mode control, at least one of the following options should be used
28 -r <mode> Run the task
29 Modes [default=$runmode]:
34 -s Run the trigger study task (by default it runs the multiplicity analysis)
36 -w nworkers Set the number of worker nodes
37 -n <nev> Number of events to be analized
39 -d <dataset> Dataset or data collection (according to run mode) [default=$dataset]
40 - local mode: a single ESD file, an xml collection of files on
41 grid or a text file with a ESD per line
43 - grid mode: a directory on alien
44 Options specific to the multiplicity analysis
45 -b <bin> Set centrality bin [default=$centrBin]
46 -e <estimator> Set centrality estimator [default=$centrEstimator]
48 - V0M = V0 multiplicity
49 - FMD = FMD raw multiplicity
51 - TKL = N. of tracklets
52 - CL0 = N. of clusters in layer 0
53 - V0MvsFMD = correlation between V0 and FMD
54 - TKLvsV0 = correlation between tracklets and V0
55 - ZEMvsZDC = correlation between ZEM and ZDC
56 -o <option> Misc option [default=$option]
58 - SAVE: Move results to a different output folder*
59 - ITSsa: Use ITSsa tracks
60 - TPC: Use TPC only tracks
61 - NOMCKINE: Skip MC kinematics (runs way faster)
62 * == can be used in trigger studies task
63 -t <option> Command line option for root [defaul=$ropt]
64 -m Use this to run on Monte Carlo
65 -x <suffix> Set a custom suffix in the histo manager
72 while getopts "x:sr:cgmd:o:w:n:e:b:t:" opt; do
97 centrEstimator=$OPTARG
119 echo "Invalid option: -$OPTARG" >&2
124 echo "Option -$OPTARG requires an argument." >&2
131 if [ "$run" = "$correct" ]
133 echo "One and only one option between -r and -c must be selected"
139 if [ "$run" = "yes" ]
141 if [ "$runTriggerStudy" = "yes" ]
143 root $ropt runTriggerStudy.C\(\"$dataset\",$nev,$offset,$debug,$runmode,$isMC,\"$option\",$workers\)
145 root $ropt run.C\(\"$dataset\",$nev,$offset,$debug,$runmode,$isMC,$centrBin,\"$centrEstimator\",\"$option\",\"$customSuffix\",$workers\)
149 if [ "$correct" = "yes" ]
151 echo "To be implemented"