AliPhysics  d497547 (d497547)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFlowCommonConstants.h
Go to the documentation of this file.
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 
9 // AliFlowCommonConstants:
10 // Description: constants for the Common Histograms in the Flow Analysis
11 // Author: Naomi van der Kolk (kolk@nikhef.nl)
12 // modified: Mikolaj Krzewicki, Nikhef (mikolaj.krzewicki@cern.ch)
13 
14 //class TNamed;
15 
16 #include <TNamed.h>
17 
19 
20  public:
22  virtual ~AliFlowCommonConstants();
24 
26 
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; }
32  Int_t GetNbinsMass() const { return fNbinsMass; }
33 
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; }
44  Double_t GetMassMin() const { return fMassMin; }
45  Double_t GetMassMax() const { return fMassMax; }
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; }
54  void SetNbinsMass( Int_t i ) { fNbinsMass = i; }
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; }
66  void SetMassMin( Double_t i ) { fMassMin = i; }
67  void SetMassMax( Double_t i ) { fMassMax = i; }
70 
71  private:
74 
75  //histogram sizes
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
81  Int_t fNbinsMass; // histogram size
82 
83  // Histograms limits
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
94  Double_t fMassMin; // histogram limit
95  Double_t fMassMax; // histogram limit
96  Double_t fHistWeightvsPhiMin; // histogram limit
97  Double_t fHistWeightvsPhiMax; // histogram limit
98 
99  static AliFlowCommonConstants* fgPMasterConfig; //master object
100 
101  ClassDef(AliFlowCommonConstants,2) //ClassDef
102 };
103 
104 #endif
105 
106 
Double_t GetHistWeightvsPhiMin() const
double Double_t
Definition: External.C:58
static AliFlowCommonConstants * fgPMasterConfig
void SetHistWeightvsPhiMax(Double_t d)
TCanvas * c
Definition: TestFitELoss.C:172
Double_t GetHistWeightvsPhiMax() const
int Int_t
Definition: External.C:63
AliFlowCommonConstants & operator=(const AliFlowCommonConstants &c)
static AliFlowCommonConstants * GetMaster()
void SetHistWeightvsPhiMin(Double_t d)