CbmRoot
Loading...
Searching...
No Matches
LmvmDrawAll Class Reference

#include <LmvmDrawAll.h>

Inheritance diagram for LmvmDrawAll:
[legend]
Collaboration diagram for LmvmDrawAll:
[legend]

Public Member Functions

 LmvmDrawAll ()
 
virtual ~LmvmDrawAll ()
 
void DrawHistFromFile (const std::string &fileInmed, const std::string &fileQgp, const std::string &fileOmega, const std::string &filePhi, const std::string &fileOmegaD, const std::string &dataDir="", bool useMvd=false)
 
template<class T>
void CreateMeanHist (const string &name, int nofRebins)
 
template<class T>
void CreateMeanHistSparse (const string &name)
 
template<class T>
T * GetCocktailMinv (const string &name, ELmvmAnaStep step, bool scaleAll)
 

Private Member Functions

template<typename T>
T * InitOrFatal (const std::string &name)
 
void CheckoutAddFunction ()
 
void CheckoutAddFunction2 ()
 
TH1D * VaryBinWidth (TH1D *h, double nEvents, std::vector< std::pair< double, double > > binValues)
 Main variable bin width method. Returns copy of provided histogram with varied bin width. Error is not calculated here, since therefor the number of events must be known.
 
TH1D * VaryBinWidth (const std::string &option, const std::string &hName, double nEvents, std::vector< std::pair< double, double > > binValues)
 Returns histogram with varied bin width.
 
TH1D * VaryBinWidth (const std::string &option, const std::string &hName, ELmvmAnaStep step, double nEvents, std::vector< std::pair< double, double > > binValues)
 Returns histogram with varied bin width.
 
TH1D * VaryBinWidth (TH1D *h, std::vector< std::pair< double, double > > binValues)
 
TH1D * VaryBinWidth (const std::string &option, const std::string &hName, std::vector< std::pair< double, double > > binValues)
 
TH1D * VaryBinWidth (const std::string &option, const std::string &hName, ELmvmAnaStep step, std::vector< std::pair< double, double > > binValues)
 
void CheckVaryBinWidth ()
 
LmvmHistH (ELmvmSignal signal)
 
template<class T>
T * GetCocktailMinv (const std::string &name, ELmvmAnaStep step, bool scaleAll)
 
TH1D * GetCocktailMinvH1 (const std::string &name, ELmvmAnaStep step, bool scaleAll)
 
void CalculateHistErrors (TH1D *h, double nofEvents)
 Calculates errors of (normalized) histograms.
 
TH1D * CalculateHistRatioWithErrors (TH1D *hNom, TH1D *hDenom, double nEvNom, double nEvDenom)
 Calculates ratios of histograms with errors.
 
void LoadFastSimHistos ()
 Load histograms from LmvmFastSim and set related global variabled.
 
void CalculateCombBGHistos ()
 Calculate Combinatorial BG.
 
void CalculateCBFromFastSimEvents ()
 Calculate Combinatorial BG from Fast Simulations.
 
TH1D * GetCBForNormRange (const std::string hName, ELmvmAnaStep step, double rangeStart, double rangeEnd)
 
void CalculateSignal ()
 Calculate Signal from Fast Simulations and Combinatorial Background.
 
TH1D * GetSignal (ELmvmAnaStep step, std::vector< std::pair< double, double > > bwVar)
 Returns signal (calc. from Fast Simulations and Comb. Background) with varied bin width and with errors.
 
void DrawSBgVsMinv ()
 Draw S/Bg vs minv.
 
void ChargeSymmetry ()
 
void DrawSignal ()
 
void DrawSignalCBNormRangeDependent (std::string hName, std::string cName, ELmvmAnaStep step)
 
void DrawNumbers ()
 
void DrawMinvAll ()
 
void DrawMinv (ELmvmAnaStep step)
 
void DrawMinvPtAll ()
 
void DrawMomRecoPrecision ()
 
void DrawBackground ()
 
void DrawPtY ()
 
void DrawBgPairs ()
 
void DrawElidCuts ()
 
void DrawMomentumUrqmd ()
 
void DrawCandProperties ()
 
void DrawRichProperties ()
 
void DrawLikeSignCorrelations ()
 
void DrawRapidity ()
 
bool IsCloseTo (double value, double refValue, double tol)
 
void DrawTemperature ()
 
void DrawTemperatureGraph (TH1D *h, ELmvmAnaStep step, double startfit, double endfit, bool DoCorrectX)
 
void DrawTemperatureGraph (TH1D *h, ELmvmAnaStep step, double startfit, double endfit)
 
void DrawTemperature (TH1D *h, double startfit, double endfit)
 
void InitialiseCocktailFitParams ()
 
void CheckoutTemperatureParamB ()
 
void CheckoutTemperatureParams ()
 
void CheckoutTemperatureFitRangeAll ()
 
void CheckoutTemperatureFitRange (TH1D *h, std::string name)
 
void CheckoutTemperatureInitParams ()
 
void DrawCombinatorialBackground ()
 Draw invariant mass spectra for all signal types for specified analysis step with BG reduced by combinatorial BG.
 
void DrawMinvOfficialStyle ()
 Draw invariant mass spectra in official style.
 
template<class T>
void CreateMeanHist (const std::string &name, int nofRebins=-1)
 
template<class T>
void CreateMeanHistSparse (const std::string &name)
 
void CreateMeanHistAll ()
 
void SaveHist ()
 Save histograms for the study report.
 
void CalcCutEffRange (double minMinv, double maxMinv)
 Calculate cut efficiency in specified invariant mass region.
 
TH1D * SBgRange (double minMinv, double maxMinv)
 Create S/BG vs cuts for specified invariant mass range.
 
void SBgRangeAll ()
 Draw S/BG vs plots for different mass ranges.
 
void InvestigateMisid ()
 Draw properties of misidentified particles.
 
