Script to get # of dead channels from OCDB
[u/mrichter/AliRoot.git] / FMD / scripts / esdQA.C
CommitLineData
4a966b34 1//______________________________________________________________________
2void
3esdQA()
4{
5 gSystem->Load("libANALYSIS.so");
6 gSystem->Load("libAnalysisCheck.so");
7
8 // create the analysis goodies object
9 AliAnalysisGoodies * master = new AliAnalysisGoodies();
10 AliAnalysisTask* tasks[2] = { 0, 0 };
11 TClass* inputs[2] = { TChain::Class(), 0 };
12 TClass* outputs[2] = { TObjArray::Class(), 0 };
13 tasks[0] = new AliFMDQATask("FMD");
14 master->SetTasks(1, tasks, inputs, outputs) ;
15
16 TChain* chain = new TChain("esdTree") ;
17 chain->AddFile("AliESDs.root");
18 master->Process(chain) ;
19 return ;
20}
21