1 #ifndef ALIEMCALCLUSTRACKMATCHERTASK_H
2 #define ALIEMCALCLUSTRACKMATCHERTASK_H
9 #include "AliAnalysisTaskSE.h"
11 class AliEmcalClusTrackMatcherTask : public AliAnalysisTaskSE {
13 AliEmcalClusTrackMatcherTask(const char *name=0);
14 virtual ~AliEmcalClusTrackMatcherTask();
16 void UserCreateOutputObjects();
17 void UserExec(Option_t *option);
18 void Terminate(Option_t *option);
20 void SetCaloName(const char *n) { fCaloName = n; }
21 void SetTracksName(const char *n) { fTracksName = n; }
24 void FindJets(TObjArray *tracks, TObjArray *clus, Int_t algo, Double_t radius);
26 TString fTracksName; // name of track collection (if "" use branch)
27 TString fCaloName; // name of calo collection
30 AliEmcalClusTrackMatcherTask(const AliEmcalClusTrackMatcherTask&); // not implemented
31 AliEmcalClusTrackMatcherTask &operator=(const AliEmcalClusTrackMatcherTask&); // not implemented
33 ClassDef(AliEmcalClusTrackMatcherTask, 1) // Cluster-Track matching task