void DrawPtY (TH2D *hMc, TH2D *h, const std::string cName, double zMin, double zMax)
 
void DrawStudies ()
 
void DrawBetaMomSpectra ()
 
void DrawMomPluto ()
 
void DrawTofM2 ()
 
void DrawGTrackVertex ()
 
void DrawSignificancesAll ()
 
void DrawSignificance (TH2D *hEl, TH2D *hBg, const std::string &name, double minZ, double maxZ, const std::string &option)
 
void DrawEfficiency ()
 
void DrawEfficiencyCorrection ()
 
void DrawSuppression ()
 
void DrawMomentum ()
 
void DrawMomentumMisidVsTrue ()
 
void DrawPtYAndTofM2Misid ()
 
void DrawPurity ()
 
void DrawPurityHistText (TH2D *h)
 
void DrawChi2 ()
 
void DrawMinvScaleValues ()
 
void DrawNofHits ()
 
void DrawFastSimHistos ()
 
void DrawFastSimHistosParticleBased ()
 
void DrawMultiplicities (TH1D *plus, TH1D *minus, TH1D *plusrandom, TH1D *minusrandom, std::string cName, std::string hText)
 
void DrawSystematicErrorFsSignal ()
 
TH1D * GetSymmetry (TH1D *h)
 
TH1D * GetSymmetry (TH1D *h1, std::string opt1, TH1D *h2, std::string opt2, const std::string &label)
 
TH1D * GetHalfHisto (TH1D *h, std::string opt, const std::string &label)
 
void DrawSBgResults ()
 Draw properties of misidentified particles in comparison with not-misidentified.
 
LmvmSBgResultData CalculateSBgResult (ELmvmSignal signal, ELmvmAnaStep step)
 
void SaveCanvasToImage ()
 Save all created canvases to images.
 
 LmvmDrawAll (const LmvmDrawAll &)
 
LmvmDrawAll operator= (const LmvmDrawAll &)
 
void CheckMemory (const std::string &text)
 
 ClassDef (LmvmDrawAll, 1)
 

Private Attributes

std::string fDataDir
 
std::string fOutputDir
 
std::string fFileName
 
bool fUseMvd
 
std::vector< LmvmHist * > fH
 
LmvmHist fHMean
 
LmvmHist fHFastSim
 
LmvmHist fHEvMix
 
double fRebinMinv
 
double fNofSimEvents
 
double fNofFastSimEvents
 
double fNofFastSimJobs
 
bool fDoChargeBased = false
 
bool fDoParticleBased = false
 
int fNofEvMixJobs
 
int fEvMixDepth
 
double fNofEvMixEvents
 
double fCbChange = -1.
 
double fCbNormRangeMin = -1.
 
double fCbNormRangeMax = -1.
 
std::vector< double > fCbNormFactor
 
std::vector< std::pair< double, double > > fBwVarOrig = {std::make_pair(2.5, 0.01)}
 
std::vector< std::pair< double, double > > fBwVarReg = {std::make_pair(2.5, 0.1)}
 
std::vector< std::pair< double, double > > fBwVarBg
 
std::vector< std::pair< double, double > > fBwVarBg2
 
std::vector< std::pair< double, double > > fBwVarBg3
 
std::vector< std::pair< double, double > > fBwVarBg4 = {std::make_pair(1.6, 0.4), std::make_pair(2.5, 0.9)}
 
std::vector< std::pair< double, double > > fBwVarBg5 = {std::make_pair(1.5, 0.3), std::make_pair(2.5, 1.0)}
 
std::vector< std::pair< double, double > > fBwVarSig
 
std::vector< std::pair< double, double > > fBwVarSig3
 
std::vector< std::pair< double, double > > fBwVarSig2
 
std::vector< std::pair< double, double > > fBwVarRat
 
std::vector< std::pair< double, double > > fBwVarCock
 
std::vector< std::pair< double, double > > fBwVarOmega
 
std::vector< std::pair< double, double > > fBwVarPhi
 
std::vector< std::vector< std::pair< double, double > > > fBwVarAll
 
std::vector< std::string > fBwVarAllTags = {"bwvOrig", "bwvReg", "bwvBg", "bwvSig", "bwvSig2", "bwvSig3"}
 
int fBwVarCounter = 0.
 
std::vector< double > fParamB
 
int fTempGraphCounter = 0.
 
double fZ = -44.
 

Detailed Description

Definition at line 23 of file LmvmDrawAll.h.

Constructor & Destructor Documentation

◆ LmvmDrawAll() [1/2]

LmvmDrawAll::LmvmDrawAll ( )
inline

Definition at line 26 of file LmvmDrawAll.h.

Referenced by ClassDef(), LmvmDrawAll(), and operator=().

◆ ~LmvmDrawAll()

virtual LmvmDrawAll::~LmvmDrawAll ( )
inlinevirtual

Definition at line 27 of file LmvmDrawAll.h.

◆ LmvmDrawAll() [2/2]

LmvmDrawAll::LmvmDrawAll ( const LmvmDrawAll & )
private

References LmvmDrawAll().

Member Function Documentation

◆ CalcCutEffRange()

void LmvmDrawAll::CalcCutEffRange ( double minMinv,
double maxMinv )
private

Calculate cut efficiency in specified invariant mass region.

Parameters
[in]minMinimum invariant mass.
[in]maxMaximum invariant mass.

Definition at line 6206 of file LmvmDrawAll.cxx.

References Bg, DrawH1(), ElId, fHMean, fUseMvd, GetCocktailMinvH1(), kLinear, Mvd1Cut, Mvd2Cut, and x.

Referenced by DrawHistFromFile().

◆ CalculateCBFromFastSimEvents()

void LmvmDrawAll::CalculateCBFromFastSimEvents ( )
private

Calculate Combinatorial BG from Fast Simulations.

