]>
Commit | Line | Data |
---|---|---|
8838ab7a | 1 | #ifndef ALIFASTJETHEADERV1_H |
2 | #define ALIFASTJETHEADERV1_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | //--------------------------------------------------------------------- | |
8 | // FastJet v2.3.4 finder algorithm interface | |
9 | // Finder Header Class | |
10 | // Author: Rafael.Diaz.Valdes@cern.ch | |
11 | //--------------------------------------------------------------------- | |
12 | ||
13 | ||
14 | #include "fastjet/ClusterSequenceArea.hh" | |
15 | #include "fastjet/AreaDefinition.hh" | |
16 | #include "fastjet/JetDefinition.hh" | |
17 | ||
18 | #include "AliJetHeader.h" | |
19 | ||
20 | ||
21 | class AliFastJetHeaderV1 : public AliJetHeader | |
22 | { | |
23 | public: | |
24 | ||
25 | AliFastJetHeaderV1(); | |
26 | virtual ~AliFastJetHeaderV1() { } | |
27 | ||
28 | // Getters | |
29 | Double_t GetRparam() const {return fRparam;} | |
30 | fastjet::JetAlgorithm GetAlgorithm() const {return fAlgorithm;} | |
31 | fastjet::Strategy GetStrategy() const {return fStrategy;} | |
32 | fastjet::RecombinationScheme GetRecombScheme() const {return fRecombScheme;} | |
33 | Double_t GetGhostEtaMax() const {return fGhostEtaMax;} | |
34 | Double_t GetGhostArea() const {return fGhostArea;} | |
35 | Int_t GetActiveAreaRepeats() const {return fActiveAreaRepeats;} | |
36 | fastjet::AreaType GetAreaType() const {return fAreaType;} | |
37 | Double_t GetPtMin() const {return fPtMin;} | |
38 | Double_t GetRapMax() const {return fRapMax;} | |
39 | Double_t GetRapMin() const {return fRapMin;} | |
40 | Double_t GetPhiMax() const {return fPhiMax;} | |
41 | Double_t GetPhiMin() const {return fPhiMin;} | |
42 | // Added temporarily !!! To be removed if not necessary | |
43 | Float_t GetMinCellEt() const {return fMinCellEt;} | |
44 | Bool_t GetDebug() const {return fDebug;} | |
45 | Bool_t GetBGMode() const {return fBGMode;} | |
50c7d9f7 | 46 | Double_t GetRparamBkg() const {return fRparamBkg;} |
8838ab7a | 47 | |
48 | // Setters | |
49 | void SetRparam(Double_t f) {fRparam = f;} | |
50 | void SetAlgorithm(fastjet::JetAlgorithm f) {fAlgorithm = f;} | |
51 | void SetStrategy(fastjet::Strategy f) {fStrategy = f;} | |
52 | void SetRecombScheme(fastjet::RecombinationScheme f) {fRecombScheme = f;} | |
53 | void SetGhostEtaMax(Double_t f) {fGhostEtaMax = f;} | |
54 | void SetGhostArea(Double_t f) {fGhostArea = f;} | |
55 | void SetActiveAreaRepeats(Int_t f) {fActiveAreaRepeats =f;} | |
56 | void SetAreaType(fastjet::AreaType f) {fAreaType = f;} | |
57 | void SetRapRange(Double_t fmin, Double_t fmax) {fRapMin = fmin; fRapMax = fmax;} | |
58 | void SetPhiRange(Double_t fmin, Double_t fmax) {fPhiMin = fmin; fPhiMax = fmax;} | |
59 | void SetPtMin(Double_t ptmin) {fPtMin = ptmin;} | |
60 | void SetDebug(Bool_t debug) {fDebug = debug;} | |
61 | void SetBGMode(Bool_t bgmode) {fBGMode = bgmode;} | |
62 | ||
63 | void SetComment(TString com) {fComment=com;} | |
64 | void SetComment(const char* com) {AliJetHeader::SetComment(com);} | |
65 | ||
50c7d9f7 | 66 | void SetRparamBkg(Double_t f) {fRparamBkg = f;} |
67 | ||
8838ab7a | 68 | // others |
69 | void PrintParameters() const; | |
70 | ||
71 | protected: | |
72 | ||
73 | //fastjet::JetDefinition parameters | |
74 | Double_t fRparam; | |
50c7d9f7 | 75 | Double_t fRparamBkg;//R param for bkg calculation |
8838ab7a | 76 | fastjet::JetAlgorithm fAlgorithm; //fastjet::kt_algorithm |
77 | fastjet::Strategy fStrategy; //= fastjet::Best; | |
78 | fastjet::RecombinationScheme fRecombScheme; // = fastjet::BIpt_scheme; | |
79 | ||
80 | //fastjet::GhostedAreaSpec parameters | |
81 | Double_t fGhostEtaMax; | |
82 | Double_t fGhostArea; | |
83 | Int_t fActiveAreaRepeats; | |
84 | ||
85 | //fastjet::AreaDefinition parameters | |
86 | fastjet::AreaType fAreaType; | |
87 | ||
88 | //fastjet::ClusterSequenceArea options parameters | |
89 | Double_t fPtMin; //jets with pt > ptmin | |
90 | Float_t fMinCellEt; // Min Et in one cell | |
91 | ||
92 | //fastjet::RangeDefinition parameters | |
93 | Double_t fRapMax, fRapMin; // rapidity range of background sub | |
94 | Double_t fPhiMax, fPhiMin; // phi range of background sub | |
95 | Bool_t fDebug; // debug option | |
96 | Bool_t fBGMode; // Do we subtract BG or not? | |
97 | ||
98 | ClassDef(AliFastJetHeaderV1,2) | |
99 | }; | |
100 | ||
101 | #endif |