typo
authorjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Dec 2009 08:27:20 +0000 (08:27 +0000)
committerjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Dec 2009 08:27:20 +0000 (08:27 +0000)
PWG0/AliPhysicsSelection.h

index 873e791..26a89f9 100644 (file)
@@ -45,7 +45,7 @@ class AliPhysicsSelection : public AliAnalysisCuts
     
     TList* GetCollisionTriggerClasses() { return &fCollTrigClasses; }
     TList* GetBGTriggerClasses() { return &fBGTrigClasses; }
-    AliTriggerAnalysis* GetTriggerAnalysis() { (fTriggerAnalysis.GetEntries() > 0) ? (AliTriggerAnalysis*) fTriggerAnalysis.At(0) ? 0; }    
+    AliTriggerAnalysis* GetTriggerAnalysis() { return (fTriggerAnalysis.GetEntries() > 0) ? (AliTriggerAnalysis*) fTriggerAnalysis.At(0) : 0; }    
     
   protected:
     Bool_t CheckTriggerClass(const AliESDEvent* aEsd, const char* trigger) const;