Definition at line 2837 of file LmvmDrawAll.cxx.

References DrawH1(), DrawTextOnPad(), ElId, fCbChange, fCbNormRangeMax, fCbNormRangeMin, fHFastSim, fHMean, fNofSimEvents, kLinear, and kLog.

Referenced by DrawHistFromFile().

◆ CalculateCombBGHistos()

◆ CalculateHistErrors()

void LmvmDrawAll::CalculateHistErrors ( TH1D * h,
double nofEvents )
private

Calculates errors of (normalized) histograms.

Parameters
[in]hTH1D* histogram
[in]nofEventsNumber of events to get origin number of entries and normalize error to it

Definition at line 344 of file LmvmDrawAll.cxx.

Referenced by DrawEfficiencyCorrection().

◆ CalculateHistRatioWithErrors()

TH1D * LmvmDrawAll::CalculateHistRatioWithErrors ( TH1D * hNom,
TH1D * hDenom,
double nEvNom,
double nEvDenom )
private

Calculates ratios of histograms with errors.

Parameters
[in]hNomTH1D* histogram (nominator)
[in]hDenomTH1D* histogram (denominator)
[in]nEvNomNumber of events of nominator histogram
[in]nEvDenomNumber of events of denominator histogram

Definition at line 354 of file LmvmDrawAll.cxx.

◆ CalculateSBgResult()

LmvmSBgResultData LmvmDrawAll::CalculateSBgResult ( ELmvmSignal signal,
ELmvmAnaStep step )
private

Definition at line 6331 of file LmvmDrawAll.cxx.

References Bg, H(), LmvmHist::H1(), Mc, Omega, Phi, and Signal.

Referenced by DrawSBgResults().

◆ CalculateSignal()

void LmvmDrawAll::CalculateSignal ( )
private

◆ ChargeSymmetry()

void LmvmDrawAll::ChargeSymmetry ( )
private

◆ CheckMemory()

void LmvmDrawAll::CheckMemory ( const std::string & text)
private

Definition at line 6366 of file LmvmDrawAll.cxx.

Referenced by DrawHistFromFile().

◆ CheckoutAddFunction()

void LmvmDrawAll::CheckoutAddFunction ( )
private

Definition at line 389 of file LmvmDrawAll.cxx.

References fHMean.

◆ CheckoutAddFunction2()

void LmvmDrawAll::CheckoutAddFunction2 ( )
private

Definition at line 402 of file LmvmDrawAll.cxx.

References fHMean.

◆ CheckoutTemperatureFitRange()

void LmvmDrawAll::CheckoutTemperatureFitRange ( TH1D * h,
std::string name )
private

Definition at line 929 of file LmvmDrawAll.cxx.

References DrawH2(), DrawTextOnPad(), ElId, fHMean, fParamB, kLinear, Cbm::NumberToString(), x, and y.

Referenced by CheckoutTemperatureFitRangeAll().

◆ CheckoutTemperatureFitRangeAll()

void LmvmDrawAll::CheckoutTemperatureFitRangeAll ( )
private

◆ CheckoutTemperatureInitParams()

void LmvmDrawAll::CheckoutTemperatureInitParams ( )
private

◆ CheckoutTemperatureParamB()

void LmvmDrawAll::CheckoutTemperatureParamB ( )
private

◆ CheckoutTemperatureParams()

void LmvmDrawAll::CheckoutTemperatureParams ( )
private

◆ CheckVaryBinWidth()

◆ ClassDef()

LmvmDrawAll::ClassDef ( LmvmDrawAll ,
1  )
private

References LmvmDrawAll().

◆ CreateMeanHist() [1/2]

template<class T>
void LmvmDrawAll::CreateMeanHist ( const std::string & name,
int nofRebins = -1 )
private

Referenced by CreateMeanHistAll().

◆ CreateMeanHist() [2/2]

template<class T>
void LmvmDrawAll::CreateMeanHist ( const string & name,
int nofRebins )

Definition at line 132 of file LmvmDrawAll.cxx.

References fHMean, fNofSimEvents, and H().

◆ CreateMeanHistAll()

void LmvmDrawAll::CreateMeanHistAll ( )
private

Definition at line 159 of file LmvmDrawAll.cxx.

References Bg, CreateMeanHist(), Eta, fHMean, fNofSimEvents, fRebinMinv, Gamma, Cbm::NumberToString(), pi, Pi0, and pos.

Referenced by DrawHistFromFile().

◆ CreateMeanHistSparse() [1/2]

template<class T>
void LmvmDrawAll::CreateMeanHistSparse ( const std::string & name)
private

◆ CreateMeanHistSparse() [2/2]

template<class T>
void LmvmDrawAll::CreateMeanHistSparse ( const string & name)

Definition at line 149 of file LmvmDrawAll.cxx.

References fHMean, and H().

◆ DrawBackground()

◆ DrawBetaMomSpectra()

void LmvmDrawAll::DrawBetaMomSpectra ( )
private

Definition at line 3689 of file LmvmDrawAll.cxx.

References DrawH2(), DrawTextOnPad(), fHMean, kLinear, kLog, max(), and min().

◆ DrawBgPairs()

void LmvmDrawAll::DrawBgPairs ( )
private

◆ DrawCandProperties()

void LmvmDrawAll::DrawCandProperties ( )
private

Definition at line 3291 of file LmvmDrawAll.cxx.

References DrawH2(), DrawTextOnPad(), fHMean, kLinear, kLog, and Cbm::NumberToString().

Referenced by DrawHistFromFile().

◆ DrawChi2()

void LmvmDrawAll::DrawChi2 ( )
private

Definition at line 4524 of file LmvmDrawAll.cxx.

References ElId, fHMean, max(), and min().

Referenced by InvestigateMisid().

◆ DrawCombinatorialBackground()

void LmvmDrawAll::DrawCombinatorialBackground ( )
private

