]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowCommon/AliFlowCommonConstants.h
fix coding violations
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommon / AliFlowCommonConstants.h
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
18 class AliFlowCommonConstants: public TNamed {
19
20  public:
21   AliFlowCommonConstants();
22   virtual ~AliFlowCommonConstants();
23   static AliFlowCommonConstants* GetMaster();
24
25   Int_t GetNbinsMult() const { return fNbinsMult; }
26   Int_t GetNbinsPt()   const { return fNbinsPt; }
27   Int_t GetNbinsPhi()  const { return fNbinsPhi; }
28   Int_t GetNbinsEta()  const { return fNbinsEta; }
29   Int_t GetNbinsQ()    const { return fNbinsQ; }
30    
31   Double_t GetMultMin() const { return fMultMin; }
32   Double_t GetMultMax() const { return fMultMax; }
33   Double_t GetPtMin()   const { return fPtMin; }
34   Double_t GetPtMax()   const { return fPtMax; }
35   Double_t GetPhiMin()  const { return fPhiMin; }
36   Double_t GetPhiMax()  const { return fPhiMax; }
37   Double_t GetEtaMin()  const { return fEtaMin; }
38   Double_t GetEtaMax()  const { return fEtaMax; }
39   Double_t GetQMin()    const { return fQMin; }
40   Double_t GetQMax()    const { return fQMax; }
41   
42   void SetNbinsMult( Int_t i ) { fNbinsMult = i; }
43   void SetNbinsPt( Int_t i )   { fNbinsPt = i; }
44   void SetNbinsPhi( Int_t i )  { fNbinsPhi = i; }
45   void SetNbinsEta( Int_t i )  { fNbinsEta = i; }
46   void SetNbinsQ( Int_t i )    { fNbinsQ = i; }
47    
48   void SetMultMin( Double_t i ) { fMultMin = i; }
49   void SetMultMax( Double_t i ) { fMultMax = i; }
50   void SetPtMin( Double_t i )   { fPtMin = i; }
51   void SetPtMax( Double_t i )   { fPtMax = i; }
52   void SetPhiMin( Double_t i )  { fPhiMin = i; }
53   void SetPhiMax( Double_t i )  { fPhiMax = i; }
54   void SetEtaMin( Double_t i )  { fEtaMin = i; }
55   void SetEtaMax( Double_t i )  { fEtaMax = i; }
56   void SetQMin( Double_t i )    { fQMin = i; }
57   void SetQMax( Double_t i )    { fQMax = i; }
58   
59  private:
60   AliFlowCommonConstants& operator= (const AliFlowCommonConstants& c);
61   AliFlowCommonConstants(const AliFlowCommonConstants& a);
62   
63   //histogram sizes
64   Int_t  fNbinsMult; // histogram size
65   Int_t  fNbinsPt;   // histogram size
66   Int_t  fNbinsPhi;  // histogram size
67   Int_t  fNbinsEta;  // histogram size
68   Int_t  fNbinsQ;    // histogram size
69  
70   // Histograms limits
71   Double_t  fMultMin;  // histogram limit 
72   Double_t  fMultMax;  // histogram limit
73   Double_t  fPtMin;    // histogram limit
74   Double_t  fPtMax;    // histogram limit
75   Double_t  fPhiMin;     // histogram limit
76   Double_t  fPhiMax;   // histogram limit
77   Double_t  fEtaMin;     // histogram limit
78   Double_t  fEtaMax;     // histogram limit
79   Double_t  fQMin;         // histogram limit
80   Double_t  fQMax;     // histogram limit
81  
82   static AliFlowCommonConstants* fgPMasterConfig; //master object
83   
84   ClassDef(AliFlowCommonConstants,1) //ClassDef
85 };
86
87 #endif
88
89