]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliFastJetHeader.h
AddTask fix
[u/mrichter/AliRoot.git] / JETAN / AliFastJetHeader.h
CommitLineData
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
13fa2a91 14#ifndef __CINT__
15# include "fastjet/ClusterSequenceArea.hh"
16# include "fastjet/AreaDefinition.hh"
17# include "fastjet/JetDefinition.hh"
18#else
19namespace fastjet {
6f3ba560 20 enum JetAlgorithm;
21 enum Strategy;
22 enum RecombinationScheme;
23 enum AreaType;
13fa2a91 24}
25#endif
392c9b47 26
a17e6965 27#include "AliJetHeader.h"
28
29
30class AliFastJetHeader : public AliJetHeader
31{
32 public:
33
34 AliFastJetHeader();
35 virtual ~AliFastJetHeader() { }
36
37 // Getters
392c9b47 38 Double_t GetRparam() const {return fRparam;}
39 fastjet::JetAlgorithm GetAlgorithm() const {return fAlgorithm;}
40 fastjet::Strategy GetStrategy() const {return fStrategy;}
41 fastjet::RecombinationScheme GetRecombScheme() const {return fRecombScheme;}
42 Double_t GetGhostEtaMax() const {return fGhostEtaMax;}
43 Double_t GetGhostArea() const {return fGhostArea;}
44 Int_t GetActiveAreaRepeats() const {return fActiveAreaRepeats;}
45 fastjet::AreaType GetAreaType() const {return fAreaType;}
46 Double_t GetPtMin() const {return fPtMin;}
47 Double_t GetRapMax() const {return fRapMax;}
48 Double_t GetRapMin() const {return fRapMin;}
49 Double_t GetPhiMax() const {return fPhiMax;}
50 Double_t GetPhiMin() const {return fPhiMin;}
51
a17e6965 52 // Setters
392c9b47 53 void SetRparam(Double_t f) {fRparam = f;}
54 void SetAlgorithm(fastjet::JetAlgorithm f) {fAlgorithm = f;}
55 void SetStrategy(fastjet::Strategy f) {fStrategy = f;}
56 void SetRecombScheme(fastjet::RecombinationScheme f) {fRecombScheme = f;}
57 void SetGhostEtaMax(Double_t f) {fGhostEtaMax = f;}
58 void SetGhostArea(Double_t f) {fGhostArea = f;}
59 void SetActiveAreaRepeats(Int_t f) {fActiveAreaRepeats =f;}
60 void SetAreaType(fastjet::AreaType f) {fAreaType = f;}
61 void SetRapRange(Double_t fmin, Double_t fmax) {fRapMin = fmin; fRapMax = fmax;}
62 void SetPhiRange(Double_t fmin, Double_t fmax) {fPhiMin = fmin; fPhiMax = fmax;}
63
aa756f96 64 void SetComment(TString com) {fComment=com;}
65 void SetComment(const char* com) {fComment=com;}
392c9b47 66
a17e6965 67 // others
68 void PrintParameters() const;
69
70 protected:
a17e6965 71
392c9b47 72 //fastjet::JetDefinition parameters
73 Double_t fRparam;
74 fastjet::JetAlgorithm fAlgorithm; //fastjet::kt_algorithm
75 fastjet::Strategy fStrategy; //= fastjet::Best;
76 fastjet::RecombinationScheme fRecombScheme; // = fastjet::BIpt_scheme;
77
78 //fastjet::GhostedAreaSpec parameters
1240edf5 79 Double_t fGhostEtaMax; // max area of ghosts
80 Double_t fGhostArea; // ghost area
81 Int_t fActiveAreaRepeats; // number of repetitions of active area
392c9b47 82
83 //fastjet::AreaDefinition parameters
1240edf5 84 fastjet::AreaType fAreaType; // the are type
392c9b47 85
86 //fastjet::ClusterSequenceArea options parameters
87 Double_t fPtMin; //jets with pt > ptmin
88
89 //fastjet::RangeDefinition parameters
90 Double_t fRapMax, fRapMin; // rapidity range of background sub
91 Double_t fPhiMax, fPhiMin; // phi range of background sub
92
93
94 ClassDef(AliFastJetHeader,2)
a17e6965 95};
96
97#endif