Draw invariant mass spectra for all signal types for specified analysis step with BG reduced by combinatorial BG.

Definition at line 5459 of file LmvmDrawAll.cxx.

References Bg, DrawH1(), DrawH2(), DrawTextOnPad(), ElId, fBwVarBg, fBwVarBg3, fBwVarBg4, fBwVarBg5, fBwVarOrig, fBwVarSig, fCbChange, fCbNormFactor, fCbNormRangeMax, fCbNormRangeMin, fHEvMix, fHMean, fNofEvMixEvents, fNofFastSimEvents, fNofSimEvents, kLinear, kLog, Cbm::NumberToString(), and VaryBinWidth().

Referenced by DrawHistFromFile().

◆ DrawEfficiency()

void LmvmDrawAll::DrawEfficiency ( )
private

◆ DrawEfficiencyCorrection()

void LmvmDrawAll::DrawEfficiencyCorrection ( )
private

◆ DrawElidCuts()

void LmvmDrawAll::DrawElidCuts ( )
private

Definition at line 3424 of file LmvmDrawAll.cxx.

References Chi2Prim, DrawH1(), DrawH2(), DrawTextOnPad(), ElId, fHMean, kLinear, kLog, max(), and min().

Referenced by DrawHistFromFile().

◆ DrawFastSimHistos()

◆ DrawFastSimHistosParticleBased()

void LmvmDrawAll::DrawFastSimHistosParticleBased ( )
private

◆ DrawGTrackVertex()

void LmvmDrawAll::DrawGTrackVertex ( )
private

Definition at line 3672 of file LmvmDrawAll.cxx.

References DrawH2(), fHMean, kLinear, and kLog.

Referenced by DrawHistFromFile().

◆ DrawHistFromFile()

◆ DrawLikeSignCorrelations()

void LmvmDrawAll::DrawLikeSignCorrelations ( )
private

Definition at line 2028 of file LmvmDrawAll.cxx.

References DrawH1(), fHMean, kLinear, and kLog.

◆ DrawMinv()

void LmvmDrawAll::DrawMinv ( ELmvmAnaStep step)
private

◆ DrawMinvAll()

void LmvmDrawAll::DrawMinvAll ( )
private

Definition at line 4534 of file LmvmDrawAll.cxx.

References DrawMinv(), and fHMean.

Referenced by DrawHistFromFile().

◆ DrawMinvOfficialStyle()

void LmvmDrawAll::DrawMinvOfficialStyle ( )
private

Draw invariant mass spectra in official style.

Definition at line 4692 of file LmvmDrawAll.cxx.

References ElId, Eta, fBwVarBg2, fBwVarCock, fBwVarOmega, fBwVarPhi, fBwVarReg, fCbNormFactor, fHMean, fNofEvMixEvents, fNofSimEvents, H(), LmvmHist::H1(), Inmed, Omega, OmegaD, Phi, Pi0, Qgp, Signal, and VaryBinWidth().

Referenced by DrawHistFromFile().

◆ DrawMinvPtAll()

void LmvmDrawAll::DrawMinvPtAll ( )
private

Definition at line 5450 of file LmvmDrawAll.cxx.

References DrawH2(), fHMean, GetCocktailMinv(), kLinear, and kLog.

Referenced by DrawHistFromFile().

◆ DrawMinvScaleValues()

void LmvmDrawAll::DrawMinvScaleValues ( )
private

◆ DrawMomentum()

void LmvmDrawAll::DrawMomentum ( )
private

Definition at line 4399 of file LmvmDrawAll.cxx.

References DrawMomentumMisidVsTrue(), DrawMomentumUrqmd(), and DrawMomPluto().

Referenced by DrawHistFromFile().

◆ DrawMomentumMisidVsTrue()

void LmvmDrawAll::DrawMomentumMisidVsTrue ( )
private

Definition at line 3812 of file LmvmDrawAll.cxx.

References DrawH1(), DrawTextOnPad(), fHMean, kLinear, kLog, max(), and min().

Referenced by DrawMomentum().

◆ DrawMomentumUrqmd()

void LmvmDrawAll::DrawMomentumUrqmd ( )
private

Definition at line 3704 of file LmvmDrawAll.cxx.

References DrawH1(), DrawTextOnPad(), ElId, fHMean, kLinear, kLog, pi, and VaryBinWidth().

Referenced by DrawMomentum().

◆ DrawMomPluto()

void LmvmDrawAll::DrawMomPluto ( )
private

Definition at line 3781 of file LmvmDrawAll.cxx.

References DrawH1(), DrawTextOnPad(), fHMean, H(), LmvmHist::H1Clone(), kLinear, kLog, and pi.

Referenced by DrawMomentum().

◆ DrawMomRecoPrecision()

void LmvmDrawAll::DrawMomRecoPrecision ( )
private

Definition at line 4619 of file LmvmDrawAll.cxx.

References DrawH2(), DrawTextOnPad(), ElId, fHMean, kLinear, kLog, max(), and min().

Referenced by DrawHistFromFile().

◆ DrawMultiplicities()

void LmvmDrawAll::DrawMultiplicities ( TH1D * plus,
TH1D * minus,
TH1D * plusrandom,
TH1D * minusrandom,
std::string cName,
std::string hText )
private

◆ DrawNofHits()

void LmvmDrawAll::DrawNofHits ( )
private

Definition at line 3574 of file LmvmDrawAll.cxx.

References DrawH2(), DrawTextOnPad(), fHMean, kLinear, and kLog.

Referenced by DrawHistFromFile().

◆ DrawNumbers()

void LmvmDrawAll::DrawNumbers ( )
private

Definition at line 3150 of file LmvmDrawAll.cxx.

References DrawH1(), DrawTextOnPad(), fH, fHMean, fNofSimEvents, kLinear, kLog, max(), min(), and Cbm::NumberToString().

