inclease AlidNdPtAnalysisPbPb class version and clean AlidNdPtEfficiency (Michael...
authorjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 28 Nov 2010 22:51:13 +0000 (22:51 +0000)
committerjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 28 Nov 2010 22:51:13 +0000 (22:51 +0000)
PWG0/dNdPt/AlidNdPtAnalysisPbPb.h
PWG0/dNdPt/AlidNdPtEfficiency.cxx

index 583540f..402b2c0 100644 (file)
@@ -187,7 +187,7 @@ private:
   AlidNdPtAnalysisPbPb(const AlidNdPtAnalysisPbPb&); // not implemented
   AlidNdPtAnalysisPbPb& operator=(const AlidNdPtAnalysisPbPb&); // not implemented
 
-  ClassDef(AlidNdPtAnalysisPbPb,3);
+  ClassDef(AlidNdPtAnalysisPbPb,4);
 };
 
 #endif
index d2221f4..04f8874 100644 (file)
@@ -155,37 +155,7 @@ void AlidNdPtEfficiency::Process(AliESDEvent *const esdEvent, AliMCEvent * const
 \r
   // trigger selection\r
   Bool_t isEventTriggered = kTRUE;\r
-  AliPhysicsSelection *trigSel = NULL;\r
-  AliTriggerAnalysis *trigAna = NULL; // needed for andV0\r
-\r
-  if(evtCuts->IsTriggerRequired())  \r
-  {\r
-    //\r
-    trigSel = GetPhysicsTriggerSelection();\r
-    if(!trigSel) {\r
-      printf("cannot get trigSel \n");\r
-      return;\r
-    }\r
-\r
-    //\r
-    if(IsUseMCInfo()) \r
-    { \r
-      trigSel->SetAnalyzeMC();\r
-\r
-      \r
-        isEventTriggered = trigSel->IsCollisionCandidate(esdEvent);\r
-       \r
-        if(GetTrigger() == AliTriggerAnalysis::kV0AND) \r
-       {\r
-          trigAna = trigSel->GetTriggerAnalysis();\r
-          if(!trigAna) \r
-            return;\r
-\r
-          isEventTriggered = trigAna->IsOfflineTriggerFired(esdEvent, GetTrigger());\r
-        }//if(GetTrigger() == AliTriggerAnalysis::kV0AND)\r
-     }//if(IsUseMCInfo())\r
-  }//if(evtCuts->IsTriggerRequired())\r
-\r
+   \r
   // use MC information\r
   AliHeader* header = 0;\r
   AliGenEventHeader* genHeader = 0;\r