]>
Commit | Line | Data |
---|---|---|
aee86258 | 1 | #ifndef ALIEMCALCLUSTRACKMATCHERTASK_H |
2 | #define ALIEMCALCLUSTRACKMATCHERTASK_H | |
3 | ||
4 | // $Id$ | |
5 | ||
6421eeb0 | 6 | #include "AliAnalysisTaskEmcalDev.h" |
aee86258 | 7 | |
6421eeb0 | 8 | class AliEmcalClusTrackMatcherTask : public AliAnalysisTaskEmcalDev { |
aee86258 | 9 | public: |
d258e37e | 10 | AliEmcalClusTrackMatcherTask(); |
0cfbc684 | 11 | AliEmcalClusTrackMatcherTask(const char *name, Bool_t histo=kFALSE); |
aee86258 | 12 | virtual ~AliEmcalClusTrackMatcherTask(); |
13 | ||
0cfbc684 | 14 | void UserCreateOutputObjects(); |
15 | ||
d258e37e | 16 | void SetMaxDistance(Double_t d) { fMaxDistance = d; } |
aee86258 | 17 | |
18 | protected: | |
b6f970ad | 19 | void ExecOnce() ; |
0cfbc684 | 20 | Bool_t Run(); |
21 | Int_t GetMomBin(Double_t p) const; | |
22 | ||
23 | Double_t fMaxDistance ;// maximum distance to match clusters and tracks | |
24 | ||
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 |