AliRoot Core  3dc7879 (3dc7879)
ocdbScan.C
Go to the documentation of this file.
1 
3 TChain * chain0=0;
4 TChain * chain1=0;
5 
6 void Init(){
7  // ls /hera/alice/local/benchmark/TestFor2011/r64765/000*/cpass1/dcsTime.root > /u/miranov/cpass1Calib.list
8  // ls /hera/alice/local/benchmark/TestFor2011/r64765/000*/cpass0/dcsTime.root > /u/miranov/cpass0Calib.list
9 
10  chain0 = AliXRDPROOFtoolkit::MakeChain("/u/miranov/cpass0Calib.list","dcs",0,10000);
11  chain1 = AliXRDPROOFtoolkit::MakeChain("/u/miranov/cpass1Calib.list","dcs",0,10000);
12 }
13 
14 
16  //
17  //
18  // 0.)
19  chain0->Draw("gainMIP:ptrel0","vdriftITS<0.01");
20  // 1.)
21  TStatToolkit::MakeGraphSparse(chain0,"gainMIP:ptrel0","vdriftITS<0.01",25,2)->Draw("alp");
22 
23 }
TChain * chain1
Definition: ocdbScan.C:4
TChain * chain0
Definition: ocdbScan.C:3
static TChain * MakeChain(const char *fileIn, const char *treeName, const char *fName=0, Int_t maxFiles=-1, Int_t startFile=0, Int_t checkLevel=0)
void CheckHVCorrection()
Definition: ocdbScan.C:15
TGraph * MakeGraphSparse(TTree *tree, const char *expr="Entry", const char *cut="1", Int_t mstyle=25, Int_t mcolor=1, Float_t msize=-1, Float_t offset=0.0)
void Init()
Definition: ocdbScan.C:6