]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding the lhc tag cuts in the repository
authorpanos <panos@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 May 2007 14:39:49 +0000 (14:39 +0000)
committerpanos <panos@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 May 2007 14:39:49 +0000 (14:39 +0000)
STEER/AliLHCTagCuts.h [new file with mode: 0644]

diff --git a/STEER/AliLHCTagCuts.h b/STEER/AliLHCTagCuts.h
new file mode 100644 (file)
index 0000000..96c6af5
--- /dev/null
@@ -0,0 +1,43 @@
+#ifndef ALILHCTAGCUTS_H
+#define ALILHCTAGCUTS_H
+/*  See cxx source for full Copyright notice */
+
+
+/* $Id$ */
+
+//-------------------------------------------------------------------------
+//                       Class AliLHCTagCuts
+//              This is the class for the cuts in run tags
+//
+//    Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
+//-------------------------------------------------------------------------
+
+#include <TObject.h>
+
+class AliLHCTag;
+
+//___________________________________________________________________________
+class AliLHCTagCuts : public TObject {
+ public:
+  AliLHCTagCuts();
+  ~AliLHCTagCuts();
+  void Reset();
+  
+ //____________________________________________________//
+  void SetLHCState(TString state) {fLHCState = state; fLHCStateFlag = kTRUE;}
+  void SetLHCLuminosityRange(Float_t low, Float_t high) {fLHCLuminosityMin = low; fLHCLuminosityMax = high; fLHCLuminosityFlag = kTRUE;}
+  Bool_t IsAccepted(AliLHCTag *lhcTag) const;
+
+  //____________________________________________________//
+ private:
+  TString fLHCState;              //LHC State
+  Bool_t  fLHCStateFlag;          //Shows whether this cut is used or
+  Float_t fLHCLuminosityMin;      //LHC luminosity - min
+  Float_t fLHCLuminosityMax;      //LHC luminosity - max
+  Bool_t  fLHCLuminosityFlag;     //Shows whether this cut is used or
+
+  ClassDef(AliLHCTagCuts, 1)
+};
+
+#endif