]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/FLOW/Base/AliFlowCommonConstants.h
Minor fix macro for Grid running
[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
b2be3d78 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; }
bee2efdc 30
b2be3d78 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; }
644f1368 41 Double_t GetHistWeightvsPhiMax() const {return fHistWeightvsPhiMax;}
42 Double_t GetHistWeightvsPhiMin() const {return fHistWeightvsPhiMin;}
bee2efdc 43
44 void SetNbinsMult( Int_t i ) { fNbinsMult = i; }
45 void SetNbinsPt( Int_t i ) { fNbinsPt = i; }
46 void SetNbinsPhi( Int_t i ) { fNbinsPhi = i; }
47 void SetNbinsEta( Int_t i ) { fNbinsEta = i; }
48 void SetNbinsQ( Int_t i ) { fNbinsQ = i; }
49
50 void SetMultMin( Double_t i ) { fMultMin = i; }
51 void SetMultMax( Double_t i ) { fMultMax = i; }
52 void SetPtMin( Double_t i ) { fPtMin = i; }
53 void SetPtMax( Double_t i ) { fPtMax = i; }
54 void SetPhiMin( Double_t i ) { fPhiMin = i; }
55 void SetPhiMax( Double_t i ) { fPhiMax = i; }
56 void SetEtaMin( Double_t i ) { fEtaMin = i; }
57 void SetEtaMax( Double_t i ) { fEtaMax = i; }
58 void SetQMin( Double_t i ) { fQMin = i; }
59 void SetQMax( Double_t i ) { fQMax = i; }
644f1368 60 void SetHistWeightvsPhiMax( Double_t d ) {fHistWeightvsPhiMax=d;}
61 void SetHistWeightvsPhiMin( Double_t d ) {fHistWeightvsPhiMin=d;}
bee2efdc 62
63 private:
64 AliFlowCommonConstants& operator= (const AliFlowCommonConstants& c);
65 AliFlowCommonConstants(const AliFlowCommonConstants& a);
66
67 //histogram sizes
b2be3d78 68 Int_t fNbinsMult; // histogram size
69 Int_t fNbinsPt; // histogram size
70 Int_t fNbinsPhi; // histogram size
71 Int_t fNbinsEta; // histogram size
72 Int_t fNbinsQ; // histogram size
bee2efdc 73
74 // Histograms limits
b2be3d78 75 Double_t fMultMin; // histogram limit
76 Double_t fMultMax; // histogram limit
77 Double_t fPtMin; // histogram limit
78 Double_t fPtMax; // histogram limit
79 Double_t fPhiMin; // histogram limit
80 Double_t fPhiMax; // histogram limit
81 Double_t fEtaMin; // histogram limit
82 Double_t fEtaMax; // histogram limit
83 Double_t fQMin; // histogram limit
84 Double_t fQMax; // histogram limit
644f1368 85 Double_t fHistWeightvsPhiMin; // histogram limit
86 Double_t fHistWeightvsPhiMax; // histogram limit
bee2efdc 87
b2be3d78 88 static AliFlowCommonConstants* fgPMasterConfig; //master object
bee2efdc 89
b2be3d78 90 ClassDef(AliFlowCommonConstants,1) //ClassDef
bee2efdc 91};
f1d945a1 92
93#endif
94
95