Interface to FASTJETs SISCone jetfinder added.
[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 #include "fastjet/AreaDefinition.hh"
14 #include "fastjet/ClusterSequenceArea.hh"
15 #include "fastjet/JetDefinition.hh"
16 #include "AliJetHeader.h"
17
18  
19 class AliSISConeJetHeader : public AliJetHeader
20 {
21  public:
22  
23   AliSISConeJetHeader();
24   virtual ~AliSISConeJetHeader() { }
25
26   // Getters
27   Int_t                        GetActiveAreaRepeats()          {return fActiveAreaRepeats;}
28   Int_t                        GetAreaTypeNumber()             {return fAreaTypeNumber;}
29   Int_t                        GetNPassMax()                   {return fNPassMax;}
30   Int_t                        GetSplitMergeScale()            {return fSplitMergeScaleNumber;}
31
32   Double_t                     GetGhostEtaMax()                {return fGhostEtaMax;}
33   Double_t                     GetGhostArea()                  {return fGhostArea;}
34   Double_t                     GetEffectiveRFact()             {return fEffectiveRFact;}
35   Double_t                     GetRapMax()                     {return fRapMax;}
36   Double_t                     GetRapMin()                     {return fRapMin;}
37   Double_t                     GetPhiMax()                     {return fPhiMax;}
38   Double_t                     GetPhiMin()                     {return fPhiMin;}
39   Double_t                     GetConeRadius()                 {return fConeRadius;}
40   Double_t                     GetOverlapThreshold()           {return fOverlapThreshold;}
41   Double_t                     GetPtProtojetMin()              {return fPtProtoJetMin;}
42   Double_t                     GetCaching()                    {return fCaching;}
43   Double_t                     GetSplitMergeStoppingScale()    {return fSplitMergeStoppingScale;}
44   Double_t                     GetMinJetPt()                   {return fMinJetPt;}  
45
46   // Setters
47   void SetCaching(Bool_t value)                        {fCaching = value;}
48   void SetComment(TString com)                         {fComment=com;}
49   void SetGhostEtaMax(Double_t f)                      {fGhostEtaMax = f;}
50   void SetGhostArea(Double_t f)                        {fGhostArea = f;}
51   void SetActiveAreaRepeats(Int_t f)                   {fActiveAreaRepeats =f;}
52   void SetAreaTypeNumber(Int_t f)                      {fAreaTypeNumber = f;}
53   void SetEffectiveRFact(Double_t value)               {fEffectiveRFact = value;}       
54   void SetConeRadius(Double_t value)                   {fConeRadius = value;}
55   void SetMinJetPt(Double_t value)                     {fMinJetPt = value;}
56   void SetNPassMax(Int_t value)                        {fNPassMax = value;}
57   void SetOverlapThreshold(Double_t value)             {fOverlapThreshold = value;}
58   void SetPhiRange(Double_t fmin, Double_t fmax)       {fPhiMin = fmin; fPhiMax = fmax;}
59   void SetptProtojetMin(Double_t value)                {fPtProtoJetMin = value;}
60   void SetRapRange(Double_t fmin, Double_t fmax)       {fRapMin = fmin; fRapMax = fmax;}
61   void SetSplitMergeScale(Int_t value)                 {fSplitMergeScaleNumber = value;}
62   void SetSplitMergeStoppingScale(Double_t value)      {fSplitMergeStoppingScale = value;}        
63
64
65   // others
66   void PrintParameters() const;
67
68  protected:
69
70   Bool_t fCaching;                    // Do we record found cones for this set of data?
71
72   Int_t fActiveAreaRepeats;           // How many times do you want to caculate active areas?
73   Int_t fAreaTypeNumber;              // Kind of area
74   Int_t fNPassMax;                    // maximum number of passes
75   Int_t fSplitMergeScaleNumber;       // Kind of recombination in split/merge procedure, there's only one
76   
77   Double_t fConeRadius;               // Cone radius
78   Double_t fEffectiveRFact;           // Radius for Voronoi diagram
79   Double_t fGhostEtaMax;              // Maximum eta in which a ghost can be generated
80   Double_t fGhostArea;                // Area of one ghost
81   Double_t fMinJetPt;                 // Jet minimum energy
82   Double_t fOverlapThreshold;         // overlap parameter
83   Double_t fPhiMax, fPhiMin;          // Phi range
84   Double_t fPtProtoJetMin;            // pT min of protojets
85   Double_t fRapMax, fRapMin;          // Eta range
86   Double_t fSplitMergeStoppingScale;  // Stopping scale for split/merge procedure in case of area calculus
87
88   ClassDef(AliSISConeJetHeader,2)
89 };
90  
91 #endif