// $Id$
class TClonesArray;
-class TList;
-class TH1;
-class TH2;
+class AliVEvent;
#include "AliAnalysisTaskSE.h"
AliEmcalJetTask(const char *name);
virtual ~AliEmcalJetTask();
- void UserCreateOutputObjects();
- void UserExec(Option_t *option);
- void Terminate(Option_t *option);
-
- void SetAlgo(Int_t a) { fAlgo = a; }
- void SetClusName(const char *n) { fCaloName = n; }
- void SetJetsName(const char *n) { fJetsName = n; }
- void SetMinJetTrackPt(Double_t min) { fMinJetTrackPt = min;}
- void SetMinJetClusPt(Double_t min) { fMinJetClusPt = min;}
- void SetRadius(Double_t r) { fRadius = r; }
- void SetTracksName(const char *n) { fTracksName = n; }
- void SetType(Int_t t) { fType = t; }
+ void UserCreateOutputObjects();
+ void UserExec(Option_t *option);
+ void Terminate(Option_t *option);
+
+ void SetAlgo(Int_t a) { fAlgo = a ; }
+ void SetClusName(const char *n) { fCaloName = n ; }
+ void SetJetsName(const char *n) { fJetsName = n ; }
+ void SetMinJetArea(Double_t a) { fMinJetArea = a ; }
+ void SetMinJetClusPt(Double_t min) { fMinJetClusPt = min ; }
+ void SetMinJetPt(Double_t j) { fMinJetPt = j ; }
+ void SetMinJetTrackPt(Double_t min) { fMinJetTrackPt = min ; }
+ void SetRadius(Double_t r) { fRadius = r ; }
+ void SetTracksName(const char *n) { fTracksName = n ; }
+ void SetType(Int_t t) { fType = t ; }
protected:
- void FindJets(TObjArray *tracks, TObjArray *clus, Int_t algo, Double_t radius, Float_t cent);
+ void FindJets(TObjArray *tracks, TObjArray *clus, Int_t algo, Double_t radius, Float_t /*cent*/);
+ TString GetBeamType();
TString fTracksName; // name of track collection
TString fCaloName; // name of calo cluster collection
Int_t fAlgo; // algo (0==kt, 1==antikt)
Double_t fRadius; // jet radius
Int_t fType; // jet type (0=all, 1=ch, 2=neutral)
- Double_t fMinJetTrackPt; // min jet track momentum
- Double_t fMinJetClusPt; // min jet cluster momentum
+ Double_t fMinJetTrackPt; // min jet track momentum (applied before clustering)
+ Double_t fMinJetClusPt; // min jet cluster momentum (applied before clustering)
+ Double_t fMinJetArea; // min area to keep jet in output
+ Double_t fMinJetPt; // min jet pt to keep jet in output
TClonesArray *fJets; //!jet collection
+ AliVEvent *fEvent; //!current event
private:
AliEmcalJetTask(const AliEmcalJetTask&); // not implemented
AliEmcalJetTask &operator=(const AliEmcalJetTask&); // not implemented
- ClassDef(AliEmcalJetTask, 1) // Jet producing task
+ ClassDef(AliEmcalJetTask, 3) // Jet producing task
};
#endif