]>
Commit | Line | Data |
---|---|---|
aee86258 | 1 | #ifndef ALIEMCALCLUSTRACKMATCHERTASK_H |
2 | #define ALIEMCALCLUSTRACKMATCHERTASK_H | |
3 | ||
4 | // $Id$ | |
5 | ||
9239b066 | 6 | #include "AliAnalysisTaskEmcal.h" |
aee86258 | 7 | |
9239b066 | 8 | class AliEmcalClusTrackMatcherTask : public AliAnalysisTaskEmcal { |
aee86258 | 9 | public: |
d258e37e | 10 | AliEmcalClusTrackMatcherTask(); |
0cfbc684 | 11 | AliEmcalClusTrackMatcherTask(const char *name, Bool_t histo=kFALSE); |
aee86258 | 12 | virtual ~AliEmcalClusTrackMatcherTask(); |
13 | ||
d258e37e | 14 | void SetMaxDistance(Double_t d) { fMaxDistance = d; } |
3b396909 | 15 | void UserCreateOutputObjects(); |
aee86258 | 16 | |
17 | protected: | |
b6f970ad | 18 | void ExecOnce() ; |
0cfbc684 | 19 | Int_t GetMomBin(Double_t p) const; |
3b396909 | 20 | Bool_t Run(); |
0cfbc684 | 21 | |
22 | Double_t fMaxDistance ;// maximum distance to match clusters and tracks | |
3b396909 CL |
23 | TH1 *fHistMatchEtaAll ;//!deta distribution |
24 | TH1 *fHistMatchPhiAll ;//!dphi distribution | |
0cfbc684 | 25 | TH1 *fHistMatchEta[8][9][2] ;//!deta distribution |
26 | TH1 *fHistMatchPhi[8][9][2] ;//!dphi distribution | |
aee86258 | 27 | |
28 | private: | |
29 | AliEmcalClusTrackMatcherTask(const AliEmcalClusTrackMatcherTask&); // not implemented | |
30 | AliEmcalClusTrackMatcherTask &operator=(const AliEmcalClusTrackMatcherTask&); // not implemented | |
31 | ||
b6f970ad | 32 | ClassDef(AliEmcalClusTrackMatcherTask, 5) // Cluster-Track matching task |
aee86258 | 33 | }; |
34 | #endif |