]>
Commit | Line | Data |
---|---|---|
b2112b22 | 1 | #available variables: |
2 | # $dataType e.g. data or sim | |
3 | # $year e.g. 2011 | |
4 | # $period e.g. LHC13g | |
5 | # $runNumer e.g. 169123 | |
6 | # $pass e.g. cpass1,pass1,passMC | |
302db621 | 7 | # #ocdbStorage e.g. "raw://", "local://./OCDB" |
b2112b22 | 8 | |
645f513c | 9 | runLevelHighPtTreeQA() |
b2112b22 | 10 | { |
645f513c | 11 | highPtTreeFile=${1} |
12 | ||
13 | #makePlots needs to compile it locally for now | |
14 | cp $ALICE_ROOT/PWGPP/QA/Tracking/ExpertQA/AliHighPtTreeAnalysis.h . | |
15 | cp $ALICE_ROOT/PWGPP/QA/Tracking/ExpertQA/AliHighPtTreeAnalysis.cxx . | |
b2112b22 | 16 | |
645f513c | 17 | aliroot -l -b -q "$ALICE_ROOT/PWGPP/QA/Tracking/ExpertQA/makePlots.C(\"$highPtTreeFile\")" |
b2112b22 | 18 | } |
19 | ||
20 | periodLevelQA() | |
21 | { | |
22 | trendingFile=$1 | |
23 | ||
645f513c | 24 | if ls */genericHistos_Bneg.root&>/dev/null; then |
25 | hadd mergedGenericHistos_Bneg.root */genericHistos_Bneg.root | |
26 | mkdir outputBneg | |
27 | oldDir=${PWD} | |
28 | cd outputBneg | |
29 | mv ${oldDir}/mergedGenericHistos_Bneg.root . | |
30 | ||
31 | #makePlots needs to compile it locally for now | |
32 | cp $ALICE_ROOT/PWGPP/QA/Tracking/ExpertQA/AliHighPtTreeAnalysis.h . | |
33 | cp $ALICE_ROOT/PWGPP/QA/Tracking/ExpertQA/AliHighPtTreeAnalysis.cxx . | |
34 | ||
35 | aliroot -l -b -q "$ALICE_ROOT/PWGPP/QA/Tracking/ExpertQA/makePeriodPlots.C(\"mergedGenericHistos_Bneg.root\",\"${period}/${pass}\")" | |
36 | cd ${oldDir} | |
37 | fi | |
38 | if ls */genericHistos_Bpos.root&>/dev/null; then | |
39 | hadd mergedGenericHistos_Bpos.root */genericHistos_Bpos.root | |
40 | mkdir outputBpos | |
41 | oldDir=${PWD} | |
42 | cd outputBpos | |
43 | ||
44 | #makePlots needs to compile it locally for now | |
45 | cp $ALICE_ROOT/PWGPP/QA/Tracking/ExpertQA/AliHighPtTreeAnalysis.h . | |
46 | cp $ALICE_ROOT/PWGPP/QA/Tracking/ExpertQA/AliHighPtTreeAnalysis.cxx . | |
47 | ||
48 | mv ${oldDir}/mergedGenericHistos_Bpos.root . | |
49 | aliroot -l -b -q "$ALICE_ROOT/PWGPP/QA/Tracking/ExpertQA/makePeriodPlots.C(\"mergedGenericHistos_Bpos.root\",\"${period}/${pass}\")" | |
50 | cd ${oldDir} | |
51 | fi | |
52 | ||
53 | aliroot -l -b -q "$ALICE_ROOT/PWGPP/QA/Tracking/ExpertQA/makeTrendingPlots.C(\"${trendingFile}\")" | |
b2112b22 | 54 | } |