]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
add task macro
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 May 2012 08:21:31 +0000 (08:21 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 May 2012 08:21:31 +0000 (08:21 +0000)
PWGGA/EMCALTasks/macros/AddTaskEmcalIsolatedPhotons.C

index 7636408ea26de2420e407c9fdeba14e051b2a0bf..d013ff1f6b3b2cd97f37b3e0357f0a94b424507e 100644 (file)
@@ -1,10 +1,11 @@
+// $Id$
+
 AliEmcalIsolatedPhotonsTask* AddTaskEmcalIsolatedPhotons(
-                                                      const char *ntracks            = "Tracks",
-                                                      const char *nclusters          = "CaloClusters",
-                                                      const char *njets              = "Jets",
-                                                      const char *ntrgclusters       = "ClustersL1GAMMAFEE",
-                                                      const Int_t AODtrackFilterBit  = 256  // hybrid LHC11h tracks
-                                                       )
+  const char *ntracks            = "Tracks",
+  const char *nclusters          = "CaloClusters",
+  const char *njets              = "Jets",
+  const char *ntrgclusters       = "ClustersL1GAMMAFEE"
+)
 {  
   // Get the pointer to the existing analysis manager via the static access method.
   //==============================================================================
@@ -32,7 +33,6 @@ AliEmcalIsolatedPhotonsTask* AddTaskEmcalIsolatedPhotons(
   phTask->SetClusName(nclusters);
   phTask->SetJetsName(njets);
   phTask->SetTrgClusName(ntrgclusters);
-  phTask->SetAODFilterBit(AODtrackFilterBit); // global hybrids for LHC11h
 
   //-------------------------------------------------------
   // Final settings, pass to manager and set the containers
@@ -50,5 +50,4 @@ AliEmcalIsolatedPhotonsTask* AddTaskEmcalIsolatedPhotons(
   mgr->ConnectOutput (phTask, 1, coutput1 );
 
   return phTask;
-  
 }