]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowCommon/AliFlowLYZConstants.cxx
fixes how common configurations are set
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommon / AliFlowLYZConstants.cxx
CommitLineData
f456b167 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
bee2efdc 20#include <TNamed.h>
448e8856 21#include "AliFlowLYZConstants.h"
f456b167 22
bee2efdc 23ClassImp(AliFlowLYZConstants)
448e8856 24// AliFlowLYZConstant:
f456b167 25// Description: constants for the LYZ flow analysis
26// Author: Naomi van der Kolk (kolk@nikhef.nl)
bee2efdc 27// modified: Mikolaj Krzewicki, Nikhef (mikolaj.krzewicki@cern.ch)
28
29AliFlowLYZConstants* AliFlowLYZConstants::fgPMasterConfig = NULL;
30
31//______________________________________________________________________________
32AliFlowLYZConstants::AliFlowLYZConstants():
33 TNamed(),
34 fNtheta(5),
35 fNbins(1200),
36 fMaxSUM(120.),
37 fMaxPROD(1.)
38{
39 //def ctor
40}
41
42//______________________________________________________________________________
43AliFlowLYZConstants::~AliFlowLYZConstants()
44{
45 //dtor
46}
47
48//______________________________________________________________________________
49AliFlowLYZConstants* AliFlowLYZConstants::GetMaster()
50{
51 //get global master config
52 if (!fgPMasterConfig) fgPMasterConfig = new AliFlowLYZConstants();
53 return fgPMasterConfig;
54}