1 #ifndef ALIESDJETTASK_H
2 #define ALIESDJETTASK_H
9 #include "AliAnalysisTaskSE.h"
11 class AliEsdJetTask : public AliAnalysisTaskSE {
13 AliEsdJetTask(const char *name=0);
14 virtual ~AliEsdJetTask();
16 void UserCreateOutputObjects();
17 void UserExec(Option_t *option);
18 void Terminate(Option_t *option);
20 void SetAlgo(Int_t a) { fAlgo = a; }
21 void SetClusName(const char *n) { fCaloName = n; }
22 void SetHadCorr(Double_t c) { fHadCorr = c; }
23 void SetJetsName(const char *n) { fJetsName = n; }
24 void SetTracksName(const char *n) { fTracksName = n; }
25 void SetRadius(Double_t r) { fRadius = r; }
26 void SetType(Int_t t) { fType = t; }
29 void FindJets(TObjArray *tracks, TObjArray *clus, Int_t algo, Double_t radius);
31 TString fTracksName; // name of track collection
32 TString fCaloName; // name of calo cluster collection
33 TString fJetsName; // name of jet collection
34 Int_t fAlgo; // algo (0==kt, 1==antikt)
35 Double_t fRadius; // jet radius
36 Int_t fType; // jet type (0=all, 1=ch, 2=neutral)
37 Double_t fHadCorr; // hadronic correction
38 TClonesArray *fJets; //!jet collection
41 AliEsdJetTask(const AliEsdJetTask&); // not implemented
42 AliEsdJetTask &operator=(const AliEsdJetTask&); // not implemented
44 ClassDef(AliEsdJetTask, 1) // Jet producing task