]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowCommon/AliFlowCommonConstants.cxx
spring cleaning, split flow lib into two
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommon / AliFlowCommonConstants.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 /*
17 $Log$
18 */ 
19
20 #include "AliFlowCommonConstants.h" 
21 #include "TMath.h" 
22
23 // AliFlowCommonConstants:
24 //
25 // Constants for the common histograms in the flow analysis
26 //
27 // Author: Naomi van der Kolk (kolk@nikhef.nl)
28
29 //ClassImp(AliFlowCommonConstants)
30
31 Double_t AliFlowCommonConstants::fgMultMin =  0.;            
32 Double_t AliFlowCommonConstants::fgMultMax = 10000.;
33 Double_t AliFlowCommonConstants::fgPtMin   =  0.;            
34 Double_t AliFlowCommonConstants::fgPtMax   = 10.;
35 Double_t AliFlowCommonConstants::fgPhiMin  =  0.;            
36 Double_t AliFlowCommonConstants::fgPhiMax  =  TMath::TwoPi();
37 Double_t AliFlowCommonConstants::fgEtaMin  = -2.;            
38 Double_t AliFlowCommonConstants::fgEtaMax  =  2.;            
39 Double_t AliFlowCommonConstants::fgQMin    =  0.;            
40 Double_t AliFlowCommonConstants::fgQMax    =  3.;
41
42 //getters
43 Int_t AliFlowCommonConstants::GetNbinsMult() { return kNbinsMult; }
44 Int_t AliFlowCommonConstants::GetNbinsPt()   { return kNbinsPt; }
45 Int_t AliFlowCommonConstants::GetNbinsPhi()  { return kNbinsPhi; }
46 Int_t AliFlowCommonConstants::GetNbinsEta()  { return kNbinsEta; }
47 Int_t AliFlowCommonConstants::GetNbinsQ()    { return kNbinsQ; }
48  
49 //getters
50 Double_t AliFlowCommonConstants::GetMultMin() { return fgMultMin; }
51 Double_t AliFlowCommonConstants::GetMultMax() { return fgMultMax; }
52 Double_t AliFlowCommonConstants::GetPtMin()   { return fgPtMin; }
53 Double_t AliFlowCommonConstants::GetPtMax()   { return fgPtMax; }
54 Double_t AliFlowCommonConstants::GetPhiMin()  { return fgPhiMin; }
55 Double_t AliFlowCommonConstants::GetPhiMax()  { return fgPhiMax; }
56 Double_t AliFlowCommonConstants::GetEtaMin()  { return fgEtaMin; }
57 Double_t AliFlowCommonConstants::GetEtaMax()  { return fgEtaMax; }
58 Double_t AliFlowCommonConstants::GetQMin()    { return fgQMin; }
59 Double_t AliFlowCommonConstants::GetQMax()    { return fgQMax; }
60