]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliUA1JetHeaderV1.h
New task for cut optimisation (Giacomo, Renu, Francesco, Chiara)
[u/mrichter/AliRoot.git] / JETAN / AliUA1JetHeaderV1.h
CommitLineData
70e58892 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
16class 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;}
ee7de0dd 29 Float_t GetMinCellEt() const {return fMinCellEt;} // Added temporarily !!! To be removed if not necessary
70e58892 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
43 // Setters
44 void SetRadius(Float_t f) {fConeRadius=f;}
45 void SetMinMove(Float_t f) {fMinMove=f;}
46 void SetMaxMove(Float_t f) {fMaxMove=f;}
47 void SetEtSeed(Float_t f) {fEtSeed=f;}
48 void SetMinJetEt(Float_t f) {fMinJetEt=f;}
ee7de0dd 49 void SetMinCellEt(Float_t f) {fMinCellEt=f;}
70e58892 50 void SetLegoNbinEta(Int_t f) {fLegoNbinEta=f;}
51 void SetLegoNbinPhi(Int_t f) {fLegoNbinPhi=f;}
52 void SetLegoEtaMin(Float_t f) {fLegoEtaMin=f;}
53 void SetLegoEtaMax(Float_t f) {fLegoEtaMax=f;}
54 void SetLegoPhiMin(Float_t f) {fLegoPhiMin=f;}
55 void SetLegoPhiMax(Float_t f) {fLegoPhiMax=f;}
56 void BackgMode(Int_t mod ) {fBackgMode = mod;}
57 void SetPrecBg(Float_t f) {fPrecBg=f;}
58 void SetBackgStat(Float_t f) {fBackgStat=f;}
59 void SetBackgCutRatio(Float_t f) {fBackgCutRatio=f;}
60 void SetNAcceptJets(Int_t ajets) {fNAcceptJets = ajets;}
61
62 // others
63 void PrintParameters() const;
64
65protected:
66
67 // parameters of algorithm
68 Float_t fConeRadius; // Cone radius
69 Float_t fEtSeed; // Min. Et for seed
70 Float_t fMinJetEt; // Min Et of jet
ee7de0dd 71 Float_t fMinCellEt; // Min Et in one cell
70e58892 72 // parameters of backgound substraction
73 Float_t fMinMove; // min cone move
74 Float_t fMaxMove; // max cone move
daf28844 75 Int_t fBackgMode; // background subtraction mode
70e58892 76 Float_t fPrecBg; // max value of change for BG (in %)
daf28844 77 Float_t fBackgStat; // pre-calculated background used in statistic subtraction method
78 Float_t fBackgCutRatio; // pre-calculated pt-cut ratio used in ratio subtraction method
79 Int_t fNAcceptJets; // number of accepted jets per events
70e58892 80
81 // parameters for legos
daf28844 82 Int_t fLegoNbinEta; // number of cells in eta
83 Int_t fLegoNbinPhi; // number of cells in phi
84 Float_t fLegoEtaMin; // minimum eta
85 Float_t fLegoEtaMax; // maximum eta
86 Float_t fLegoPhiMin; // minimun phi
87 Float_t fLegoPhiMax; // maximum phi
70e58892 88
89 ClassDef(AliUA1JetHeaderV1,1)
90};
91
92#endif