]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
set pass if needed by hand
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Jan 2013 23:00:15 +0000 (23:00 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Jan 2013 23:00:15 +0000 (23:00 +0000)
PWG/EMCAL/macros/AddTaskEMCALTender.C

index ef38f02a621eb340bc060eb74d08f61b1503057f..860617e1d7ed2942e88e767d15d8646de8463256 100644 (file)
@@ -14,7 +14,8 @@ AliAnalysisTaskSE *AddTaskEMCALTender(
   Bool_t remBC         = kTRUE,
   Bool_t reclusterize  = kFALSE,
   UInt_t clusterizer   = AliEMCALRecParam::kClusterizerNxN,
-  Bool_t trackMatch    = kFALSE)
+  Bool_t trackMatch    = kFALSE,
+  const char* pass     = 0)
 {
   // Get the pointer to the existing analysis manager via the static access method.
   //==============================================================================
@@ -45,6 +46,8 @@ AliAnalysisTaskSE *AddTaskEMCALTender(
 
   AliEMCALTenderSupply *EMCALSupply = ConfigEmcalTenderSupply(timeCut, distBC, recalibClus, recalibClusPos, nonLinearCorr, remExotic, 
                                                              fidRegion, calibEnergy, calibTime, remBC, nonLinFunct, reclusterize, clusterizer, trackMatch);
+  if (pass) 
+    EMCALSupply->SetPass(pass);
 
   if (evhand->InheritsFrom("AliESDInputHandler")) {
     AliTender* alitender = new  AliTender("AliTender");