1 #ifndef ALIFASTJETHEADERV1_H
2 #define ALIFASTJETHEADERV1_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 //---------------------------------------------------------------------
10 // FastJet v2.3.4 finder algorithm interface
11 // Finder Header Class
12 // Author: Rafael.Diaz.Valdes@cern.ch
13 //---------------------------------------------------------------------
15 #include "fastjet/AreaDefinition.hh"
16 #include "fastjet/JetDefinition.hh"
18 #include "AliJetHeader.h"
20 class AliFastJetHeaderV1 : public AliJetHeader
24 virtual ~AliFastJetHeaderV1() { }
27 Double_t GetRparam() const {return fRparam;}
28 fastjet::JetAlgorithm GetAlgorithm() const {return fAlgorithm;}
29 fastjet::JetAlgorithm GetBGAlgorithm() const {return fBGAlgorithm;}
30 fastjet::Strategy GetStrategy() const {return fStrategy;}
31 fastjet::RecombinationScheme GetRecombScheme() const {return fRecombScheme;}
32 Double_t GetGhostEtaMax() const {return fGhostEtaMax;}
33 Double_t GetGhostArea() const {return fGhostArea;}
34 Int_t GetActiveAreaRepeats() const {return fActiveAreaRepeats;}
35 fastjet::AreaType GetAreaType() const {return fAreaType;}
36 Double_t GetPtMin() const {return fPtMin;}
37 Double_t GetRapMax() const {return fRapMax;}
38 Double_t GetRapMin() const {return fRapMin;}
39 Double_t GetPhiMax() const {return fPhiMax;}
40 Double_t GetPhiMin() const {return fPhiMin;}
41 Bool_t GetBGMode() const {return fBGMode;}
42 Double_t GetRparamBkg() const {return fRparamBkg;}
43 Bool_t Use4VectorArea() const {return fUse4VectorArea;}
44 Bool_t GetBkgFastJetb() const {return fkBkgFastJetb;}
45 Bool_t GetBkgFastJetWoHardest() const {return fktBkgFastJetWoHardest;}
47 void SetRparam(Double_t f) {fRparam = f;}
48 void SetAlgorithm(fastjet::JetAlgorithm f) {fAlgorithm = f;}
49 void SetBGAlgorithm(fastjet::JetAlgorithm f) {fBGAlgorithm = f;}
50 void SetStrategy(fastjet::Strategy f) {fStrategy = f;}
51 void SetRecombScheme(fastjet::RecombinationScheme f) {fRecombScheme = f;}
52 void SetGhostEtaMax(Double_t f) {fGhostEtaMax = f;}
53 void SetGhostArea(Double_t f) {fGhostArea = f;}
54 void SetActiveAreaRepeats(Int_t f) {fActiveAreaRepeats =f;}
55 void SetAreaType(fastjet::AreaType f) {fAreaType = f;}
56 void SetRapRange(Double_t fmin, Double_t fmax) {fRapMin = fmin; fRapMax = fmax;}
57 void SetPhiRange(Double_t fmin, Double_t fmax) {fPhiMin = fmin; fPhiMax = fmax;}
58 void SetPtMin(Double_t ptmin) {fPtMin = ptmin;}
59 void SetBGMode(Bool_t bgmode) {fBGMode = bgmode;}
60 void SetUse4VectorArea() {fUse4VectorArea = kTRUE;}
61 void SetComment(TString com) {fComment=com;}
62 void SetComment(const char* com) {AliJetHeader::SetComment(com);}
63 void SetRparamBkg(Double_t f) {fRparamBkg = f;}
64 void SetBkgFastJetb(Bool_t f = 1) {fkBkgFastJetb = f;}
65 void SetBkgFastJetWoHardest(Bool_t f = 1) {fktBkgFastJetWoHardest = f;}
67 void PrintParameters() const;
70 //fastjet::JetDefinition parameters
71 Double_t fRparam; // R param
72 Double_t fRparamBkg; // R param for bkg calculation
73 fastjet::JetAlgorithm fAlgorithm; // fastjet::kt_algorithm
74 fastjet::JetAlgorithm fBGAlgorithm; // fastjet::kt_algorithm
75 fastjet::Strategy fStrategy; // fastjet::Best;
76 fastjet::RecombinationScheme fRecombScheme; // fastjet::BIpt_scheme;
78 //fastjet::GhostedAreaSpec parameters
79 Double_t fGhostEtaMax; // Max eta for ghosts
80 Double_t fGhostArea; // Ghost area
81 Int_t fActiveAreaRepeats; // Active are repetitions
83 //fastjet::AreaDefinition parameters
84 fastjet::AreaType fAreaType; // area types
86 //fastjet::ClusterSequenceArea options parameters
87 Double_t fPtMin; // jets with pt > ptmin
88 Float_t fMinCellEt; // Min Et in one cell
90 //fastjet::RangeDefinition parameters
91 Double_t fRapMax, fRapMin; // rapidity range of background sub
92 Double_t fPhiMax, fPhiMin; // phi range of background sub
93 Bool_t fUse4VectorArea; // Toggle use of 4-vector area
95 //background methods flags
96 Bool_t fkBkgFastJetb; // Toggle background estimation using AliFastJetBkg::BkgFastJetb()
97 Bool_t fktBkgFastJetWoHardest; // Toggle background estimation using AliFastJetBkg::BkgFastJetWoHardest()
99 ClassDef(AliFastJetHeaderV1,4) // Fastjet header class