]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliUA1JetHeaderV1.h
Updated needed due framework changes.
[u/mrichter/AliRoot.git] / JETAN / AliUA1JetHeaderV1.h
1 #ifndef ALIUA1JETHEADERV1_H
2 #define ALIUA1JETHEADERV1_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 // Jet Finder header class for algoritm using particles
9 // Stores the parameters of the particles algoritm
10 // Author: Rafael.Diaz.Valdes@cern.ch
11 //---------------------------------------------------------------------
12
13 #include "AliJetHeader.h"
14
15
16 class AliUA1JetHeaderV1 : public AliJetHeader
17 {
18  public:
19
20   AliUA1JetHeaderV1();
21   virtual ~AliUA1JetHeaderV1() { }
22
23   // Getters
24   Float_t GetRadius()    const  {return fConeRadius;}
25   Float_t GetMinMove()   const  {return fMinMove;}
26   Float_t GetMaxMove()   const  {return fMaxMove;}
27   Float_t GetEtSeed()    const  {return fEtSeed;}
28   Float_t GetMinJetEt()  const  {return fMinJetEt;}
29   Int_t   GetLegoNbinEta()   const  {return fLegoNbinEta;}
30   Int_t   GetLegoNbinPhi()   const  {return fLegoNbinPhi;}
31   Float_t GetLegoEtaMin()    const  {return fLegoEtaMin;}
32   Float_t GetLegoEtaMax()    const  {return fLegoEtaMax;}
33   Float_t GetLegoPhiMin()    const  {return fLegoPhiMin;}
34   Float_t GetLegoPhiMax()    const  {return fLegoPhiMax;}
35   Int_t   GetBackgMode()     const  {return fBackgMode;}
36   Float_t GetPrecBg()    const  {return fPrecBg;}
37   Float_t GetBackgStat()    const  {return fBackgStat;}
38   Float_t GetBackgCutRatio()    const  {return fBackgCutRatio;}
39   Int_t   GetNAcceptJets()     const  {return fNAcceptJets;}
40
41
42   // Setters
43   void SetRadius(Float_t f) {fConeRadius=f;}
44   void SetMinMove(Float_t f) {fMinMove=f;}
45   void SetMaxMove(Float_t f) {fMaxMove=f;}
46   void SetEtSeed(Float_t f) {fEtSeed=f;}
47   void SetMinJetEt(Float_t f) {fMinJetEt=f;}
48   void SetLegoNbinEta(Int_t f) {fLegoNbinEta=f;}
49   void SetLegoNbinPhi(Int_t f) {fLegoNbinPhi=f;}
50   void SetLegoEtaMin(Float_t f) {fLegoEtaMin=f;}
51   void SetLegoEtaMax(Float_t f) {fLegoEtaMax=f;}
52   void SetLegoPhiMin(Float_t f) {fLegoPhiMin=f;}
53   void SetLegoPhiMax(Float_t f) {fLegoPhiMax=f;}
54   void BackgMode(Int_t mod ) {fBackgMode = mod;}
55   void SetPrecBg(Float_t f) {fPrecBg=f;}
56   void SetBackgStat(Float_t f) {fBackgStat=f;}
57   void SetBackgCutRatio(Float_t f) {fBackgCutRatio=f;}
58   void SetNAcceptJets(Int_t ajets)   {fNAcceptJets = ajets;}
59
60   // others
61   void PrintParameters() const;
62
63 protected:
64
65   // parameters of algorithm
66   Float_t fConeRadius;      //  Cone radius
67   Float_t fEtSeed;          //  Min. Et for seed
68   Float_t fMinJetEt;        //  Min Et of jet
69   // parameters of backgound substraction
70   Float_t fMinMove;         // min cone move
71   Float_t fMaxMove;         // max cone move
72   Int_t   fBackgMode;       // background subtraction mode
73   Float_t fPrecBg;          // max value of change for BG (in %)
74   Float_t fBackgStat;       // pre-calculated background used in statistic subtraction method
75   Float_t fBackgCutRatio;   // pre-calculated pt-cut ratio used in ratio subtraction method
76   Int_t   fNAcceptJets;     // number of accepted jets per events
77
78   // parameters for legos
79   Int_t   fLegoNbinEta;         // number of cells in eta
80   Int_t   fLegoNbinPhi;         // number of cells in phi
81   Float_t fLegoEtaMin;          // minimum eta
82   Float_t fLegoEtaMax;          // maximum eta
83   Float_t fLegoPhiMin;          // minimun phi
84   Float_t fLegoPhiMax;          // maximum phi
85
86   ClassDef(AliUA1JetHeaderV1,1)
87 };
88
89 #endif