]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowCommon/AliFlowCumuConstants.cxx
fixes how common configurations are set
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommon / AliFlowCumuConstants.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 #include <TNamed.h>
17 #include "AliFlowCumuConstants.h"  
18
19 ClassImp(AliFlowCumuConstants)
20 // Description: constants for the Cumulant flow analysis
21
22 AliFlowCumuConstants* AliFlowCumuConstants::fgPMasterConfig = NULL;
23
24 //______________________________________________________________________________
25 AliFlowCumuConstants::AliFlowCumuConstants():
26   TNamed(),
27   fQmax(11),
28   fPmax(5),
29   fQmax4(5),
30   fPmax4(2),     
31   fQmax6(7),
32   fPmax6(3),   
33   fQmax8(9),
34   fPmax8(4), 
35   fQmax16(17),
36   fPmax16(8),     
37   fFlow(2),  
38   fMltpl(1),
39   fBinWidth(0.1),   
40   fR0(2.2),
41   fPtMax(3.1),
42   fPtMin(0.0),
43   fOtherEquations(kFALSE)
44 {
45   //def ctor
46 }
47
48 //______________________________________________________________________________
49 AliFlowCumuConstants::~AliFlowCumuConstants()
50 {
51   //dtor
52 }
53
54 //______________________________________________________________________________
55 AliFlowCumuConstants* AliFlowCumuConstants::GetMaster()
56 {
57   //get global master config
58   if (!fgPMasterConfig) fgPMasterConfig = new AliFlowCumuConstants();
59   return fgPMasterConfig;
60 }
61