]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGGA/EMCALTasks/AliEmcalPhysicsSelection.h
remove one constructor
[u/mrichter/AliRoot.git] / PWGGA / EMCALTasks / AliEmcalPhysicsSelection.h
1 #ifndef ALIEMCALPHYSICSSELECTION_H
2 #define ALIEMCALPHYSICSSELECTION_H
3
4 // $Id$
5
6 #include "AliPhysicsSelection.h"
7
8 class AliEmcalPhysicsSelection: public AliPhysicsSelection
9 {
10  public:
11   enum EOfflineEmcalTypes { 
12     kEmcalHC = BIT(28), //=true when EMCAL cell above given Et found
13     kEmcalHT = BIT(29), //=true when EMCAL cluster above given Et found
14     kEmcalOk = BIT(31), //=true when EMCAL good event criteria are found
15   };
16
17   AliEmcalPhysicsSelection();
18   virtual ~AliEmcalPhysicsSelection() {;}
19
20   virtual UInt_t GetSelectionMask(const TObject* obj);
21
22   void           SetCellMinE(Double_t e)       { fCellMinE     = e; }
23   void           SetClusMinE(Double_t e)       { fClusMinE     = e; }
24   void           SetMarkFastOnly(Bool_t b)     { fMarkFastOnly = b; }
25   void           SetMarkLedEvent(Bool_t b)     { fMarkLedEvent = b; }
26   void           SetSkipFastOnly(Bool_t b)     { fSkipFastOnly = b; }
27   void           SetSkipLedEvent(Bool_t b)     { fSkipLedEvent = b; }
28   void           SetTrackMinPt(Double_t p)     { fTrackMinPt   = p; }
29   void           SetTriggers(UInt_t t)         { fTriggers     = t; }
30
31   Double_t       GetCellMaxE()   const { return fCellMaxE;    }
32   Double_t       GetClusMaxE()   const { return fClusMaxE;    }
33   Double_t       GetTrackMaxPt() const { return fTrackMaxPt;  }
34   Bool_t         IsFastOnly()    const { return fIsFastOnly;  }
35   Bool_t         IsLedEvent()    const { return fIsLedEvent;  }
36   Bool_t         IsGoodEvent()   const { return fIsGoodEvent; }
37
38  protected:
39   Bool_t         fMarkFastOnly;     //=true then mark FastOnly events (only for LHC11a)
40   Bool_t         fMarkLedEvent;     //=true then mark Led events (only for LHC11a)
41   Bool_t         fSkipFastOnly;     //=true then skip FastOnly events (only for LHC11a)
42   Bool_t         fSkipLedEvent;     //=true then skip Led events (only for LHC11a)
43   Double_t       fCellMinE;         //minimum cell energy (<0 -> do not compute)
44   Double_t       fClusMinE;         //minimum clus energy (<0 -> do not compute)
45   Double_t       fTrackMinPt;       //minimum track pt    (<0 -> do not compute)
46   UInt_t         fTriggers;         //if not zero only process given trigges
47   Bool_t         fIsFastOnly;       //!=true if FASTONLY event is found
48   Bool_t         fIsLedEvent;       //!=true if LED event is found
49   Bool_t         fIsGoodEvent;      //!=true if good EMCAL event
50   Double_t       fCellMaxE;         //!maximum cell energy in event
51   Double_t       fClusMaxE;         //!maximum clus energy in event
52   Double_t       fTrackMaxPt;       //!maximum track pt in event
53   
54   ClassDef(AliEmcalPhysicsSelection, 3); // Emcal physics selection
55 };
56 #endif