]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliEventTagCuts.h
added classes for tracking
[u/mrichter/AliRoot.git] / STEER / AliEventTagCuts.h
index f2f2fc35039a7e2f512eefda9b8f2950c7c8769c..ad9063d3a004c111706bce773fb16eba0f3ff6df 100644 (file)
@@ -33,6 +33,8 @@ class AliEventTagCuts : public TObject {
   void SetNParticipantsRange(Int_t low, Int_t high);
   void SetImpactParamRange(Float_t low, Float_t high);
 
+  void SetEtaLeadingParticleRange(Float_t low, Float_t high);
+  void SetPhiLeadingParticleRange(Float_t low, Float_t high);
   void SetPrimaryVertexXRange(Float_t low, Float_t high);
   void SetPrimaryVertexYRange(Float_t low, Float_t high);
   void SetPrimaryVertexZRange(Float_t low, Float_t high);
@@ -77,6 +79,7 @@ class AliEventTagCuts : public TObject {
   void SetNElectronsAbove10GeVRange(Int_t low, Int_t high);
   void SetNElectronRange(Int_t low, Int_t high);
   void SetNFWMuonRange(Int_t low, Int_t high);
+  void SetNFWMatchedMuonRange(Int_t low, Int_t high);
   void SetNMuonRange(Int_t low, Int_t high);
   void SetNPionRange(Int_t low, Int_t high);
   void SetNKaonRange(Int_t low, Int_t high);
@@ -100,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:
@@ -121,6 +130,11 @@ class AliEventTagCuts : public TObject {
   Float_t fImpactParamMin, fImpactParamMax;                   // Impact parameter range
   Bool_t fImpactParamFlag;                                    // Shows whether this cut is used or not
 
+  Float_t fEtaMin, fEtaMax;                                   // Definition of the range of the eta leading
+  Bool_t fEtaFlag;                                            // Shows whether this cut is used or not
+  Float_t fPhiMin, fPhiMax;                                   // Definition of the range of the phi leading
+  Bool_t fPhiFlag;                                            // Shows whether this cut is used or not  
+         
   Float_t fVxMin, fVxMax;                                     // Definition of the range of the Vx
   Bool_t fVxFlag;                                             // Shows whether this cut is used or not
   Float_t fVyMin, fVyMax;                                     // Definition of the range of the Vy
@@ -205,6 +219,8 @@ class AliEventTagCuts : public TObject {
   Bool_t fNElectronsFlag;                                     // Shows whether this cut is used or not
   Int_t fNFWMuonsMin, fNFWMuonsMax;                           // # of forward muons range
   Bool_t fNFWMuonsFlag;                                       // Shows whether this cut is used or not
+  Int_t fNFWMatchedMuonsMin, fNFWMatchedMuonsMax;             // # of forward matched muons range
+  Bool_t fNFWMatchedMuonsFlag;                                // Shows whether this cut is used or not
   Int_t fNMuonsMin, fNMuonsMax;                               // # of muons range
   Bool_t fNMuonsFlag;                                         // Shows whether this cut is used or not
   Int_t fNPionsMin, fNPionsMax;                               // # of pions range
@@ -247,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