Added script for runnings Yves QA stuff
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Sep 2007 13:07:30 +0000 (13:07 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Sep 2007 13:07:30 +0000 (13:07 +0000)
FMD/scripts/esdQA.C [new file with mode: 0644]

diff --git a/FMD/scripts/esdQA.C b/FMD/scripts/esdQA.C
new file mode 100644 (file)
index 0000000..bf2724b
--- /dev/null
@@ -0,0 +1,21 @@
+//______________________________________________________________________
+void 
+esdQA() 
+{  
+  gSystem->Load("libANALYSIS.so");
+  gSystem->Load("libAnalysisCheck.so");
+
+  // create the analysis goodies object
+  AliAnalysisGoodies * master     = new AliAnalysisGoodies(); 
+  AliAnalysisTask*     tasks[2]   = { 0, 0 };
+  TClass*              inputs[2]  = { TChain::Class(),    0 };
+  TClass*              outputs[2] = { TObjArray::Class(), 0 };
+  tasks[0]                        = new AliFMDQATask("FMD");
+  master->SetTasks(1, tasks, inputs, outputs) ; 
+
+  TChain* chain = new TChain("esdTree") ;
+  chain->AddFile("AliESDs.root");
+  master->Process(chain) ; 
+  return ;
+}
+