Referenced by DrawHistFromFile().

◆ DrawPtY() [1/2]

void LmvmDrawAll::DrawPtY ( )
private

Definition at line 1503 of file LmvmDrawAll.cxx.

References DrawPtY(), ElId, fHMean, H(), LmvmHist::H2Clone(), and Mc.

Referenced by DrawHistFromFile(), DrawPtY(), and DrawStudies().

◆ DrawPtY() [2/2]

void LmvmDrawAll::DrawPtY ( TH2D * hMc,
TH2D * h,
const std::string cName,
double zMin,
double zMax )
private

◆ DrawPtYAndTofM2Misid()

void LmvmDrawAll::DrawPtYAndTofM2Misid ( )
private

Definition at line 4101 of file LmvmDrawAll.cxx.

References counter, DrawH2(), DrawTextOnPad(), ElId, fHMean, kLinear, kLog, max(), min(), x, and y.

Referenced by InvestigateMisid().

◆ DrawPurity()

void LmvmDrawAll::DrawPurity ( )
private

◆ DrawPurityHistText()

void LmvmDrawAll::DrawPurityHistText ( TH2D * h)
private

Definition at line 4378 of file LmvmDrawAll.cxx.

References DrawTextOnPad(), and Cbm::NumberToString().

Referenced by DrawPurity().

◆ DrawRapidity()

void LmvmDrawAll::DrawRapidity ( )
private

Definition at line 3263 of file LmvmDrawAll.cxx.

References DrawH1(), DrawTextOnPad(), fH, fHMean, H(), LmvmHist::H1Clone(), kLinear, and kLog.

Referenced by DrawHistFromFile().

◆ DrawRichProperties()

void LmvmDrawAll::DrawRichProperties ( )
private

Definition at line 3346 of file LmvmDrawAll.cxx.

References DrawH1(), DrawTextOnPad(), fHMean, kLinear, kLog, max(), min(), and Cbm::NumberToString().

Referenced by DrawHistFromFile().

◆ DrawSBgResults()

void LmvmDrawAll::DrawSBgResults ( )
private

Draw properties of misidentified particles in comparison with not-misidentified.

Definition at line 6300 of file LmvmDrawAll.cxx.

References CalculateSBgResult(), DrawH1(), ElId, LmvmSBgResultData::fFitMean, LmvmSBgResultData::fFitSigma, fHMean, fOutputDir, LmvmSBgResultData::fSBgRatio, LmvmSBgResultData::fSignallEff, fUseMvd, Mvd1Cut, Mvd2Cut, and x.

Referenced by DrawHistFromFile().

◆ DrawSBgVsMinv()

void LmvmDrawAll::DrawSBgVsMinv ( )
private

Draw S/Bg vs minv.

Definition at line 5904 of file LmvmDrawAll.cxx.

References Bg, DrawH1(), ElId, fBwVarSig, fHMean, kLinear, kLog, PtCut, TtCut, and VaryBinWidth().

Referenced by DrawHistFromFile().

◆ DrawSignal()

◆ DrawSignalCBNormRangeDependent()

void LmvmDrawAll::DrawSignalCBNormRangeDependent ( std::string hName,
std::string cName,
ELmvmAnaStep step )
private

◆ DrawSignificance()

void LmvmDrawAll::DrawSignificance ( TH2D * hEl,
TH2D * hBg,
const std::string & name,
double minZ,
double maxZ,
const std::string & option )
private

Definition at line 3605 of file LmvmDrawAll.cxx.

References DrawH1(), DrawH2(), DrawTextOnPad(), fHMean, kLinear, kLog, and Cbm::NumberToString().

Referenced by DrawSignificancesAll().

◆ DrawSignificancesAll()

void LmvmDrawAll::DrawSignificancesAll ( )
private

Definition at line 3653 of file LmvmDrawAll.cxx.

References DrawSignificance(), ElId, and fHMean.

Referenced by DrawHistFromFile().

◆ DrawStudies()

void LmvmDrawAll::DrawStudies ( )
private

◆ DrawSuppression()

void LmvmDrawAll::DrawSuppression ( )
private

Definition at line 4010 of file LmvmDrawAll.cxx.

References DrawH1(), DrawTextOnPad(), fHMean, kLinear, kLog, Cbm::NumberToString(), and VaryBinWidth().

Referenced by DrawHistFromFile().

◆ DrawSystematicErrorFsSignal()

◆ DrawTemperature() [1/2]

◆ DrawTemperature() [2/2]

void LmvmDrawAll::DrawTemperature ( TH1D * h,
double startfit,
double endfit )
private

Definition at line 1048 of file LmvmDrawAll.cxx.

References DrawH1(), DrawTextOnPad(), kLinear, kLog, and Cbm::NumberToString().

◆ DrawTemperatureGraph() [1/2]

void LmvmDrawAll::DrawTemperatureGraph ( TH1D * h,
ELmvmAnaStep step,
double startfit,
double endfit )
private

Definition at line 991 of file LmvmDrawAll.cxx.

References DrawTemperatureGraph().

◆ DrawTemperatureGraph() [2/2]

void LmvmDrawAll::DrawTemperatureGraph ( TH1D * h,
ELmvmAnaStep step,
double startfit,
double endfit,
bool DoCorrectX )
private

◆ DrawTofM2()

void LmvmDrawAll::DrawTofM2 ( )
private

Definition at line 4049 of file LmvmDrawAll.cxx.

References DrawH2(), DrawTextOnPad(), fHMean, kLinear, and kLog.

Referenced by DrawHistFromFile().

◆ GetCBForNormRange()

TH1D * LmvmDrawAll::GetCBForNormRange ( const std::string hName,
ELmvmAnaStep step,
double rangeStart,
double rangeEnd )
private

Definition at line 2762 of file LmvmDrawAll.cxx.

