]>
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 | ||
13fa2a91 | 14 | #ifndef __CINT__ |
8838ab7a | 15 | #include "fastjet/ClusterSequenceArea.hh" |
16 | #include "fastjet/AreaDefinition.hh" | |
17 | #include "fastjet/JetDefinition.hh" | |
13fa2a91 | 18 | #else |
19 | namespace fastjet { | |
6f3ba560 | 20 | enum JetAlgorithm; |
21 | enum Strategy; | |
22 | enum RecombinationScheme; | |
23 | enum AreaType; | |
13fa2a91 | 24 | } |
25 | #endif | |
8838ab7a | 26 | |
27 | #include "AliJetHeader.h" | |
28 | ||
29 | ||
30 | class AliFastJetHeaderV1 : public AliJetHeader | |
31 | { | |
32 | public: | |
33 | ||
34 | AliFastJetHeaderV1(); | |
35 | virtual ~AliFastJetHeaderV1() { } | |
36 | ||
37 | // Getters | |
38 | Double_t GetRparam() const {return fRparam;} | |
39 | fastjet::JetAlgorithm GetAlgorithm() const {return fAlgorithm;} | |
8f1fc92d | 40 | fastjet::JetAlgorithm GetBGAlgorithm() const {return fBGAlgorithm;} |
8838ab7a | 41 | fastjet::Strategy GetStrategy() const {return fStrategy;} |
42 | fastjet::RecombinationScheme GetRecombScheme() const {return fRecombScheme;} | |
43 | Double_t GetGhostEtaMax() const {return fGhostEtaMax;} | |
44 | Double_t GetGhostArea() const {return fGhostArea;} | |
45 | Int_t GetActiveAreaRepeats() const {return fActiveAreaRepeats;} | |
46 | fastjet::AreaType GetAreaType() const {return fAreaType;} | |
47 | Double_t GetPtMin() const {return fPtMin;} | |
48 | Double_t GetRapMax() const {return fRapMax;} | |
49 | Double_t GetRapMin() const {return fRapMin;} | |
50 | Double_t GetPhiMax() const {return fPhiMax;} | |
51 | Double_t GetPhiMin() const {return fPhiMin;} | |
52 | // Added temporarily !!! To be removed if not necessary | |
53 | Float_t GetMinCellEt() const {return fMinCellEt;} | |
8838ab7a | 54 | Bool_t GetBGMode() const {return fBGMode;} |
50c7d9f7 | 55 | Double_t GetRparamBkg() const {return fRparamBkg;} |
8f1fc92d | 56 | Bool_t Use4VectorArea() const {return fUse4VectorArea;} |
8838ab7a | 57 | |
58 | // Setters | |
59 | void SetRparam(Double_t f) {fRparam = f;} | |
60 | void SetAlgorithm(fastjet::JetAlgorithm f) {fAlgorithm = f;} | |
8f1fc92d | 61 | void SetBGAlgorithm(fastjet::JetAlgorithm f) {fBGAlgorithm = f;} |
8838ab7a | 62 | void SetStrategy(fastjet::Strategy f) {fStrategy = f;} |
63 | void SetRecombScheme(fastjet::RecombinationScheme f) {fRecombScheme = f;} | |
64 | void SetGhostEtaMax(Double_t f) {fGhostEtaMax = f;} | |
65 | void SetGhostArea(Double_t f) {fGhostArea = f;} | |
66 | void SetActiveAreaRepeats(Int_t f) {fActiveAreaRepeats =f;} | |
67 | void SetAreaType(fastjet::AreaType f) {fAreaType = f;} | |
68 | void SetRapRange(Double_t fmin, Double_t fmax) {fRapMin = fmin; fRapMax = fmax;} | |
69 | void SetPhiRange(Double_t fmin, Double_t fmax) {fPhiMin = fmin; fPhiMax = fmax;} | |
70 | void SetPtMin(Double_t ptmin) {fPtMin = ptmin;} | |
8838ab7a | 71 | void SetBGMode(Bool_t bgmode) {fBGMode = bgmode;} |
8f1fc92d | 72 | void SetUse4VectorArea() {fUse4VectorArea = kTRUE;} |
73 | ||
8838ab7a | 74 | void SetComment(TString com) {fComment=com;} |
75 | void SetComment(const char* com) {AliJetHeader::SetComment(com);} | |
76 | ||
50c7d9f7 | 77 | void SetRparamBkg(Double_t f) {fRparamBkg = f;} |
78 | ||
8838ab7a | 79 | // others |
80 | void PrintParameters() const; | |
81 | ||
82 | protected: | |
83 | ||
84 | //fastjet::JetDefinition parameters | |
1240edf5 | 85 | Double_t fRparam; // R param |
50c7d9f7 | 86 | Double_t fRparamBkg;//R param for bkg calculation |
8838ab7a | 87 | fastjet::JetAlgorithm fAlgorithm; //fastjet::kt_algorithm |
8f1fc92d | 88 | fastjet::JetAlgorithm fBGAlgorithm; //fastjet::kt_algorithm |
8838ab7a | 89 | fastjet::Strategy fStrategy; //= fastjet::Best; |
90 | fastjet::RecombinationScheme fRecombScheme; // = fastjet::BIpt_scheme; | |
91 | ||
92 | //fastjet::GhostedAreaSpec parameters | |
1240edf5 | 93 | Double_t fGhostEtaMax; // Max eta for ghosts |
94 | Double_t fGhostArea; // Ghost area | |
95 | Int_t fActiveAreaRepeats; // Active are repetitions | |
8838ab7a | 96 | |
97 | //fastjet::AreaDefinition parameters | |
1240edf5 | 98 | fastjet::AreaType fAreaType; // area types |
8838ab7a | 99 | |
100 | //fastjet::ClusterSequenceArea options parameters | |
101 | Double_t fPtMin; //jets with pt > ptmin | |
102 | Float_t fMinCellEt; // Min Et in one cell | |
103 | ||
104 | //fastjet::RangeDefinition parameters | |
105 | Double_t fRapMax, fRapMin; // rapidity range of background sub | |
106 | Double_t fPhiMax, fPhiMin; // phi range of background sub | |
8838ab7a | 107 | Bool_t fBGMode; // Do we subtract BG or not? |
8f1fc92d | 108 | Bool_t fUse4VectorArea; // Toggle use of 4-vector area |
109 | ||
110 | ClassDef(AliFastJetHeaderV1,3) | |
8838ab7a | 111 | }; |
112 | ||
113 | #endif |