]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGPP/QA/detectorQAscripts/EXAMPLE.sh.template
add docs on settable ocdbStorage + modify T0 script to allow setting of local ocdb
[u/mrichter/AliRoot.git] / PWGPP / QA / detectorQAscripts / EXAMPLE.sh.template
1 # this is a simple template
2 # it defines two functions: runLevelQA and periodLevelQA
3
4 #available variables:
5 #  $dataType     e.g. data or sim
6 #  $year         e.g. 2011
7 #  $period       e.g. LHC13g
8 #  $runNumber     e.g. 169123
9 #  $pass         e.g. cpass1,pass1,passMC
10 #  #ocdbStorage  e.g. "raw://", "local://./OCDB"
11
12 runLevelQA()
13 {
14   #full path of QAresults.root is provided
15   qaFile=$1
16
17   #aliroot....
18
19   #should produce a file trending.root
20   #if not, a default one will be provided
21 }
22
23 periodLevelQA()
24 {
25   #path of the merged period trending.root is provided
26   trendingFile=$1 
27
28   #merged trending file in fact present in current dir
29   #runs in the production dir: ...../LHCXXx/passX/
30   #the running dir contains all the run sub directories
31   #named like 000123123 with the outputs of runLevelQA
32
33   #aliroot...
34 }
35
36 #########################################################
37 #########EXPERTS ONLY####################################
38 runLevelHighPtTreeQA()
39 {
40   #input is the high pt tree (if available)
41   highPtTree=$1
42 }