Coding violations corrected.
[u/mrichter/AliRoot.git] / JETAN / AliUA1JetHeader.h
CommitLineData
99e5fe42 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
99e5fe42 7//---------------------------------------------------------------------
8// Jet header class for UA1 algorithm
9// Stores the parameters of the UA1 jet algorithm
10// Author: jgcn@mda.cinvestav.mx
11//---------------------------------------------------------------------
12
13#include "AliJetHeader.h"
14
15class AliUA1JetHeader : public AliJetHeader
16{
17 public:
18
19 AliUA1JetHeader();
20 virtual ~AliUA1JetHeader() { }
21
22 // Getters
23 Float_t GetRadius() const {return fConeRadius;}
24 Float_t GetEtSeed() const {return fEtSeed;}
25 Float_t GetMinJetEt() const {return fMinJetEt;}
26 Float_t GetMinCellEt() const {return fMinCellEt;}
27 Int_t GetMode() const {return fMode;}
28 Float_t GetMinMove() const {return fMinMove;}
29 Float_t GetMaxMove() const {return fMaxMove;}
30 Float_t GetPrecBg() const {return fPrecBg;}
83a444b1 31 Int_t GetLegoNbinEta() const {return fLegoNbinEta;}
32 Int_t GetLegoNbinPhi() const {return fLegoNbinPhi;}
33 Float_t GetLegoEtaMin() const {return fLegoEtaMin;}
34 Float_t GetLegoEtaMax() const {return fLegoEtaMax;}
35 Float_t GetLegoPhiMin() const {return fLegoPhiMin;}
36 Float_t GetLegoPhiMax() const {return fLegoPhiMax;}
37 Bool_t GetOnlySignal() const {return fOnlySignal;}
38 Bool_t GetOnlyBkgd() const {return fOnlyBkgd;}
99e5fe42 39
40 // Setters
41 void SetRadius(Float_t f) {fConeRadius=f;}
42 void SetEtSeed(Float_t f) {fEtSeed=f;}
43 void SetMinJetEt(Float_t f) {fMinJetEt=f;}
44 void SetMinCellEt(Float_t f) {fMinCellEt=f;}
45 void SetMode(Int_t f) {fMode=f;}
46 void SetMinMove(Float_t f) {fMinMove=f;}
47 void SetMaxMove(Float_t f) {fMaxMove=f;}
48 void SetPrecBg(Float_t f) {fPrecBg=f;}
83a444b1 49 void SetLegoNbinEta(Int_t f) {fLegoNbinEta=f;}
50 void SetLegoNbinPhi(Int_t f) {fLegoNbinPhi=f;}
51 void SetLegoEtaMin(Float_t f) {fLegoEtaMin=f;}
52 void SetLegoEtaMax(Float_t f) {fLegoEtaMax=f;}
53 void SetLegoPhiMin(Float_t f) {fLegoPhiMin=f;}
54 void SetLegoPhiMax(Float_t f) {fLegoPhiMax=f;}
55 void SetOnlySignal(Bool_t b) {fOnlySignal= b;}
56 void SetOnlyBkgd(Bool_t b) {fOnlyBkgd= b;}
99e5fe42 57
58 // others
59 void PrintParameters() const;
60
61protected:
62
63 // parameters of algorithm
64 Float_t fConeRadius; // Cone radius
65 Float_t fEtSeed; // Min. Et for seed
66 Float_t fMinJetEt; // Min Et of jet
67 Float_t fMinCellEt; // Min Et in one cell
68 // parameters of backgound substraction
69 Int_t fMode; // key for BG subtraction
70 Float_t fMinMove; // min cone move
71 Float_t fMaxMove; // max cone move
72 Float_t fPrecBg; // max value of change for BG (in %)
73 // parameters for legos
83a444b1 74 Int_t fLegoNbinEta; //! number of cells in eta
75 Int_t fLegoNbinPhi; //! number of cells in phi
76 Float_t fLegoEtaMin; //! minimum eta
77 Float_t fLegoEtaMax; //! maximum eta
78 Float_t fLegoPhiMin; //! minimun phi
79 Float_t fLegoPhiMax; //! maximum phi
80 // parameters for Jet search
81 Bool_t fOnlySignal; // use only signal
82 Bool_t fOnlyBkgd; // use only background
99e5fe42 83
84 ClassDef(AliUA1JetHeader,1)
85};
86
87#endif