]>
Commit | Line | Data |
---|---|---|
ef647350 | 1 | #ifndef ALIANALYSISETSELECTORPHOS_H |
2 | #define ALIANALYSISETSELECTORPHOS_H | |
4d376d01 | 3 | //_________________________________________________________________________ |
4 | // Utility Class for transverse energy studies | |
5 | // Selector Base class for PHOS | |
6 | // - | |
7 | // | |
8 | //*-- Authors: Oystein Djuvsland (Bergen) | |
9 | //_________________________________________________________________________ | |
ef647350 | 10 | #include "AliAnalysisEtSelector.h" |
11 | ||
12 | class TH2I; | |
f61cec2f | 13 | class TParticle; |
ef647350 | 14 | class AliPHOSGeometry; |
f61cec2f | 15 | class AliESDEvent; |
32503dac | 16 | class AliStack; |
ef647350 | 17 | |
18 | class AliAnalysisEtSelectorPhos : public AliAnalysisEtSelector | |
19 | { | |
20 | ||
21 | public: | |
22 | ||
23 | AliAnalysisEtSelectorPhos(AliAnalysisEtCuts *cuts); | |
c31562f7 | 24 | AliAnalysisEtSelectorPhos(); |
ef647350 | 25 | virtual ~AliAnalysisEtSelectorPhos(); |
26 | ||
27 | virtual TRefArray* GetClusters(); | |
86e7d5db | 28 | virtual Bool_t PassMinEnergyCut(const AliESDCaloCluster& cluster) const; |
29 | virtual Bool_t PassMinEnergyCut(const TParticle& part) const; | |
30 | virtual Bool_t PassDistanceToBadChannelCut(const AliESDCaloCluster& cluster) const; | |
31 | virtual Bool_t PassTrackMatchingCut(const AliESDCaloCluster& cluster) const; | |
43dd5a38 | 32 | virtual Bool_t CutGeometricalAcceptance(const TParticle& part); |
33 | virtual Bool_t CutGeometricalAcceptance(const AliVTrack& part); | |
34 | virtual Bool_t CutGeometricalAcceptance(const AliESDCaloCluster& cluster); | |
f61cec2f | 35 | virtual void Init() {} |
36 | virtual Int_t Init(const AliESDEvent *ev); | |
37 | ||
86e7d5db | 38 | virtual Bool_t IsDetectorCluster(const AliESDCaloCluster& cluster) const {return cluster.IsPHOS();} |
32503dac | 39 | |
40 | virtual UInt_t GetLabel(const AliESDCaloCluster *cluster, AliStack *stack); | |
ef647350 | 41 | |
ef647350 | 42 | private: |
43 | ||
44 | ||
4d376d01 | 45 | int LoadGeometry(); // load geometry |
46 | int LoadBadMaps(); // load bad maps | |
ef647350 | 47 | |
4d376d01 | 48 | AliPHOSGeometry *fGeoUtils; // geo utils |
ef647350 | 49 | |
50 | TH2I *fBadMapM2; // Bad map | |
51 | TH2I *fBadMapM3; // Bad map | |
52 | TH2I *fBadMapM4; // Bad map | |
f61cec2f | 53 | |
f61cec2f | 54 | Bool_t fMatrixInitialized; // matrix initialized |
ef647350 | 55 | |
c31562f7 | 56 | //AliAnalysisEtSelectorPhos(); |
ef647350 | 57 | AliAnalysisEtSelectorPhos(const AliAnalysisEtSelectorPhos& other); // Prohibited |
58 | AliAnalysisEtSelectorPhos& operator=(const AliAnalysisEtSelectorPhos& other); // Prohibited | |
59 | bool operator==(const AliAnalysisEtSelectorPhos& other) const; // Prohibited | |
60 | ||
61 | ClassDef(AliAnalysisEtSelectorPhos, 1); | |
62 | }; | |
63 | ||
64 | #endif // ALIANALYSISETSELECTORPHOS_H |