References fCbChange, fHEvMix, fNofSimEvents, and LmvmHist::H1Clone().

Referenced by DrawSignalCBNormRangeDependent().

◆ GetCocktailMinv() [1/2]

template<class T>
T * LmvmDrawAll::GetCocktailMinv ( const std::string & name,
ELmvmAnaStep step,
bool scaleAll )
private

Referenced by DrawMinvPtAll(), and GetCocktailMinvH1().

◆ GetCocktailMinv() [2/2]

template<class T>
T * LmvmDrawAll::GetCocktailMinv ( const string & name,
ELmvmAnaStep step,
bool scaleAll )

Definition at line 3393 of file LmvmDrawAll.cxx.

References Eta, fHMean, fRebinMinv, LmvmHist::GetObject(), H(), LmvmHist::H1(), Pi0, and Signal.

◆ GetCocktailMinvH1()

TH1D * LmvmDrawAll::GetCocktailMinvH1 ( const std::string & name,
ELmvmAnaStep step,
bool scaleAll )
private

◆ GetHalfHisto()

TH1D * LmvmDrawAll::GetHalfHisto ( TH1D * h,
std::string opt,
const std::string & label )
private

Definition at line 2093 of file LmvmDrawAll.cxx.

◆ GetSignal()

TH1D * LmvmDrawAll::GetSignal ( ELmvmAnaStep step,
std::vector< std::pair< double, double > > bwVar )
private

Returns signal (calc. from Fast Simulations and Comb. Background) with varied bin width and with errors.

Parameters
[in]stepAnalysis step
[in]bwVarVector for bin width variation.

Definition at line 412 of file LmvmDrawAll.cxx.

References ElId, fCbChange, fCbNormFactor, fEvMixDepth, fHMean, fNofEvMixEvents, fNofFastSimEvents, and VaryBinWidth().

Referenced by DrawTemperature().

◆ GetSymmetry() [1/2]

TH1D * LmvmDrawAll::GetSymmetry ( TH1D * h)
private

Definition at line 2047 of file LmvmDrawAll.cxx.

◆ GetSymmetry() [2/2]

TH1D * LmvmDrawAll::GetSymmetry ( TH1D * h1,
std::string opt1,
TH1D * h2,
std::string opt2,
const std::string & label )
private

◆ H()

◆ InitialiseCocktailFitParams()

void LmvmDrawAll::InitialiseCocktailFitParams ( )
private

◆ InitOrFatal()

template<typename T>
T * LmvmDrawAll::InitOrFatal ( const std::string & name)
inlineprivate

Definition at line 67 of file LmvmDrawAll.h.

◆ InvestigateMisid()

void LmvmDrawAll::InvestigateMisid ( )
private

Draw properties of misidentified particles.

Definition at line 4406 of file LmvmDrawAll.cxx.

References DrawChi2(), DrawH1(), DrawH2(), DrawPtYAndTofM2Misid(), DrawTextOnPad(), fHMean, fZ, kLinear, kLog, min(), Cbm::NumberToString(), and pos.

◆ IsCloseTo()

bool LmvmDrawAll::IsCloseTo ( double value,
double refValue,
double tol )
private

Definition at line 1744 of file LmvmDrawAll.cxx.

Referenced by LoadFastSimHistos().

◆ LoadFastSimHistos()

void LmvmDrawAll::LoadFastSimHistos ( )
private

Load histograms from LmvmFastSim and set related global variabled.

Definition at line 5922 of file LmvmDrawAll.cxx.

References fDataDir, fDoChargeBased, fDoParticleBased, fH, fHFastSim, fHMean, fNofFastSimEvents, fNofFastSimJobs, fNofSimEvents, and IsCloseTo().

Referenced by DrawHistFromFile().

◆ operator=()

LmvmDrawAll LmvmDrawAll::operator= ( const LmvmDrawAll & )
private

References LmvmDrawAll().

◆ SaveCanvasToImage()

void LmvmDrawAll::SaveCanvasToImage ( )
private

Save all created canvases to images.

Definition at line 6385 of file LmvmDrawAll.cxx.

References fHMean, and fOutputDir.

Referenced by DrawHistFromFile().

◆ SaveHist()

void LmvmDrawAll::SaveHist ( )
private

Save histograms for the study report.

Definition at line 6375 of file LmvmDrawAll.cxx.

References fFileName, fHMean, and fOutputDir.

Referenced by DrawHistFromFile().

◆ SBgRange()

TH1D * LmvmDrawAll::SBgRange ( double minMinv,
double maxMinv )
private

Create S/BG vs cuts for specified invariant mass range.

Parameters
[in]minMinimum invariant mass.
[in]maxMaximum invariant mass.

Definition at line 6252 of file LmvmDrawAll.cxx.

References Bg, ElId, fHMean, fUseMvd, GetCocktailMinvH1(), Mvd1Cut, Mvd2Cut, and x.

Referenced by SBgRangeAll().

◆ SBgRangeAll()

void LmvmDrawAll::SBgRangeAll ( )
private

Draw S/BG vs plots for different mass ranges.

Definition at line 6279 of file LmvmDrawAll.cxx.

References DrawH1(), fHMean, kLinear, kLog, and SBgRange().

Referenced by DrawHistFromFile().

◆ VaryBinWidth() [1/6]

TH1D * LmvmDrawAll::VaryBinWidth ( const std::string & option,
const std::string & hName,
double nEvents,
std::vector< std::pair< double, double > > binValues )
private

Returns histogram with varied bin width.

Parameters
[in]optionChoose source of histogram (Cocktail, fHMean, fHFastSim, fHEvMix or H(signal)).
[in]hNameName of histogram.
[in]nEventsNumber of events for correct error calculation
[in]binValuesVector of pairs. First value: Upper edge of range (in units of X axis). Second value: bin width in this range

◆ VaryBinWidth() [2/6]

