Corrected protection.
[u/mrichter/AliRoot.git] / STEER / AliEventTagCuts.h
index a4c66eb..ad9063d 100644 (file)
@@ -103,7 +103,13 @@ class AliEventTagCuts : public TObject {
   void SetNumberOfFiredChipsLayer2Range(Int_t low, Int_t high);
   void SetNumberOfSPDTrackletsRange(Int_t low, Int_t high);
 
+  // Trigger
+  void ResetTriggerClasses();
+  void AddRequiredFiredTriggerClass(TString aclass);
+  void InitializeTriggerClasses(TString aclass);
+
   Bool_t IsAccepted(AliEventTag *EvTag) const;
+  Bool_t IsAccepted(const AliEventTag *EvTag) const;
 
   //____________________________________________________//
  private:
@@ -257,8 +263,12 @@ class AliEventTagCuts : public TObject {
   Int_t fNumberOfSPDTrackletsMin, fNumberOfSPDTrackletsMax;   //min/max number of SPD tracklets
   Bool_t fNumberOfSPDTrackletsFlag;                          // Shows whether this cut is used or not
 
+  Bool_t fFiredTriggerClassFlag;                              // Shows whether this cut is used or not
+  TString fFiredTriggerClass;                                 // Triger class must be present to accept event
+
+  TString fActiveTriggerClasses;                              // Trigger classes active for this run
 
-  ClassDef(AliEventTagCuts, 3)
+  ClassDef(AliEventTagCuts, 4)
 };
 
 #endif