]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/DEV/AliUA1JetHeaderV1.h
coverity fixes
[u/mrichter/AliRoot.git] / JETAN / DEV / AliUA1JetHeaderV1.h
1 #ifndef ALIUA1JETHEADER_H
2 #define ALIUA1JETHEADER_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id$ */
8
9 //---------------------------------------------------------------------
10 // Jet Finder header class for algoritm using particles
11 // Stores the parameters of the particles algoritm
12 // Author: Rafael.Diaz.Valdes@cern.ch
13 //---------------------------------------------------------------------
14
15 #include "AliJetHeader.h"
16
17
18 class AliUA1JetHeader : public AliJetHeader
19 {
20  public:
21   AliUA1JetHeader();
22   virtual ~AliUA1JetHeader() { }
23
24   // Getters
25   Float_t GetRadius() const           {return fConeRadius;}
26   Float_t GetMinMove() const          {return fMinMove;}
27   Float_t GetMaxMove() const          {return fMaxMove;}
28   Float_t GetEtSeed() const           {return fEtSeed;}
29   Float_t GetMinJetEt() const         {return fMinJetEt;}
30   Int_t   GetLegoNbinEta() const      {return fLegoNbinEta;}
31   Int_t   GetLegoNbinPhi() const      {return fLegoNbinPhi;}
32   Float_t GetLegoEtaMin() const       {return fLegoEtaMin;}
33   Float_t GetLegoEtaMax() const       {return fLegoEtaMax;}
34   Float_t GetLegoPhiMin() const       {return fLegoPhiMin;}
35   Float_t GetLegoPhiMax() const       {return fLegoPhiMax;}
36   Int_t   GetBackgMode() const        {return fBackgMode;}
37   Float_t GetPrecBg() const           {return fPrecBg;}
38   Float_t GetBackgStat() const        {return fBackgStat;}
39   Float_t GetBackgCutRatio() const    {return fBackgCutRatio;}
40   Int_t   GetNAcceptJets() const      {return fNAcceptJets;}
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 fEtSeed;            //  Min. Et for seed
67   Float_t fMinJetEt;          //  Min Et of jet
68   // parameters of backgound substraction
69   Float_t fMinMove;           // min cone move
70   Float_t fMaxMove;           // max cone move
71   Int_t   fBackgMode;         // background subtraction mode
72   Float_t fPrecBg;            // max value of change for BG (in %)
73   Float_t fBackgStat;         // pre-calculated background used in statistic subtraction method
74   Float_t fBackgCutRatio;     // pre-calculated pt-cut ratio used in ratio subtraction method
75   Int_t   fNAcceptJets;       // number of accepted jets per events
76
77   // parameters for legos
78   Int_t   fLegoNbinEta;       // number of cells in eta
79   Int_t   fLegoNbinPhi;       // number of cells in phi
80   Float_t fLegoEtaMin;        // minimum eta
81   Float_t fLegoEtaMax;        // maximum eta
82   Float_t fLegoPhiMin;        // minimun phi
83   Float_t fLegoPhiMax;        // maximum phi
84   Float_t fConeRadius;        // Cone radius 
85
86   ClassDef(AliUA1JetHeader,2) // UA1 jet finder header
87
88 };
89
90 #endif