ROOT logo
/**************************************************************************
 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 *                                                                        *
 * Author: The ALICE Off-line Project.                                    *
 * Contributors are mentioned in the code where appropriate.              *
 *                                                                        *
 * Permission to use, copy, modify and distribute this software and its   *
 * documentation strictly for non-commercial purposes is hereby granted   *
 * without fee, provided that the above copyright notice appears in all   *
 * copies and that both the copyright notice and this permission notice   *
 * appear in the supporting documentation. The authors make no claims     *
 * about the suitability of this software for any purpose. It is          *
 * provided "as is" without express or implied warranty.                  *
 **************************************************************************/
// AliFlowCommonConstants:
//
// Constants for the common histograms in the flow analysis
// semi "singleton" mode: apart from any objects instantiated via
// the constructor there may be a global Master object. get it with
// AliFlowCommonConstants::GetMaster()->GetMaster() static method.
//
// Author: Naomi van der Kolk (kolk@nikhef.nl)
// mod: Mikolaj Krzewicki, Nikhef (mikolaj.krzewicki@cern.ch)

/*
$Log$
*/ 

#include <TMath.h>
#include "AliFlowCommonConstants.h" 

ClassImp(AliFlowCommonConstants)

AliFlowCommonConstants* AliFlowCommonConstants::fgPMasterConfig = NULL;

//______________________________________________________________________________
AliFlowCommonConstants::AliFlowCommonConstants():
  TNamed(),
  fNbinsMult(10000),
  fNbinsPt(100),   
  fNbinsPhi(72),
  fNbinsEta(200),
  fNbinsQ(500),
  fNbinsMass(1),
  fMultMin(0.),            
  fMultMax(10000.),
  fPtMin(0.),	     
  fPtMax(10.),
  fPhiMin(0.),	     
  fPhiMax(TMath::TwoPi()),
  fEtaMin(-5.),	     
  fEtaMax(5.),	     
  fQMin(0.),	     
  fQMax(3.),
  fMassMin(-1.),
  fMassMax(0.),
  fHistWeightvsPhiMin(0.),
  fHistWeightvsPhiMax(3.)
{
  //def ctor
}

//______________________________________________________________________________
AliFlowCommonConstants::~AliFlowCommonConstants()
{
  //dtor
}

//______________________________________________________________________________
AliFlowCommonConstants* AliFlowCommonConstants::GetMaster()
{
  //return pointer to master config object
  if (!fgPMasterConfig) fgPMasterConfig = new AliFlowCommonConstants();
  return fgPMasterConfig;
}
 AliFlowCommonConstants.cxx:1
 AliFlowCommonConstants.cxx:2
 AliFlowCommonConstants.cxx:3
 AliFlowCommonConstants.cxx:4
 AliFlowCommonConstants.cxx:5
 AliFlowCommonConstants.cxx:6
 AliFlowCommonConstants.cxx:7
 AliFlowCommonConstants.cxx:8
 AliFlowCommonConstants.cxx:9
 AliFlowCommonConstants.cxx:10
 AliFlowCommonConstants.cxx:11
 AliFlowCommonConstants.cxx:12
 AliFlowCommonConstants.cxx:13
 AliFlowCommonConstants.cxx:14
 AliFlowCommonConstants.cxx:15
 AliFlowCommonConstants.cxx:16
 AliFlowCommonConstants.cxx:17
 AliFlowCommonConstants.cxx:18
 AliFlowCommonConstants.cxx:19
 AliFlowCommonConstants.cxx:20
 AliFlowCommonConstants.cxx:21
 AliFlowCommonConstants.cxx:22
 AliFlowCommonConstants.cxx:23
 AliFlowCommonConstants.cxx:24
 AliFlowCommonConstants.cxx:25
 AliFlowCommonConstants.cxx:26
 AliFlowCommonConstants.cxx:27
 AliFlowCommonConstants.cxx:28
 AliFlowCommonConstants.cxx:29
 AliFlowCommonConstants.cxx:30
 AliFlowCommonConstants.cxx:31
 AliFlowCommonConstants.cxx:32
 AliFlowCommonConstants.cxx:33
 AliFlowCommonConstants.cxx:34
 AliFlowCommonConstants.cxx:35
 AliFlowCommonConstants.cxx:36
 AliFlowCommonConstants.cxx:37
 AliFlowCommonConstants.cxx:38
 AliFlowCommonConstants.cxx:39
 AliFlowCommonConstants.cxx:40
 AliFlowCommonConstants.cxx:41
 AliFlowCommonConstants.cxx:42
 AliFlowCommonConstants.cxx:43
 AliFlowCommonConstants.cxx:44
 AliFlowCommonConstants.cxx:45
 AliFlowCommonConstants.cxx:46
 AliFlowCommonConstants.cxx:47
 AliFlowCommonConstants.cxx:48
 AliFlowCommonConstants.cxx:49
 AliFlowCommonConstants.cxx:50
 AliFlowCommonConstants.cxx:51
 AliFlowCommonConstants.cxx:52
 AliFlowCommonConstants.cxx:53
 AliFlowCommonConstants.cxx:54
 AliFlowCommonConstants.cxx:55
 AliFlowCommonConstants.cxx:56
 AliFlowCommonConstants.cxx:57
 AliFlowCommonConstants.cxx:58
 AliFlowCommonConstants.cxx:59
 AliFlowCommonConstants.cxx:60
 AliFlowCommonConstants.cxx:61
 AliFlowCommonConstants.cxx:62
 AliFlowCommonConstants.cxx:63
 AliFlowCommonConstants.cxx:64
 AliFlowCommonConstants.cxx:65
 AliFlowCommonConstants.cxx:66
 AliFlowCommonConstants.cxx:67
 AliFlowCommonConstants.cxx:68
 AliFlowCommonConstants.cxx:69
 AliFlowCommonConstants.cxx:70
 AliFlowCommonConstants.cxx:71
 AliFlowCommonConstants.cxx:72
 AliFlowCommonConstants.cxx:73
 AliFlowCommonConstants.cxx:74
 AliFlowCommonConstants.cxx:75