]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding geometry name as argument
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Apr 2012 13:13:47 +0000 (13:13 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Apr 2012 13:13:47 +0000 (13:13 +0000)
PWGGA/EMCALTasks/macros/AddTaskEMCALTriggerQA.C

index 27b3479ab0bb97c20d7299ffba063e7268cd38fe..8bdeb69b0ba91cba990c985f6c49c8afe6e0b021 100644 (file)
@@ -1,4 +1,7 @@
-AliAnalysisTaskEMCALTriggerQA * AddTaskEMCALTriggerQA(TString outputFile = "", Bool_t rmBadCells = kTRUE, Int_t run = 0){
+AliAnalysisTaskEMCALTriggerQA * AddTaskEMCALTriggerQA(TString outputFile = "", 
+                                                     Bool_t rmBadCells = kTRUE, 
+                                                     Int_t run = 0, 
+                                                     const char * geoname = "EMCAL_COMPLETE12SMV1"){
   
   
   // Get the pointer to the existing analysis manager via the static access method.
@@ -17,6 +20,7 @@ AliAnalysisTaskEMCALTriggerQA * AddTaskEMCALTriggerQA(TString outputFile = "", B
   }
     
   AliAnalysisTaskEMCALTriggerQA * qatrigger = new AliAnalysisTaskEMCALTriggerQA("QATrigger");
+  qatrigger->SetGeometryName(geoname);
   
   if(rmBadCells){