]>
Commit | Line | Data |
---|---|---|
e3990982 | 1 | #ifndef ALIANALYSISTASKESDFILTEREMCALEVENTSELECT_H |
2 | #define ALIANALYSISTASKESDFILTEREMCALEVENTSELECT_H | |
3 | ||
cd231d42 | 4 | // $Id$ |
e3990982 | 5 | |
6 | #include "AliEMCALGeometry.h" | |
7 | #include "AliEMCALRecoUtils.h" | |
e3990982 | 8 | #include "AliAnalysisTaskESDfilter.h" |
9 | ||
10 | class AliAnalysisTaskESDfilterEMCALEventSelect : public AliAnalysisTaskESDfilter | |
11 | { | |
12 | public: | |
e3990982 | 13 | AliAnalysisTaskESDfilterEMCALEventSelect(); // default constructor |
e3990982 | 14 | AliAnalysisTaskESDfilterEMCALEventSelect(const char *name); // named constructor |
e3990982 | 15 | virtual ~AliAnalysisTaskESDfilterEMCALEventSelect() { ; } // destructor |
16 | ||
17 | void UserExec(Option_t *option); | |
e3990982 | 18 | Bool_t AcceptEventEMCAL() ; |
e3990982 | 19 | void AccessBadMap(); |
e3990982 | 20 | void SetGeometryName(TString name) { fGeoName = name ; } |
21 | TString GetGeometryName() const { return fGeoName ; } | |
e3990982 | 22 | void SetEnergyCut(Float_t cut) { fEnergyCut = cut ; } |
23 | Float_t GetEnergyCut() const { return fEnergyCut ; } | |
e3990982 | 24 | void SetNcellsCut(Int_t cut) { fNcellsCut = cut ; } |
25 | Int_t GetNcellsCut() const { return fNcellsCut ; } | |
e3990982 | 26 | |
27 | AliEMCALRecoUtils* GetRecoUtils() { return fRecoUtils ; } | |
28 | ||
29 | private: | |
e3990982 | 30 | Float_t fEnergyCut; // At least a cluster with this energy in the event |
e3990982 | 31 | Int_t fNcellsCut; // At least a cluster with fNCellsCut cells over fEnergyCut |
e3990982 | 32 | AliEMCALRecoUtils * fRecoUtils; // RecoUtils |
e3990982 | 33 | AliEMCALGeometry * fGeometry; // Access to EMCAL geometry utils |
e3990982 | 34 | TString fGeoName; // Name of geometry used |
35 | ||
36 | AliAnalysisTaskESDfilterEMCALEventSelect( const AliAnalysisTaskESDfilterEMCALEventSelect&); // not implemented | |
e3990982 | 37 | AliAnalysisTaskESDfilterEMCALEventSelect& operator=(const AliAnalysisTaskESDfilterEMCALEventSelect&); // not implemented |
38 | ||
39 | ClassDef(AliAnalysisTaskESDfilterEMCALEventSelect, 1); | |
e3990982 | 40 | }; |
e3990982 | 41 | #endif |