]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/FLOW/Base/AliFlowCommonConstants.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWG / FLOW / Base / AliFlowCommonConstants.h
CommitLineData
f1d945a1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4/* $Id$ */
5
6#ifndef ALIFLOWCOMMONCONSTANTS_H
7#define ALIFLOWCOMMONCONSTANTS_H
8
f1d945a1 9// AliFlowCommonConstants:
10// Description: constants for the Common Histograms in the Flow Analysis
11// Author: Naomi van der Kolk (kolk@nikhef.nl)
bee2efdc 12// modified: Mikolaj Krzewicki, Nikhef (mikolaj.krzewicki@cern.ch)
f1d945a1 13
bee2efdc 14//class TNamed;
f1d945a1 15
bee2efdc 16#include <TNamed.h>
f1d945a1 17
bee2efdc 18class AliFlowCommonConstants: public TNamed {
f1d945a1 19
bee2efdc 20 public:
21 AliFlowCommonConstants();
22 virtual ~AliFlowCommonConstants();
23 static AliFlowCommonConstants* GetMaster();
9ba489f7 24
df23c5ae 25 enum ERefMultSource {kExternal, kRP, kPOI};
26
b2be3d78 27 Int_t GetNbinsMult() const { return fNbinsMult; }
28 Int_t GetNbinsPt() const { return fNbinsPt; }
29 Int_t GetNbinsPhi() const { return fNbinsPhi; }
30 Int_t GetNbinsEta() const { return fNbinsEta; }
31 Int_t GetNbinsQ() const { return fNbinsQ; }
15725198 32 Int_t GetNbinsMass() const { return fNbinsMass; }
bee2efdc 33
b2be3d78 34 Double_t GetMultMin() const { return fMultMin; }
35 Double_t GetMultMax() const { return fMultMax; }
36 Double_t GetPtMin() const { return fPtMin; }
37 Double_t GetPtMax() const { return fPtMax; }
38 Double_t GetPhiMin() const { return fPhiMin; }
39 Double_t GetPhiMax() const { return fPhiMax; }
40 Double_t GetEtaMin() const { return fEtaMin; }
41 Double_t GetEtaMax() const { return fEtaMax; }
42 Double_t GetQMin() const { return fQMin; }
43 Double_t GetQMax() const { return fQMax; }
15725198 44 Double_t GetMassMin() const { return fMassMin; }
45 Double_t GetMassMax() const { return fMassMax; }
644f1368 46 Double_t GetHistWeightvsPhiMax() const {return fHistWeightvsPhiMax;}
47 Double_t GetHistWeightvsPhiMin() const {return fHistWeightvsPhiMin;}
bee2efdc 48
49 void SetNbinsMult( Int_t i ) { fNbinsMult = i; }
50 void SetNbinsPt( Int_t i ) { fNbinsPt = i; }
51 void SetNbinsPhi( Int_t i ) { fNbinsPhi = i; }
52 void SetNbinsEta( Int_t i ) { fNbinsEta = i; }
53 void SetNbinsQ( Int_t i ) { fNbinsQ = i; }
15725198 54 void SetNbinsMass( Int_t i ) { fNbinsMass = i; }
bee2efdc 55
56 void SetMultMin( Double_t i ) { fMultMin = i; }
57 void SetMultMax( Double_t i ) { fMultMax = i; }
58 void SetPtMin( Double_t i ) { fPtMin = i; }
59 void SetPtMax( Double_t i ) { fPtMax = i; }
60 void SetPhiMin( Double_t i ) { fPhiMin = i; }
61 void SetPhiMax( Double_t i ) { fPhiMax = i; }
62 void SetEtaMin( Double_t i ) { fEtaMin = i; }
63 void SetEtaMax( Double_t i ) { fEtaMax = i; }
64 void SetQMin( Double_t i ) { fQMin = i; }
65 void SetQMax( Double_t i ) { fQMax = i; }
15725198 66 void SetMassMin( Double_t i ) { fMassMin = i; }
67 void SetMassMax( Double_t i ) { fMassMax = i; }
644f1368 68 void SetHistWeightvsPhiMax( Double_t d ) {fHistWeightvsPhiMax=d;}
69 void SetHistWeightvsPhiMin( Double_t d ) {fHistWeightvsPhiMin=d;}
bee2efdc 70
71 private:
72 AliFlowCommonConstants& operator= (const AliFlowCommonConstants& c);
73 AliFlowCommonConstants(const AliFlowCommonConstants& a);
74
75 //histogram sizes
b2be3d78 76 Int_t fNbinsMult; // histogram size
77 Int_t fNbinsPt; // histogram size
78 Int_t fNbinsPhi; // histogram size
79 Int_t fNbinsEta; // histogram size
80 Int_t fNbinsQ; // histogram size
15725198 81 Int_t fNbinsMass; // histogram size
bee2efdc 82
83 // Histograms limits
b2be3d78 84 Double_t fMultMin; // histogram limit
85 Double_t fMultMax; // histogram limit
86 Double_t fPtMin; // histogram limit
87 Double_t fPtMax; // histogram limit
88 Double_t fPhiMin; // histogram limit
89 Double_t fPhiMax; // histogram limit
90 Double_t fEtaMin; // histogram limit
91 Double_t fEtaMax; // histogram limit
92 Double_t fQMin; // histogram limit
93 Double_t fQMax; // histogram limit
15725198 94 Double_t fMassMin; // histogram limit
95 Double_t fMassMax; // histogram limit
644f1368 96 Double_t fHistWeightvsPhiMin; // histogram limit
97 Double_t fHistWeightvsPhiMax; // histogram limit
bee2efdc 98
b2be3d78 99 static AliFlowCommonConstants* fgPMasterConfig; //master object
bee2efdc 100
15725198 101 ClassDef(AliFlowCommonConstants,2) //ClassDef
bee2efdc 102};
f1d945a1 103
104#endif
105
106