1 #ifndef ALIANAWEIGHTS_H
2 #define ALIANAWEIGHTS_H
128 #endif //ALIANAWEIGHTS_H
TList * GetCreateOutputHistograms()
void SetCentrality(Float_t cen)
void SwitchOffCentralityWeight()
Calculate the weight to the event to be applied when filling histograms.
TH1F * fhCentralityWeight
Container of centrality weights.
Bool_t IsCentralityWeightOn() const
Float_t fCentrality
Container of centrality percentile.
void SwitchOnCentralityWeight()
void SwitchOnMCCrossSectionCalculation()
void InitCentralityWeightsHistogram(Int_t nbins=100, Int_t minCen=0, Int_t maxCen=100)
void SwitchOffMCCrossSectionCalculation()
TH1F * GetCentralityWeightsHistogram()
Bool_t IsMCCrossSectionCalculationOn() const
AliAnaWeights()
Constructor.
Bool_t IsWeightSettingOn() const
virtual ~AliAnaWeights()
Destructor.
TH1F * fhXsec
! Cross section in PYTHIA.
AliAnaWeights & operator=(const AliAnaWeights &)
Assignment operator not implemented.
void SetCentralityWeightsHistogram(TH1F *h)
Double_t fMCWeight
pT-hard bin MC weight. It is used only internally.
TString fCurrFileName
Current file path name.
virtual Double_t GetWeight()
Bool_t fUseCentralityWeight
Return the centratlity weight.
Bool_t fCheckMCCrossSection
Retrieve from the pyxsec.root file the cross section, only if requested.
virtual Double_t GetPythiaCrossSection()
static Bool_t GetPythiaInfoFromFile(TString currFile, Float_t &xsec, Float_t &trials)
TH1F * fhTrials
! Number of event trials in PYTHIA.