1 #ifndef ALIEMCALCLUSTRACKMATCHERTASK_H
2 #define ALIEMCALCLUSTRACKMATCHERTASK_H
6 #include "AliAnalysisTaskEmcalDev.h"
8 class AliEmcalClusTrackMatcherTask : public AliAnalysisTaskEmcalDev {
10 AliEmcalClusTrackMatcherTask();
11 AliEmcalClusTrackMatcherTask(const char *name, Bool_t histo=kFALSE);
12 virtual ~AliEmcalClusTrackMatcherTask();
14 void UserCreateOutputObjects();
16 void SetMaxDistance(Double_t d) { fMaxDistance = d; }
21 Int_t GetMomBin(Double_t p) const;
23 Double_t fMaxDistance ;// maximum distance to match clusters and tracks
25 TH1 *fHistMatchEta[8][9][2] ;//!deta distribution
26 TH1 *fHistMatchPhi[8][9][2] ;//!dphi distribution
29 AliEmcalClusTrackMatcherTask(const AliEmcalClusTrackMatcherTask&); // not implemented
30 AliEmcalClusTrackMatcherTask &operator=(const AliEmcalClusTrackMatcherTask&); // not implemented
32 ClassDef(AliEmcalClusTrackMatcherTask, 5) // Cluster-Track matching task