From: panos Date: Thu, 3 May 2007 14:39:49 +0000 (+0000) Subject: Adding the lhc tag cuts in the repository X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=adffbe567d30b9e607eeded4468452b5007e7489;p=u%2Fmrichter%2FAliRoot.git Adding the lhc tag cuts in the repository --- diff --git a/STEER/AliLHCTagCuts.h b/STEER/AliLHCTagCuts.h new file mode 100644 index 00000000000..96c6af5fdb9 --- /dev/null +++ b/STEER/AliLHCTagCuts.h @@ -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 + +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