CbmRoot
CbmModelsQA Class Reference

#include <CbmModelsQA.h>

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

Public Member Functions

 CbmModelsQA (Int_t iVerbose=1, int findParticlesMode=1, int perf=3, KFParticleTopoReconstructor *tr=0, const char *name="CbmModelsQA", const char *title="Cbm Models QA", float ekin_=24.08)
 
 ~CbmModelsQA ()
 
void SetOutFile (TString outname)
 
virtual InitStatus ReInit ()
 
virtual InitStatus Init ()
 
void Exec (Option_t *option)
 
void Finish ()
 
void AddHRGAnalysis (int TracksType=-1, double SystError=0., TString name="MC", int EventStats=1, Bool_t UseWidth=false, Bool_t UseStatistics=false, double rad=0.)
 
void AddMultiscatteringAnalysis (int TracksType=-1, double SystError=0., TString name="MC", int EventStats=1)
 
void AddImpactParameterAnalysis (int TracksType=-1, double SystError=0., TString name="MC", TString InputTable="")
 
void AddInverseSlopeAnalysis (int PDGID=-211, const char *pname="pi-", int TracksType=-1, double SystError=0., TString name="MC", int EventStats=1)
 
void AddBoltzmannAnalysis (int PDGID=-211, const char *pname="pi-", int TracksType=-1, double SystError=0., TString name="MC", int EventStats=1)
 
void AddBlastWaveAnalysis (int PDGID=-211, const char *pname="pi-", int TracksType=-1, double SystError=0., TString name="MC", int EventStats=1, double Tlong=0.132)
 

Private Member Functions

void WriteHistos (TObject *obj)
 
void WriteHistosCurFile (TObject *obj)
 
 ClassDef (CbmModelsQA, 1)
 
 CbmModelsQA (const CbmModelsQA &)
 
void operator= (const CbmModelsQA &)
 

Private Attributes

CbmVertexfPrimVtx
 
TString outfileName
 
TDirectory * histodir
 
std::vector< int > vStsHitMatch
 
std::vector< int > vStsPointMatch
 
std::vector< int > vMvdPointMatch
 
std::vector< int > vMCTrackMatch
 
int fNEvents
 
KFParticleTopoReconstructor * fTopoReconstructor
 
float ekin
 
std::vector< CbmModelBase * > Models
 
TDirectory * histodirmod
 

Detailed Description

Definition at line 37 of file CbmModelsQA.h.

Constructor & Destructor Documentation

◆ CbmModelsQA() [1/2]

CbmModelsQA::CbmModelsQA ( Int_t  iVerbose = 1,
int  findParticlesMode = 1,
int  perf = 3,
KFParticleTopoReconstructor *  tr = 0,
const char *  name = "CbmModelsQA",
const char *  title = "Cbm Models QA",
float  ekin_ = 24.08 
)

◆ ~CbmModelsQA()

CbmModelsQA::~CbmModelsQA ( )

Definition at line 96 of file CbmModelsQA.cxx.

References i, and Models.

◆ CbmModelsQA() [2/2]

CbmModelsQA::CbmModelsQA ( const CbmModelsQA )
private

Member Function Documentation

◆ AddBlastWaveAnalysis()

void CbmModelsQA::AddBlastWaveAnalysis ( int  PDGID = -211,
const char *  pname = "pi-",
int  TracksType = -1,
double  SystError = 0.,
TString  name = "MC",
int  EventStats = 1,
double  Tlong = 0.132 
)

Definition at line 291 of file CbmModelsQA.cxx.

References ekin, fTopoReconstructor, and Models.

◆ AddBoltzmannAnalysis()

void CbmModelsQA::AddBoltzmannAnalysis ( int  PDGID = -211,
const char *  pname = "pi-",
int  TracksType = -1,
double  SystError = 0.,
TString  name = "MC",
int  EventStats = 1 
)

Definition at line 270 of file CbmModelsQA.cxx.

References ekin, fTopoReconstructor, and Models.

◆ AddHRGAnalysis()

void CbmModelsQA::AddHRGAnalysis ( int  TracksType = -1,
double  SystError = 0.,
TString  name = "MC",
int  EventStats = 1,
Bool_t  UseWidth = false,
Bool_t  UseStatistics = false,
double  rad = 0. 
)

Definition at line 178 of file CbmModelsQA.cxx.

References CbmHRGModel::AddRatio(), fTopoReconstructor, and Models.

◆ AddImpactParameterAnalysis()

void CbmModelsQA::AddImpactParameterAnalysis ( int  TracksType = -1,
double  SystError = 0.,
TString  name = "MC",
TString  InputTable = "" 
)

Definition at line 325 of file CbmModelsQA.cxx.

References ekin, fTopoReconstructor, and Models.

◆ AddInverseSlopeAnalysis()

void CbmModelsQA::AddInverseSlopeAnalysis ( int  PDGID = -211,
const char *  pname = "pi-",
int  TracksType = -1,
double  SystError = 0.,
TString  name = "MC",
int  EventStats = 1 
)

Definition at line 228 of file CbmModelsQA.cxx.

References ekin, fTopoReconstructor, and Models.

◆ AddMultiscatteringAnalysis()

void CbmModelsQA::AddMultiscatteringAnalysis ( int  TracksType = -1,
double  SystError = 0.,
TString  name = "MC",
int  EventStats = 1 
)

Definition at line 216 of file CbmModelsQA.cxx.

References ekin, fTopoReconstructor, and Models.

◆ ClassDef()

CbmModelsQA::ClassDef ( CbmModelsQA  ,
 
)
private

◆ Exec()

void CbmModelsQA::Exec ( Option_t *  option)

Definition at line 117 of file CbmModelsQA.cxx.

References i, and Models.

◆ Finish()

void CbmModelsQA::Finish ( )

Definition at line 126 of file CbmModelsQA.cxx.

References histodirmod, i, Models, outfileName, WriteHistos(), and WriteHistosCurFile().

◆ Init()

InitStatus CbmModelsQA::Init ( )
virtual

Definition at line 104 of file CbmModelsQA.cxx.

References i, and Models.

Referenced by ReInit().

◆ operator=()

void CbmModelsQA::operator= ( const CbmModelsQA )
private

◆ ReInit()

InitStatus CbmModelsQA::ReInit ( )
virtual

Definition at line 102 of file CbmModelsQA.cxx.

References Init().

◆ SetOutFile()

void CbmModelsQA::SetOutFile ( TString  outname)
inline

Definition at line 48 of file CbmModelsQA.h.

References outfileName.

◆ WriteHistos()

void CbmModelsQA::WriteHistos ( TObject *  obj)
private

Definition at line 148 of file CbmModelsQA.cxx.

Referenced by Finish().

◆ WriteHistosCurFile()

void CbmModelsQA::WriteHistosCurFile ( TObject *  obj)
private

Definition at line 163 of file CbmModelsQA.cxx.

Referenced by Finish().

Member Data Documentation

◆ ekin

◆ fNEvents

int CbmModelsQA::fNEvents
private

Definition at line 112 of file CbmModelsQA.h.

◆ fPrimVtx

CbmVertex* CbmModelsQA::fPrimVtx
private

Definition at line 100 of file CbmModelsQA.h.

◆ fTopoReconstructor

KFParticleTopoReconstructor* CbmModelsQA::fTopoReconstructor
private

◆ histodir

TDirectory* CbmModelsQA::histodir
private

Definition at line 105 of file CbmModelsQA.h.

◆ histodirmod

TDirectory* CbmModelsQA::histodirmod
private

Definition at line 124 of file CbmModelsQA.h.

Referenced by Finish().

◆ Models

◆ outfileName

TString CbmModelsQA::outfileName
private

Definition at line 103 of file CbmModelsQA.h.

Referenced by Finish(), and SetOutFile().

◆ vMCTrackMatch

std::vector<int> CbmModelsQA::vMCTrackMatch
private

Definition at line 110 of file CbmModelsQA.h.

◆ vMvdPointMatch

std::vector<int> CbmModelsQA::vMvdPointMatch
private

Definition at line 109 of file CbmModelsQA.h.

◆ vStsHitMatch

std::vector<int> CbmModelsQA::vStsHitMatch
private

Definition at line 107 of file CbmModelsQA.h.

◆ vStsPointMatch

std::vector<int> CbmModelsQA::vStsPointMatch
private

Definition at line 108 of file CbmModelsQA.h.


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