TH1D * LmvmDrawAll::VaryBinWidth ( const std::string & option,
const std::string & hName,
ELmvmAnaStep step,
double nEvents,
std::vector< std::pair< double, double > > binValues )
private

Returns histogram with varied bin width.

Parameters
[in]optionChoose source of histogram (Cocktail, fHMean, fHFastSim, fHEvMix or H(signal)).
[in]hNameName of histogram.
[in]stepAnalysis step
[in]nEventsNumber of events for correct error calculation
[in]binValuesVector of pairs. First value: Upper edge of range (in units of X axis). Second value: bin width in this range

◆ VaryBinWidth() [3/6]

TH1D * LmvmDrawAll::VaryBinWidth ( const std::string & option,
const std::string & hName,
ELmvmAnaStep step,
std::vector< std::pair< double, double > > binValues )
private

◆ VaryBinWidth() [4/6]

TH1D * LmvmDrawAll::VaryBinWidth ( const std::string & option,
const std::string & hName,
std::vector< std::pair< double, double > > binValues )
private

◆ VaryBinWidth() [5/6]

TH1D * LmvmDrawAll::VaryBinWidth ( TH1D * h,
double nEvents,
std::vector< std::pair< double, double > > binValues )
private

Main variable bin width method. Returns copy of provided histogram with varied bin width. Error is not calculated here, since therefor the number of events must be known.

Parameters
[in]hTH1D* histogram
[in]nEventsNumber of events for correct error calculation
[in]binValuesVector of pairs. First value: Upper edge of range (in units of X axis). Second value: bin width in this range

Referenced by CalculateCombBGHistos(), CalculateSignal(), ChargeSymmetry(), CheckoutTemperatureFitRangeAll(), CheckoutTemperatureInitParams(), CheckoutTemperatureParamB(), CheckoutTemperatureParams(), CheckVaryBinWidth(), DrawBackground(), DrawCombinatorialBackground(), DrawEfficiency(), DrawEfficiencyCorrection(), DrawFastSimHistos(), DrawFastSimHistosParticleBased(), DrawMinv(), DrawMinvOfficialStyle(), DrawMomentumUrqmd(), DrawSBgVsMinv(), DrawSignal(), DrawSignalCBNormRangeDependent(), DrawSuppression(), DrawSystematicErrorFsSignal(), DrawTemperature(), and GetSignal().

◆ VaryBinWidth() [6/6]

TH1D * LmvmDrawAll::VaryBinWidth ( TH1D * h,
std::vector< std::pair< double, double > > binValues )
private

Member Data Documentation

◆ fBwVarAll

std::vector<std::vector<std::pair<double, double> > > LmvmDrawAll::fBwVarAll
private
Initial value:
std::vector< std::pair< double, double > > fBwVarOrig
std::vector< std::pair< double, double > > fBwVarSig
std::vector< std::pair< double, double > > fBwVarBg
std::vector< std::pair< double, double > > fBwVarSig2
std::vector< std::pair< double, double > > fBwVarReg
std::vector< std::pair< double, double > > fBwVarSig3

Definition at line 145 of file LmvmDrawAll.h.

Referenced by CalculateCombBGHistos(), and CalculateSignal().

◆ fBwVarAllTags

std::vector<std::string> LmvmDrawAll::fBwVarAllTags = {"bwvOrig", "bwvReg", "bwvBg", "bwvSig", "bwvSig2", "bwvSig3"}
private

Definition at line 147 of file LmvmDrawAll.h.

Referenced by CalculateCombBGHistos(), CalculateSignal(), and DrawSignal().

◆ fBwVarBg

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarBg
private
Initial value:
= {std::make_pair(1.5, 0.1), std::make_pair(2.0, 0.25),
std::make_pair(2.5, 0.5)}

Definition at line 121 of file LmvmDrawAll.h.

Referenced by CalculateCombBGHistos(), CalculateSignal(), ChargeSymmetry(), DrawBackground(), DrawCombinatorialBackground(), DrawMinv(), DrawSignal(), and DrawSystematicErrorFsSignal().

◆ fBwVarBg2

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarBg2
private
Initial value:
= {std::make_pair(1.5, 0.1), std::make_pair(1.75, 0.25),
std::make_pair(2.5, 0.75)}

Definition at line 123 of file LmvmDrawAll.h.

Referenced by DrawBackground(), and DrawMinvOfficialStyle().

◆ fBwVarBg3

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarBg3
private
Initial value:
= {std::make_pair(1.6, 0.2), std::make_pair(2.0, 0.4),
std::make_pair(2.5, 0.5)}

Definition at line 125 of file LmvmDrawAll.h.

Referenced by ChargeSymmetry(), DrawCombinatorialBackground(), and DrawFastSimHistosParticleBased().

◆ fBwVarBg4

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarBg4 = {std::make_pair(1.6, 0.4), std::make_pair(2.5, 0.9)}
private

Definition at line 127 of file LmvmDrawAll.h.

Referenced by ChargeSymmetry(), CheckVaryBinWidth(), and DrawCombinatorialBackground().

◆ fBwVarBg5

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarBg5 = {std::make_pair(1.5, 0.3), std::make_pair(2.5, 1.0)}
private

Definition at line 128 of file LmvmDrawAll.h.

Referenced by CheckVaryBinWidth(), DrawBackground(), and DrawCombinatorialBackground().

◆ fBwVarCock

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarCock
private
Initial value:
= {std::make_pair(0.75, 0.05), std::make_pair(0.8, 0.01),
std::make_pair(0.95, 0.05), std::make_pair(1.05, 0.01),
std::make_pair(2.5, 0.05)}

Definition at line 138 of file LmvmDrawAll.h.

Referenced by DrawMinv(), and DrawMinvOfficialStyle().

◆ fBwVarCounter

int LmvmDrawAll::fBwVarCounter = 0.
private

Definition at line 148 of file LmvmDrawAll.h.

