]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/FLOW/Base/AliFlowCommonConstants.cxx
adds void AliFlowEventSimple::ShuffleTracks() to allow for explicit reshuffling of...
[u/mrichter/AliRoot.git] / PWG / FLOW / Base / AliFlowCommonConstants.cxx
CommitLineData
f1d945a1 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 **************************************************************************/
f1d945a1 15// AliFlowCommonConstants:
16//
17// Constants for the common histograms in the flow analysis
bee2efdc 18// semi "singleton" mode: apart from any objects instantiated via
19// the constructor there may be a global Master object. get it with
20// AliFlowCommonConstants::GetMaster()->GetMaster() static method.
f1d945a1 21//
22// Author: Naomi van der Kolk (kolk@nikhef.nl)
bee2efdc 23// mod: Mikolaj Krzewicki, Nikhef (mikolaj.krzewicki@cern.ch)
24
b2be3d78 25/*
26$Log$
27*/
28
29#include <TMath.h>
30#include "AliFlowCommonConstants.h"
31
bee2efdc 32ClassImp(AliFlowCommonConstants)
33
34AliFlowCommonConstants* AliFlowCommonConstants::fgPMasterConfig = NULL;
f1d945a1 35
bee2efdc 36//______________________________________________________________________________
37AliFlowCommonConstants::AliFlowCommonConstants():
38 TNamed(),
39 fNbinsMult(10000),
40 fNbinsPt(100),
41 fNbinsPhi(72),
04c6b875 42 fNbinsEta(200),
bee2efdc 43 fNbinsQ(500),
15725198 44 fNbinsMass(1),
bee2efdc 45 fMultMin(0.),
46 fMultMax(10000.),
47 fPtMin(0.),
48 fPtMax(10.),
49 fPhiMin(0.),
50 fPhiMax(TMath::TwoPi()),
04c6b875 51 fEtaMin(-5.),
52 fEtaMax(5.),
bee2efdc 53 fQMin(0.),
644f1368 54 fQMax(3.),
15725198 55 fMassMin(-1.),
56 fMassMax(0.),
644f1368 57 fHistWeightvsPhiMin(0.),
58 fHistWeightvsPhiMax(3.)
bee2efdc 59{
60 //def ctor
61}
f1d945a1 62
bee2efdc 63//______________________________________________________________________________
64AliFlowCommonConstants::~AliFlowCommonConstants()
65{
66 //dtor
67}
f1d945a1 68
bee2efdc 69//______________________________________________________________________________
70AliFlowCommonConstants* AliFlowCommonConstants::GetMaster()
71{
72 //return pointer to master config object
73 if (!fgPMasterConfig) fgPMasterConfig = new AliFlowCommonConstants();
74 return fgPMasterConfig;
75}