]>
Commit | Line | Data |
---|---|---|
e3990982 | 1 | #ifndef ALIANALYSISTASKESDFILTEREMCALEVENTSELECT_H |
2 | #define ALIANALYSISTASKESDFILTEREMCALEVENTSELECT_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | ////////////////////////////////////////////////////////// | |
8 | // Calls derived from AliAnalysisTaskESDfilter | |
9 | // Filter the ESD Events to AODs, only those events with | |
10 | // some signal in EMCAL, righ now at least a | |
11 | // cluster of high energy | |
12 | // | |
13 | // Author: Gustavo Conesa Balbastre (LPSC - Grenoble) | |
14 | ////////////////////////////////////////////////////////// | |
15 | ||
16 | #include "AliEMCALGeometry.h" | |
17 | #include "AliEMCALRecoUtils.h" | |
18 | ||
19 | #include "AliAnalysisTaskESDfilter.h" | |
20 | ||
21 | class AliAnalysisTaskESDfilterEMCALEventSelect : public AliAnalysisTaskESDfilter | |
22 | { | |
23 | public: | |
24 | ||
25 | AliAnalysisTaskESDfilterEMCALEventSelect(); // default constructor | |
26 | ||
27 | AliAnalysisTaskESDfilterEMCALEventSelect(const char *name); // named constructor | |
28 | ||
29 | virtual ~AliAnalysisTaskESDfilterEMCALEventSelect() { ; } // destructor | |
30 | ||
31 | void UserExec(Option_t *option); | |
32 | ||
33 | Bool_t AcceptEventEMCAL() ; | |
34 | ||
35 | void AccessBadMap(); | |
36 | ||
37 | void SetGeometryName(TString name) { fGeoName = name ; } | |
38 | TString GetGeometryName() const { return fGeoName ; } | |
39 | ||
40 | void SetEnergyCut(Float_t cut) { fEnergyCut = cut ; } | |
41 | Float_t GetEnergyCut() const { return fEnergyCut ; } | |
42 | ||
43 | void SetNcellsCut(Int_t cut) { fNcellsCut = cut ; } | |
44 | Int_t GetNcellsCut() const { return fNcellsCut ; } | |
45 | ||
46 | ||
47 | AliEMCALRecoUtils* GetRecoUtils() { return fRecoUtils ; } | |
48 | ||
49 | private: | |
50 | ||
51 | Float_t fEnergyCut; // At least a cluster with this energy in the event | |
52 | ||
53 | Int_t fNcellsCut; // At least a cluster with fNCellsCut cells over fEnergyCut | |
54 | ||
55 | AliEMCALRecoUtils * fRecoUtils; // RecoUtils | |
56 | ||
57 | AliEMCALGeometry * fGeometry; // Access to EMCAL geometry utils | |
58 | ||
59 | TString fGeoName; // Name of geometry used | |
60 | ||
61 | AliAnalysisTaskESDfilterEMCALEventSelect( const AliAnalysisTaskESDfilterEMCALEventSelect&); // not implemented | |
62 | ||
63 | AliAnalysisTaskESDfilterEMCALEventSelect& operator=(const AliAnalysisTaskESDfilterEMCALEventSelect&); // not implemented | |
64 | ||
65 | ClassDef(AliAnalysisTaskESDfilterEMCALEventSelect, 1); | |
66 | ||
67 | }; | |
68 | ||
69 | #endif |