/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ #ifndef ALIFLOWCOMMONCONSTANTS_H #define ALIFLOWCOMMONCONSTANTS_H // AliFlowCommonConstants: // Description: constants for the Common Histograms in the Flow Analysis // Author: Naomi van der Kolk (kolk@nikhef.nl) // modified: Mikolaj Krzewicki, Nikhef (mikolaj.krzewicki@cern.ch) //class TNamed; #include class AliFlowCommonConstants: public TNamed { public: AliFlowCommonConstants(); virtual ~AliFlowCommonConstants(); static AliFlowCommonConstants* GetMaster(); Int_t GetNbinsMult() const { return fNbinsMult; } Int_t GetNbinsPt() const { return fNbinsPt; } Int_t GetNbinsPhi() const { return fNbinsPhi; } Int_t GetNbinsEta() const { return fNbinsEta; } Int_t GetNbinsQ() const { return fNbinsQ; } Double_t GetMultMin() const { return fMultMin; } Double_t GetMultMax() const { return fMultMax; } Double_t GetPtMin() const { return fPtMin; } Double_t GetPtMax() const { return fPtMax; } Double_t GetPhiMin() const { return fPhiMin; } Double_t GetPhiMax() const { return fPhiMax; } Double_t GetEtaMin() const { return fEtaMin; } Double_t GetEtaMax() const { return fEtaMax; } Double_t GetQMin() const { return fQMin; } Double_t GetQMax() const { return fQMax; } void SetNbinsMult( Int_t i ) { fNbinsMult = i; } void SetNbinsPt( Int_t i ) { fNbinsPt = i; } void SetNbinsPhi( Int_t i ) { fNbinsPhi = i; } void SetNbinsEta( Int_t i ) { fNbinsEta = i; } void SetNbinsQ( Int_t i ) { fNbinsQ = i; } void SetMultMin( Double_t i ) { fMultMin = i; } void SetMultMax( Double_t i ) { fMultMax = i; } void SetPtMin( Double_t i ) { fPtMin = i; } void SetPtMax( Double_t i ) { fPtMax = i; } void SetPhiMin( Double_t i ) { fPhiMin = i; } void SetPhiMax( Double_t i ) { fPhiMax = i; } void SetEtaMin( Double_t i ) { fEtaMin = i; } void SetEtaMax( Double_t i ) { fEtaMax = i; } void SetQMin( Double_t i ) { fQMin = i; } void SetQMax( Double_t i ) { fQMax = i; } private: AliFlowCommonConstants& operator= (const AliFlowCommonConstants& c); AliFlowCommonConstants(const AliFlowCommonConstants& a); //histogram sizes Int_t fNbinsMult; // histogram size Int_t fNbinsPt; // histogram size Int_t fNbinsPhi; // histogram size Int_t fNbinsEta; // histogram size Int_t fNbinsQ; // histogram size // Histograms limits Double_t fMultMin; // histogram limit Double_t fMultMax; // histogram limit Double_t fPtMin; // histogram limit Double_t fPtMax; // histogram limit Double_t fPhiMin; // histogram limit Double_t fPhiMax; // histogram limit Double_t fEtaMin; // histogram limit Double_t fEtaMax; // histogram limit Double_t fQMin; // histogram limit Double_t fQMax; // histogram limit static AliFlowCommonConstants* fgPMasterConfig; //master object ClassDef(AliFlowCommonConstants,1) //ClassDef }; #endif