4 #ifndef __KVSMOOTHIPDIST_H
5 #define __KVSMOOTHIPDIST_H
95 void Draw(Option_t* opt =
"")
125 if (b > 0)
return fIPdist.Eval(b) / (b *
fIPdist.GetParameter(0));
134 return fIPdist.Eval(b) /
fIPdist.GetParameter(0) * 10 * TMath::TwoPi();
146 fIPdist.SetParameter(0, 10 * TMath::TwoPi());
155 if(bb < fHisto->GetXaxis()->GetBinUpEdge(
fHisto->GetNbinsX()))
return fHisto->GetBinContent(
fHisto->FindBin(bb));
Base class for KaliVeda framework.
Class implementing parametrizable impact parameter distributions.
TF1 fIPdist
impact parameter distribution
TH1 * fHisto
! last fitted histogram
Double_t GetDeltaB() const
void SetDeltaB(Double_t x)
void MakeDifferentialCrossSection()
Double_t GetDifferentialCrossSection(double b) const
Double_t GetDifferentialCrossSectionFromHisto(double bb)
TF1 fSigmaR
total reaction cross section
Double_t GetRelativeCrossSection(double b) const
void NormalizeIPDistToCrossSection()
Double_t Calculate_b(Double_t centrality) const
TF1 fCentrality
centrality as function of impact parameter
virtual ~impact_parameter_distribution()
TH1 * GetCentralityFromHisto()
Double_t GetCrossSectionPerEvent() const
Double_t GetCrossSection() const
const TF1 & GetCentrality()
impact_parameter_distribution()
void SetDeltaB_WithConstantCrossSection(Double_t deltab, Double_t sigmaR=0)
void Draw(Option_t *opt="")