AliPhysics  29d4213 (29d4213)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskESDfilterEMCALEventSelect.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKESDFILTEREMCALEVENTSELECT_H
2 #define ALIANALYSISTASKESDFILTEREMCALEVENTSELECT_H
3 
4 //______________________________________________________
16 //______________________________________________________
17 
18 #include "AliEMCALGeometry.h"
19 #include "AliEMCALRecoUtils.h"
20 #include "AliAnalysisTaskESDfilter.h"
21 
22 class AliAnalysisTaskESDfilterEMCALEventSelect : public AliAnalysisTaskESDfilter
23 {
24 public:
25 
26  AliAnalysisTaskESDfilterEMCALEventSelect(); // default constructor
27 
28  AliAnalysisTaskESDfilterEMCALEventSelect(const char *name); // named constructor
29 
30  virtual ~AliAnalysisTaskESDfilterEMCALEventSelect() { ; } // destructor
31 
32  void UserExec(Option_t *option);
33 
34  Bool_t AcceptEventEMCAL() ;
35 
36  void AccessBadMap();
37 
38  void SetGeometryName(TString name) { fGeoName = name ; }
39  TString GetGeometryName() const { return fGeoName ; }
40 
41  void SetEnergyCut(Float_t cut) { fEnergyCut = cut ; }
42  Float_t GetEnergyCut() const { return fEnergyCut ; }
43 
44  void SetNcellsCut(Int_t cut) { fNcellsCut = cut ; }
45  Int_t GetNcellsCut() const { return fNcellsCut ; }
46 
47  AliEMCALRecoUtils* GetRecoUtils() { return fRecoUtils ; }
48 
49 private:
50 
51  Float_t fEnergyCut;
52 
53  Int_t fNcellsCut;
54 
55  AliEMCALRecoUtils * fRecoUtils;
56 
57  AliEMCALGeometry * fGeometry;
58 
59  TString fGeoName;
60 
63 
66 
70 
71 };
72 #endif
Int_t fNcellsCut
At least a cluster with fNCellsCut cells over fEnergyCut.
AliAnalysisTaskESDfilterEMCALEventSelect & operator=(const AliAnalysisTaskESDfilterEMCALEventSelect &)
Assignment operator not implemented.
AliEMCALRecoUtils * fRecoUtils
AliEMCALRecoUtils pointer.
AliEMCALGeometry * fGeometry
Access to EMCAL geometry utils.
Float_t fEnergyCut
At least a cluster with this energy in the event.
Filter ESDs events into AODs with some significant calorimeter signal.