now it works. before - not so much.
[u/mrichter/AliRoot.git] / PWGPP / QA / detectorQAscripts / FMD.sh
CommitLineData
8dd4ce54 1# QA processing for the FMD
2#
3# it defines two functions: runLevelQA and periodLevelQA
4#
5#available variables:
6# $dataType e.g. data or sim
7# $year e.g. 2011
8# $period e.g. LHC13g
9# $runNumber e.g. 169123
10# $pass e.g. cpass1,pass1,passMC
11
12fwd=${ALICE_ROOT}/PWGLF/FORWARD/analysis2
13
14runLevelQA()
15{
3b9f4bd7 16 aliroot -l -b -q ${fwd}/qa/RunQA.C\(\"${qaFile}\",\"${dataType}\",${year},\"${period}\",\"${pass}\",${runNumber}\)
8dd4ce54 17}
18
19periodLevelQA()
20
21{
22
23 #path of the merged period trending.root is provided
24
25 # 1: file
26 # 2: data type
27 # 3: year
28 # 4: period
29 # 5: pass
30 aliroot -l -b -q ${fwd}/qa/PeriodQA.C\(\"$1\",\"\",0,\"\",\"\"\)
31
32 (cd ${outputDir} && \
33 pwd && \
34 if test -d FMD ; then cd FMD ; fi ; \
35 ${fwd}/qa/makeIndex.sh -t "QA for the FMD" -d "QA" -m 5 \
36 -o index.html -l ; \
37 cp ${fwd}/qa/style.css . ; \
38 cp ${fwd}/qa/script.js . ; \
39 cp ${fwd}/qa/fmd_favicon.png . ; \
40 cp ${fwd}/qa/fmd_logo.png . ; \
41 )
42}
43#
44# EOF
45#
46