◆ fBwVarOmega

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarOmega
private
Initial value:
= {std::make_pair(0.65, 0.05),
std::make_pair(2.5, 0.01)}

Definition at line 141 of file LmvmDrawAll.h.

Referenced by DrawMinv(), and DrawMinvOfficialStyle().

◆ fBwVarOrig

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarOrig = {std::make_pair(2.5, 0.01)}
private

◆ fBwVarPhi

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarPhi
private
Initial value:
= {std::make_pair(0.85, 0.05),
std::make_pair(2.5, 0.01)}

Definition at line 143 of file LmvmDrawAll.h.

Referenced by DrawMinv(), and DrawMinvOfficialStyle().

◆ fBwVarRat

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarRat
private
Initial value:
= {std::make_pair(1.0, 0.1), std::make_pair(2.0, 0.2),
std::make_pair(2.5, 0.5)}

Definition at line 136 of file LmvmDrawAll.h.

◆ fBwVarReg

◆ fBwVarSig

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarSig
private
Initial value:
= {std::make_pair(0.5, 0.1), std::make_pair(1.1, 0.05),
std::make_pair(1.5, 0.2), std::make_pair(2.5, 1.0)}

Definition at line 129 of file LmvmDrawAll.h.

Referenced by CalculateCombBGHistos(), CalculateSignal(), CheckoutTemperatureParamB(), DrawBackground(), DrawCombinatorialBackground(), DrawEfficiencyCorrection(), DrawFastSimHistos(), DrawSBgVsMinv(), DrawSignal(), DrawSignalCBNormRangeDependent(), DrawSystematicErrorFsSignal(), and DrawTemperature().

◆ fBwVarSig2

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarSig2
private
Initial value:
= {std::make_pair(0.5, 0.1), std::make_pair(1.1, 0.05),
std::make_pair(1.5, 0.2),
std::make_pair(2.5, 0.5)}

Definition at line 133 of file LmvmDrawAll.h.

Referenced by CalculateCombBGHistos(), CalculateSignal(), and DrawSignal().

◆ fBwVarSig3

std::vector<std::pair<double, double> > LmvmDrawAll::fBwVarSig3
private
Initial value:
= {std::make_pair(1.1, 0.1), std::make_pair(1.5, 0.2),
std::make_pair(2.5, 1.0)}

Definition at line 131 of file LmvmDrawAll.h.

Referenced by CalculateCombBGHistos(), CalculateSignal(), DrawFastSimHistos(), DrawSignal(), and DrawTemperature().

◆ fCbChange

◆ fCbNormFactor

◆ fCbNormRangeMax

double LmvmDrawAll::fCbNormRangeMax = -1.
private

◆ fCbNormRangeMin

double LmvmDrawAll::fCbNormRangeMin = -1.
private

◆ fDataDir

std::string LmvmDrawAll::fDataDir
private

Definition at line 35 of file LmvmDrawAll.h.

Referenced by CalculateCombBGHistos(), DrawHistFromFile(), and LoadFastSimHistos().

◆ fDoChargeBased

bool LmvmDrawAll::fDoChargeBased = false
private

Definition at line 53 of file LmvmDrawAll.h.

Referenced by LoadFastSimHistos().

◆ fDoParticleBased

bool LmvmDrawAll::fDoParticleBased = false
private

Definition at line 54 of file LmvmDrawAll.h.

Referenced by DrawHistFromFile(), and LoadFastSimHistos().

◆ fEvMixDepth

int LmvmDrawAll::fEvMixDepth
private

Definition at line 58 of file LmvmDrawAll.h.

Referenced by CalculateCombBGHistos(), CalculateSignal(), and GetSignal().

◆ fFileName

std::string LmvmDrawAll::fFileName
private

Definition at line 37 of file LmvmDrawAll.h.

Referenced by DrawHistFromFile(), and SaveHist().

◆ fH

std::vector<LmvmHist*> LmvmDrawAll::fH
private

Definition at line 41 of file LmvmDrawAll.h.

Referenced by DrawHistFromFile(), DrawNumbers(), DrawRapidity(), H(), and LoadFastSimHistos().

◆ fHEvMix

LmvmHist LmvmDrawAll::fHEvMix
private

◆ fHFastSim

◆ fHMean

◆ fNofEvMixEvents

◆ fNofEvMixJobs

int LmvmDrawAll::fNofEvMixJobs
private

Definition at line 57 of file LmvmDrawAll.h.

Referenced by CalculateCombBGHistos().

◆ fNofFastSimEvents

◆ fNofFastSimJobs

double LmvmDrawAll::fNofFastSimJobs
private

Definition at line 50 of file LmvmDrawAll.h.

Referenced by DrawFastSimHistos(), and LoadFastSimHistos().

◆ fNofSimEvents

◆ fOutputDir

std::string LmvmDrawAll::fOutputDir
private

Definition at line 36 of file LmvmDrawAll.h.

Referenced by DrawHistFromFile(), DrawSBgResults(), SaveCanvasToImage(), and SaveHist().

◆ fParamB

std::vector<double> LmvmDrawAll::fParamB
private

◆ fRebinMinv

double LmvmDrawAll::fRebinMinv
private

◆ fTempGraphCounter

int LmvmDrawAll::fTempGraphCounter = 0.
private

Definition at line 239 of file LmvmDrawAll.h.

Referenced by DrawTemperatureGraph().

◆ fUseMvd

bool LmvmDrawAll::fUseMvd
private

Definition at line 39 of file LmvmDrawAll.h.

Referenced by CalcCutEffRange(), DrawHistFromFile(), DrawSBgResults(), and SBgRange().

◆ fZ

double LmvmDrawAll::fZ = -44.
private

Definition at line 342 of file LmvmDrawAll.h.

Referenced by InvestigateMisid().


The documentation for this class was generated from the following files: