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 &outputDir="", bool useMvd=false)
 
template<class T >
void CreateMeanHist (const string &name, int nofEvents, int nofRebins)
 
template<class T >
T * GetCocktailMinv (const string &name, ELmvmAnaStep step)
 

Private Member Functions

LmvmHistH (ELmvmSignal signal)
 
int GetNofTotalEvents ()
 
template<class T >
T * GetCocktailMinv (const std::string &name, ELmvmAnaStep step)
 
TH1D * GetCocktailMinvH1 (const std::string &name, ELmvmAnaStep step)
 
void DrawSBgVsMinv ()
 Draw S/Bg vs minv.
 
void DrawMinvAll ()
 
void DrawMinv (ELmvmAnaStep step)
 
void DrawMinvPtAll ()
 
void DrawMomRecoPrecision ()
 
void DrawMinvBgSourcesAll ()
 
void DrawMinvCombBgAndSignal ()
 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 nofEvents, int nofRebins=-1)
 
void CreateMeanHistAll ()
 
void SaveHist ()
 Save histograms for the study report.
 
void CalcCutEffRange (double minMinv, double maxMinv)
 Calculate cut efficiency in specified invariant mass region.
 
void CalcCombBGHistos ()
 Calculate combinatorial BG contribution.
 
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 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 DrawCutEffSignal ()
 
void DrawPionSuppression ()
 
void DrawMomentum ()
 
void DrawPtYAndTofM2Elid ()
 
void DrawTofPilePids ()
 
void DrawTofHitXY ()
 
void DrawPurity ()
 
void DrawPurityHistText (TH2D *h)
 
void DrawChi2 ()
 
void DrawMinvScaleValues ()
 
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 &)
 
 ClassDef (LmvmDrawAll, 1)
 

Private Attributes

bool fUseMvd
 
std::vector< LmvmHist * > fH
 
LmvmHist fHMean
 
int fRebMinv = 5
 
std::string fOutputDir
 
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.

◆ ~LmvmDrawAll()

virtual LmvmDrawAll::~LmvmDrawAll ( )
inlinevirtual

Definition at line 27 of file LmvmDrawAll.h.

◆ LmvmDrawAll() [2/2]

LmvmDrawAll::LmvmDrawAll ( const LmvmDrawAll & )
private

Member Function Documentation

◆ CalcCombBGHistos()

void LmvmDrawAll::CalcCombBGHistos ( )
private

Calculate combinatorial BG contribution.

Definition at line 1865 of file LmvmDrawAll.cxx.

References LmvmHist::CreateHByClone(), ElId, LmvmHist::fAnaSteps, fHMean, GetCocktailMinvH1(), GetNofTotalEvents(), LmvmHist::H1(), and LmvmHist::H1Clone().

Referenced by DrawHistFromFile().

◆ 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 1961 of file LmvmDrawAll.cxx.

References Bg, CbmHistManager::CreateCanvas(), LmvmHist::CreateH1(), DrawH1(), ElId, LmvmHist::fAnaStepLatex, LmvmHist::fAnaSteps, LmvmHist::fHM, fHMean, LmvmHist::fNofAnaSteps, fUseMvd, GetCocktailMinvH1(), LmvmHist::H1(), kLinear, Mvd1Cut, Mvd2Cut, and x.

Referenced by DrawHistFromFile().

◆ CalculateSBgResult()

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

Definition at line 2087 of file LmvmDrawAll.cxx.

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

Referenced by DrawSBgResults().

◆ ClassDef()

LmvmDrawAll::ClassDef ( LmvmDrawAll ,
1  )
private

◆ CreateMeanHist() [1/2]

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

Referenced by CreateMeanHistAll().

◆ CreateMeanHist() [2/2]

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

◆ CreateMeanHistAll()

void LmvmDrawAll::CreateMeanHistAll ( )
private

◆ DrawBetaMomSpectra()

void LmvmDrawAll::DrawBetaMomSpectra ( )
private

◆ DrawChi2()

void LmvmDrawAll::DrawChi2 ( )
private

Definition at line 1186 of file LmvmDrawAll.cxx.

References LmvmHist::DrawAllCands(), fHMean, max(), and min().

Referenced by InvestigateMisid().

◆ DrawCutEffSignal()

void LmvmDrawAll::DrawCutEffSignal ( )
private

◆ DrawGTrackVertex()

void LmvmDrawAll::DrawGTrackVertex ( )
private

◆ DrawHistFromFile()

void LmvmDrawAll::DrawHistFromFile ( const std::string & fileInmed,
const std::string & fileQgp,
const std::string & fileOmega,
const std::string & filePhi,
const std::string & fileOmegaD,
const std::string & outputDir = "",
bool useMvd = false )

◆ DrawMinv()

void LmvmDrawAll::DrawMinv ( ELmvmAnaStep step)
private

◆ DrawMinvAll()

void LmvmDrawAll::DrawMinvAll ( )
private

◆ DrawMinvBgSourcesAll()

void LmvmDrawAll::DrawMinvBgSourcesAll ( )
private

◆ DrawMinvCombBgAndSignal()

void LmvmDrawAll::DrawMinvCombBgAndSignal ( )
private

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

Definition at line 1608 of file LmvmDrawAll.cxx.

References Bg, CbmHistManager::CreateCanvas(), LmvmHist::DrawAnaStepOnPad(), DrawH1(), ElId, LmvmHist::fAnaSteps, LmvmHist::fHM, fHMean, GetCocktailMinvH1(), LmvmHist::H1(), LmvmHist::H1Clone(), kLinear, and kLog.

Referenced by DrawHistFromFile().

◆ DrawMinvOfficialStyle()

◆ DrawMinvPtAll()

void LmvmDrawAll::DrawMinvPtAll ( )
private

◆ DrawMinvScaleValues()

void LmvmDrawAll::DrawMinvScaleValues ( )
private

◆ DrawMomentum()

◆ DrawMomPluto()

void LmvmDrawAll::DrawMomPluto ( )
private

◆ DrawMomRecoPrecision()

◆ DrawPionSuppression()

void LmvmDrawAll::DrawPionSuppression ( )
private

◆ DrawPtYAndTofM2Elid()

◆ DrawPurity()

◆ DrawPurityHistText()

void LmvmDrawAll::DrawPurityHistText ( TH2D * h)
private

Definition at line 1029 of file LmvmDrawAll.cxx.

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

Referenced by DrawPurity().

◆ DrawSBgResults()

◆ DrawSBgVsMinv()

void LmvmDrawAll::DrawSBgVsMinv ( )
private

◆ DrawSignificance()

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

◆ DrawSignificancesAll()

void LmvmDrawAll::DrawSignificancesAll ( )
private

◆ DrawTofHitXY()

◆ DrawTofM2()

◆ DrawTofPilePids()

void LmvmDrawAll::DrawTofPilePids ( )
private

◆ GetCocktailMinv() [1/2]

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

Referenced by DrawMinvPtAll(), and GetCocktailMinvH1().

◆ GetCocktailMinv() [2/2]

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

◆ GetCocktailMinvH1()

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

◆ GetNofTotalEvents()

int LmvmDrawAll::GetNofTotalEvents ( )
private

◆ H()

LmvmHist * LmvmDrawAll::H ( ELmvmSignal signal)
private

◆ InvestigateMisid()

◆ operator=()

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

◆ SaveCanvasToImage()

void LmvmDrawAll::SaveCanvasToImage ( )
private

Save all created canvases to images.

Definition at line 2121 of file LmvmDrawAll.cxx.

References LmvmHist::fHM, fHMean, fOutputDir, and CbmHistManager::SaveCanvasToImage().

Referenced by DrawHistFromFile().

◆ SaveHist()

void LmvmDrawAll::SaveHist ( )
private

Save histograms for the study report.

Definition at line 1855 of file LmvmDrawAll.cxx.

References fHMean, fOutputDir, and LmvmHist::WriteToFile().

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 2007 of file LmvmDrawAll.cxx.

References Bg, LmvmHist::CreateH1(), ElId, LmvmHist::fAnaStepLatex, LmvmHist::fAnaSteps, fHMean, LmvmHist::fNofAnaSteps, fUseMvd, GetCocktailMinvH1(), LmvmHist::H1(), Mvd1Cut, Mvd2Cut, and x.

Referenced by SBgRangeAll().

◆ SBgRangeAll()

void LmvmDrawAll::SBgRangeAll ( )
private

Draw S/BG vs plots for different mass ranges.

Definition at line 2034 of file LmvmDrawAll.cxx.

References CbmHistManager::CreateCanvas(), DrawH1(), LmvmHist::fHM, fHMean, kLinear, kLog, and SBgRange().

Referenced by DrawHistFromFile().

Member Data Documentation

◆ fH

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

Definition at line 37 of file LmvmDrawAll.h.

Referenced by DrawHistFromFile(), and H().

◆ fHMean

◆ fOutputDir

std::string LmvmDrawAll::fOutputDir
private

Definition at line 42 of file LmvmDrawAll.h.

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

◆ fRebMinv

int LmvmDrawAll::fRebMinv = 5
private

Definition at line 40 of file LmvmDrawAll.h.

Referenced by CreateMeanHistAll(), DrawMinv(), DrawMinvOfficialStyle(), and GetCocktailMinv().

◆ fUseMvd

bool LmvmDrawAll::fUseMvd
private

Definition at line 35 of file LmvmDrawAll.h.

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

◆ fZ

double LmvmDrawAll::fZ = -44.
private

Definition at line 152 of file LmvmDrawAll.h.

Referenced by InvestigateMisid().


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