]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliSISConeJetHeader.h
Add seeting of jet area, additionla flag which R to be used for background subtractio...
[u/mrichter/AliRoot.git] / JETAN / AliSISConeJetHeader.h
1 #ifndef ALISISCONEJETHEADER_H
2 #define ALISISCONEJETHEADER_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 // SISCone (FastJet v2.3.4) finder algorithm interface
9 // Finder Header Class 
10 // Author: swensy.jangal@ires.in2p3.fr
11 //---------------------------------------------------------------------
12  
13
14 #include "fastjet/AreaDefinition.hh"
15 #include "fastjet/ClusterSequenceArea.hh"
16 #include "fastjet/JetDefinition.hh"
17 #include "AliJetHeader.h"
18  
19 class AliSISConeJetHeader : public AliJetHeader
20 {
21  public:
22  
23   AliSISConeJetHeader();
24   virtual ~AliSISConeJetHeader() { }
25
26   // Getters
27   Bool_t                       GetBGMode()                     const {return fBGMode;}
28
29   Int_t                        GetActiveAreaRepeats()          const {return fActiveAreaRepeats;}
30   Int_t                        GetAreaTypeNumber()             const {return fAreaTypeNumber;}
31   Int_t                        GetBGAlgorithm()                const {return fBGAlgo;}        
32   Int_t                        GetNPassMax()                   const {return fNPassMax;}
33   Int_t                        GetSplitMergeScale()            const {return fSplitMergeScaleNumber;}
34
35   Double_t                     GetGhostEtaMax()                const {return fGhostEtaMax;}
36   Double_t                     GetGhostArea()                  const {return fGhostArea;}
37   Double_t                     GetEffectiveRFact()             const {return fEffectiveRFact;}
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   Double_t                     GetConeRadius()                 const {return fConeRadius;}
43   Double_t                     GetOverlapThreshold()           const {return fOverlapThreshold;}
44   Double_t                     GetPtProtojetMin()              const {return fPtProtoJetMin;}
45   Double_t                     GetRForRho()                    const {return fRRho;}
46   Double_t                     GetCaching()                    const {return fCaching;}
47   Double_t                     GetSplitMergeStoppingScale()    const {return fSplitMergeStoppingScale;}
48   Double_t                     GetMinJetPt()                   const {return fMinJetPt;}  
49   Double_t                     GetGridScatter()                const {return fGridScatter;}
50   Double_t                     GetKtScatter()                  const {return fKtScatter;}
51   Double_t                     GetMeanGhostKt()                const {return fMeanGhostKt;}
52
53   // Setters
54   void SetBGAlgorithm(Int_t value)                     {fBGAlgo = value;}
55   void SetBGMode(Bool_t value)                         {fBGMode = value;}
56   void SetCaching(Bool_t value)                        {fCaching = value;}
57   void SetComment(TString com)                         {fComment=com;}
58   void SetComment(const char* com)                     {AliJetHeader::SetComment(com);}
59   void SetGhostEtaMax(Double_t f)                      {fGhostEtaMax = f;}
60   void SetGhostArea(Double_t f)                        {fGhostArea = f;}
61   void SetActiveAreaRepeats(Int_t f)                   {fActiveAreaRepeats =f;}
62   void SetAreaTypeNumber(Int_t f)                      {fAreaTypeNumber = f;}
63   void SetEffectiveRFact(Double_t value)               {fEffectiveRFact = value;}       
64   void SetConeRadius(Double_t value)                   {fConeRadius = value;}
65   void SetMinJetPt(Double_t value)                     {fMinJetPt = value;}
66   void SetNPassMax(Int_t value)                        {fNPassMax = value;}
67   void SetOverlapThreshold(Double_t value)             {fOverlapThreshold = value;}
68   void SetPhiRange(Double_t fmin, Double_t fmax)       {fPhiMin = fmin; fPhiMax = fmax;}
69   void SetPtProtojetMin(Double_t value)                {fPtProtoJetMin = value;}
70   void SetRapRange(Double_t fmin, Double_t fmax)       {fRapMin = fmin; fRapMax = fmax;}
71   void SetRForRho(Double_t value)                      {fRRho = value;}
72   void SetSplitMergeScale(Int_t value)                 {fSplitMergeScaleNumber = value;}
73   void SetSplitMergeStoppingScale(Double_t value)      {fSplitMergeStoppingScale = value;}        
74   void SetGridScatter(Double_t value)                  {fGridScatter = value;}
75   void SetKtScatter(Double_t value)                    {fKtScatter = value;}
76   void SetMeanGhostKt(Double_t value)                  {fMeanGhostKt = value;}
77
78   // others
79   void PrintParameters() const;
80
81  protected:
82
83
84   Int_t    fActiveAreaRepeats;        // How many times do you want to caculate active areas?
85   Int_t    fAreaTypeNumber;           // Kind of area
86   Int_t    fBGAlgo;                   // Algorithm for rho calculus
87   Bool_t   fBGMode;                   // Do we subtract BG or not?
88   Bool_t   fCaching;                  // Do we record found cones for this set of data?
89   Double_t fConeRadius;               // Cone radius
90   Double_t fEffectiveRFact;           // Radius for Voronoi diagram
91   Double_t fGhostEtaMax;              // Maximum eta in which a ghost can be generated
92   Double_t fGhostArea;                // Area of one ghost
93   Double_t fGridScatter;              // fractional random fluctuations of the position of the ghosts on the y-phi grid
94   Double_t fKtScatter;                // fractional random fluctuations of the tranverse momentum of the ghosts on the y-phi grid
95   Double_t fMeanGhostKt;              // average transverse momentum of the ghosts.
96   Double_t fMinJetPt;                 // Jet minimum energy
97   Int_t    fNPassMax;                 // maximum number of passes
98   Double_t fOverlapThreshold;         // overlap parameter
99   Double_t fPhiMax, fPhiMin;          // Phi range
100   Double_t fPtProtoJetMin;            // pT min of protojets
101   Double_t fRapMax, fRapMin;          // Eta range
102   Double_t fRRho;                     // Radius to determine rho
103   Int_t    fSplitMergeScaleNumber;    // Kind of recombination in split/merge procedure, there's only one
104   Double_t fSplitMergeStoppingScale;  // Stopping scale for split/merge procedure in case of area calculus
105
106   ClassDef(AliSISConeJetHeader,3)
107 };
108  
109 #endif