]>
Commit | Line | Data |
---|---|---|
be94a07d | 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: | |
fb81cdb7 | 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 | |
ccd733eb | 14 | kEmcalOk = BIT(31), //=true when EMCAL good event criteria are found |
fb81cdb7 | 15 | }; |
16 | ||
17 | AliEmcalPhysicsSelection(); | |
be94a07d | 18 | virtual ~AliEmcalPhysicsSelection() {;} |
19 | ||
20 | virtual UInt_t GetSelectionMask(const TObject* obj); | |
21 | ||
fb81cdb7 | 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 | Double_t GetCellMaxE() const { return fCellMaxE; } | |
29 | Double_t GetClusMaxE() const { return fClusMaxE; } | |
30 | Bool_t IsFastOnly() const { return fIsFastOnly; } | |
31 | Bool_t IsLedEvent() const { return fIsLedEvent; } | |
32 | Bool_t IsGoodEvent() const { return fIsGoodEvent; } | |
be94a07d | 33 | |
34 | protected: | |
fb81cdb7 | 35 | Bool_t fMarkFastOnly; //=true then mark FastOnly events (only for LHC11a) |
36 | Bool_t fMarkLedEvent; //=true then mark Led events (only for LHC11a) | |
37 | Bool_t fSkipFastOnly; //=true then skip FastOnly events (only for LHC11a) | |
38 | Bool_t fSkipLedEvent; //=true then skip Led events (only for LHC11a) | |
39 | Double_t fCellMinE; //minimum cell energy | |
40 | Double_t fClusMinE; //minimum clus energy | |
41 | Bool_t fIsFastOnly; //!=true if FASTONLY event is found | |
42 | Bool_t fIsLedEvent; //!=true if LED event is found | |
43 | Bool_t fIsGoodEvent; //!=true if good EMCAL event | |
44 | Double_t fCellMaxE; //!maximum cell energy in event | |
45 | Double_t fClusMaxE; //!maximum clus energy in event | |
be94a07d | 46 | |
fb81cdb7 | 47 | ClassDef(AliEmcalPhysicsSelection, 2); // Emcal physics selection |
be94a07d | 48 | }; |
49 | #endif |