1 #ifndef ALIEMCALJETFINDER_H
2 #define ALIEMCALJETFINDER_H
15 class AliEmcalJetFinder : public TNamed
19 AliEmcalJetFinder(const char* name);
23 void AddInputVector(Double_t px, Double_t py, Double_t pz);
24 void FillPtHistogram(TH1* histogram);
25 void FillEtaHistogram(TH1* histogram);
26 void FillPhiHistogram(TH1* histogram);
28 Int_t GetJets(AliEmcalJet*& jets) {jets = fJetArray[0]; return fJetCount;}
29 AliEmcalJet* GetJet(Int_t index) {return fJetArray[index];}
30 void SetGhostArea(Double_t val) {fGhostArea = val;}
31 void SetRadius(Double_t val) {fRadius = val;}
32 void SetJetAlgorithm(Int_t val) {fJetAlgorithm = val;}
33 void SetTrackMaxEta(Double_t val) {fTrackMaxEta = val;}
34 void SetJetMaxEta(Double_t val) {fJetMaxEta = val;}
35 void SetJetMinPt(Double_t val) {fJetMinPt = val;}
36 void SetJetMinArea(Double_t val) {fJetMinArea = val;}
38 void SetManualIndex(Int_t val) {fInputVectorIndex = val;}
41 AliFJWrapper* fFastjetWrapper; // Interface object to fastjet
42 Int_t fInputVectorIndex; // Current index of input vectors (by default: count of vectors)
43 Int_t fJetCount; // Found jets within the given acceptances
44 std::vector<AliEmcalJet*> fJetArray; // Internal array for the jets
45 // Settings for fastjet
46 Double_t fGhostArea; // setting for ghost area in FJ
47 Double_t fRadius; // Radius parameter
48 Int_t fJetAlgorithm; // var for algorithm (0=antikt, 1=kt)
49 Double_t fTrackMaxEta; // cut for |track-eta| < fTrackMaxEta
51 Double_t fJetMaxEta; // cut for |jet-eta| < fJetMaxEta
52 Double_t fJetMinPt; // cut for jet-pT > fJetMinPt
53 Double_t fJetMinArea; // cut for jet-area > fJetMinArea
55 ClassDef(AliEmcalJetFinder, 1); // Lightweight fastjet implementation outside analysis tasks