]>
Commit | Line | Data |
---|---|---|
a17e6965 | 1 | #ifndef ALIFASTJETHEADER_H |
2 | #define ALIFASTJETHEADER_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | //--------------------------------------------------------------------- | |
392c9b47 | 8 | // FastJet v2.3.4 finder algorithm interface |
9 | // Finder Header Class | |
a17e6965 | 10 | // Author: Rafael.Diaz.Valdes@cern.ch |
11 | //--------------------------------------------------------------------- | |
12 | ||
392c9b47 | 13 | |
14 | #include "fastjet/ClusterSequenceArea.hh" | |
15 | #include "fastjet/AreaDefinition.hh" | |
16 | #include "fastjet/JetDefinition.hh" | |
17 | ||
a17e6965 | 18 | #include "AliJetHeader.h" |
19 | ||
20 | ||
21 | class AliFastJetHeader : public AliJetHeader | |
22 | { | |
23 | public: | |
24 | ||
25 | AliFastJetHeader(); | |
26 | virtual ~AliFastJetHeader() { } | |
27 | ||
28 | // Getters | |
392c9b47 | 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 | ||
a17e6965 | 43 | // Setters |
392c9b47 | 44 | void SetRparam(Double_t f) {fRparam = f;} |
45 | void SetAlgorithm(fastjet::JetAlgorithm f) {fAlgorithm = f;} | |
46 | void SetStrategy(fastjet::Strategy f) {fStrategy = f;} | |
47 | void SetRecombScheme(fastjet::RecombinationScheme f) {fRecombScheme = f;} | |
48 | void SetGhostEtaMax(Double_t f) {fGhostEtaMax = f;} | |
49 | void SetGhostArea(Double_t f) {fGhostArea = f;} | |
50 | void SetActiveAreaRepeats(Int_t f) {fActiveAreaRepeats =f;} | |
51 | void SetAreaType(fastjet::AreaType f) {fAreaType = f;} | |
52 | void SetRapRange(Double_t fmin, Double_t fmax) {fRapMin = fmin; fRapMax = fmax;} | |
53 | void SetPhiRange(Double_t fmin, Double_t fmax) {fPhiMin = fmin; fPhiMax = fmax;} | |
54 | ||
aa756f96 | 55 | void SetComment(TString com) {fComment=com;} |
56 | void SetComment(const char* com) {fComment=com;} | |
392c9b47 | 57 | |
a17e6965 | 58 | // others |
59 | void PrintParameters() const; | |
60 | ||
61 | protected: | |
a17e6965 | 62 | |
392c9b47 | 63 | //fastjet::JetDefinition parameters |
64 | Double_t fRparam; | |
65 | fastjet::JetAlgorithm fAlgorithm; //fastjet::kt_algorithm | |
66 | fastjet::Strategy fStrategy; //= fastjet::Best; | |
67 | fastjet::RecombinationScheme fRecombScheme; // = fastjet::BIpt_scheme; | |
68 | ||
69 | //fastjet::GhostedAreaSpec parameters | |
70 | Double_t fGhostEtaMax; | |
71 | Double_t fGhostArea; | |
72 | Int_t fActiveAreaRepeats; | |
73 | ||
74 | //fastjet::AreaDefinition parameters | |
75 | fastjet::AreaType fAreaType; | |
76 | ||
77 | //fastjet::ClusterSequenceArea options parameters | |
78 | Double_t fPtMin; //jets with pt > ptmin | |
79 | ||
80 | //fastjet::RangeDefinition parameters | |
81 | Double_t fRapMax, fRapMin; // rapidity range of background sub | |
82 | Double_t fPhiMax, fPhiMin; // phi range of background sub | |
83 | ||
84 | ||
85 | ClassDef(AliFastJetHeader,2) | |
a17e6965 | 86 | }; |
87 | ||
88 | #endif |