CbmRoot
CbmHRGModel Class Reference

#include <CbmHRGModel.h>

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

Public Member Functions

 CbmHRGModel (Int_t recoLevel=-1, Int_t iVerbose=1, TString Mode="MC", Int_t EventStats=1, KFParticleTopoReconstructor *tr=0, Bool_t useWidth=0, Bool_t useStatistics=0, Double_t rad=0.)
 
 ~CbmHRGModel ()
 
virtual void ReInit (FairRootManager *fManger)
 
virtual void Init ()
 
virtual void Exec ()
 
virtual void Finish ()
 
void AddRatio (int pdgid1, int pdgid2, double SystError=0.)
 
 ClassDef (CbmHRGModel, 1)
 
 ClassDef (CbmModelBase, 1)
 

Protected Attributes

KFParticleTopoReconstructor * fTopoReconstructor
 

Private Member Functions

void ReadAcceptanceFunction (HRGModelNamespace::AcceptanceFunction &func, TString filename)
 
Double_t RecEfficiency (Double_t p)
 
bool checkIfReconstructable (CbmKFTrErrMCPoints *inTrack)
 
void CalculateMultiplicitiesInEvent (std::vector< int > &Mult, int RecoLevel, bool UpdateGlobal=0)
 
ThermalModelFitParameters GetThermalParameters (const std::vector< int > &Mults)
 
 CbmHRGModel (const CbmHRGModel &)
 
CbmHRGModeloperator= (const CbmHRGModel &)
 

Private Attributes

Float_t ekin
 
Float_t ycm
 
Bool_t fUpdate
 
Int_t fusePID
 
Int_t fRecoLevel
 
Int_t fTrackNumber
 
Int_t fEventStats
 
Int_t events
 
Bool_t fUseWidth
 
Bool_t fUseStatistics
 
double fRadius
 
TString fModeName
 
TString outfileName
 
TDirectory * histodir
 
TClonesArray * flistMCTracks
 
int IndexTemperature
 
int IndexErrorTemperature
 
int IndexMuB
 
int IndexErrorMuB
 
int IndexMuS
 
int IndexErrorMuS
 
int IndexMuQ
 
int IndexErrorMuQ
 
int IndexnB
 
int IndexEnergy
 
int IndexEntropy
 
int IndexPressure
 
int IndexEoverN
 
int IndexEtaoverS
 
int IndexChi2Fit
 
TH1F * histo1D [nHisto1D]
 
int IndexTmuB
 
int IndexTnB
 
int IndexTE
 
TH2F * histo2D [nHisto2D]
 
TGraphErrors * grTmuB
 
TH1F * pullT
 
TH1F * pullmuB
 
std::vector< double > Ts
 
std::vector< double > muB
 
std::vector< double > errT
 
std::vector< double > errmuB
 
std::map< int, int > PDGtoIndex
 
std::vector< int > ParticlePDGsTrack
 
std::vector< TString > ParticleNames
 
std::vector< std::pair< int, int > > RatiosToFit
 
std::vector< double > SystErrors
 
std::vector< int > MultGlobal
 
std::vector< int > MultLocal
 
HRGModelNamespace::AcceptanceFunction AcceptanceSTS
 
HRGModelNamespace::AcceptanceFunction AcceptanceSTSTOF
 
ThermalParticleSystem TPS
 
ThermalModelBasemodel
 

Static Private Attributes

static const int nHisto1D
 
static const int nHisto2D = 3
 

Detailed Description

Definition at line 63 of file CbmHRGModel.h.

Constructor & Destructor Documentation

◆ CbmHRGModel() [1/2]

CbmHRGModel::CbmHRGModel ( Int_t  recoLevel = -1,
Int_t  iVerbose = 1,
TString  Mode = "MC",
Int_t  EventStats = 1,
KFParticleTopoReconstructor *  tr = 0,
Bool_t  useWidth = 0,
Bool_t  useStatistics = 0,
Double_t  rad = 0. 
)

◆ ~CbmHRGModel()

CbmHRGModel::~CbmHRGModel ( )

Definition at line 395 of file CbmHRGModel.cxx.

References model.

◆ CbmHRGModel() [2/2]

CbmHRGModel::CbmHRGModel ( const CbmHRGModel )
private

Member Function Documentation

◆ AddRatio()

void CbmHRGModel::AddRatio ( int  pdgid1,
int  pdgid2,
double  SystError = 0. 
)

◆ CalculateMultiplicitiesInEvent()

void CbmHRGModel::CalculateMultiplicitiesInEvent ( std::vector< int > &  Mult,
int  RecoLevel,
bool  UpdateGlobal = 0 
)
private

Definition at line 677 of file CbmHRGModel.cxx.

References flistMCTracks, CbmModelBase::fTopoReconstructor, MultGlobal, and ParticlePDGsTrack.

Referenced by Exec().

◆ checkIfReconstructable()

bool CbmHRGModel::checkIfReconstructable ( CbmKFTrErrMCPoints inTrack)
private

◆ ClassDef() [1/2]

CbmHRGModel::ClassDef ( CbmHRGModel  ,
 
)

◆ ClassDef() [2/2]

CbmModelBase::ClassDef ( CbmModelBase  ,
 
)
inherited

◆ Exec()

◆ Finish()

void CbmHRGModel::Finish ( )
virtual

Reimplemented from CbmModelBase.

Definition at line 628 of file CbmHRGModel.cxx.

References errmuB, errT, GetThermalParameters(), grTmuB, i, muB, MultGlobal, and Ts.

◆ GetThermalParameters()

◆ Init()

void CbmHRGModel::Init ( )
virtual

Reimplemented from CbmModelBase.

Definition at line 426 of file CbmHRGModel.cxx.

◆ operator=()

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

◆ ReadAcceptanceFunction()

◆ RecEfficiency()

Double_t CbmHRGModel::RecEfficiency ( Double_t  p)
private

Definition at line 593 of file CbmHRGModel.cxx.

References exp(), and fTrackNumber.

◆ ReInit()

void CbmHRGModel::ReInit ( FairRootManager *  fManger)
virtual

Reimplemented from CbmModelBase.

Definition at line 422 of file CbmHRGModel.cxx.

References flistMCTracks.

Member Data Documentation

◆ AcceptanceSTS

HRGModelNamespace::AcceptanceFunction CbmHRGModel::AcceptanceSTS
private

Definition at line 150 of file CbmHRGModel.h.

◆ AcceptanceSTSTOF

HRGModelNamespace::AcceptanceFunction CbmHRGModel::AcceptanceSTSTOF
private

Definition at line 150 of file CbmHRGModel.h.

◆ ekin

Float_t CbmHRGModel::ekin
private

Definition at line 104 of file CbmHRGModel.h.

◆ errmuB

std::vector<double> CbmHRGModel::errmuB
private

Definition at line 141 of file CbmHRGModel.h.

Referenced by Exec(), and Finish().

◆ errT

std::vector<double> CbmHRGModel::errT
private

Definition at line 141 of file CbmHRGModel.h.

Referenced by Exec(), and Finish().

◆ events

Int_t CbmHRGModel::events
private

Definition at line 111 of file CbmHRGModel.h.

Referenced by Exec().

◆ fEventStats

Int_t CbmHRGModel::fEventStats
private

Definition at line 110 of file CbmHRGModel.h.

Referenced by Exec().

◆ flistMCTracks

TClonesArray* CbmHRGModel::flistMCTracks
private

Definition at line 122 of file CbmHRGModel.h.

Referenced by CalculateMultiplicitiesInEvent(), Exec(), and ReInit().

◆ fModeName

TString CbmHRGModel::fModeName
private

Definition at line 117 of file CbmHRGModel.h.

◆ fRadius

double CbmHRGModel::fRadius
private

Definition at line 114 of file CbmHRGModel.h.

Referenced by Exec(), and GetThermalParameters().

◆ fRecoLevel

Int_t CbmHRGModel::fRecoLevel
private

Definition at line 108 of file CbmHRGModel.h.

Referenced by Exec().

◆ fTopoReconstructor

◆ fTrackNumber

Int_t CbmHRGModel::fTrackNumber
private

Definition at line 109 of file CbmHRGModel.h.

Referenced by RecEfficiency().

◆ fUpdate

Bool_t CbmHRGModel::fUpdate
private

Definition at line 106 of file CbmHRGModel.h.

◆ fusePID

Int_t CbmHRGModel::fusePID
private

Definition at line 107 of file CbmHRGModel.h.

Referenced by checkIfReconstructable().

◆ fUseStatistics

Bool_t CbmHRGModel::fUseStatistics
private

Definition at line 113 of file CbmHRGModel.h.

Referenced by Exec(), and GetThermalParameters().

◆ fUseWidth

Bool_t CbmHRGModel::fUseWidth
private

Definition at line 113 of file CbmHRGModel.h.

Referenced by Exec(), and GetThermalParameters().

◆ grTmuB

TGraphErrors* CbmHRGModel::grTmuB
private

Definition at line 139 of file CbmHRGModel.h.

Referenced by Finish().

◆ histo1D

TH1F* CbmHRGModel::histo1D[nHisto1D]
private

Definition at line 132 of file CbmHRGModel.h.

Referenced by Exec().

◆ histo2D

TH2F* CbmHRGModel::histo2D[nHisto2D]
private

Definition at line 137 of file CbmHRGModel.h.

Referenced by Exec().

◆ histodir

TDirectory* CbmHRGModel::histodir
private

Definition at line 120 of file CbmHRGModel.h.

◆ IndexChi2Fit

int CbmHRGModel::IndexChi2Fit
private

Definition at line 130 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexEnergy

int CbmHRGModel::IndexEnergy
private

Definition at line 129 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexEntropy

int CbmHRGModel::IndexEntropy
private

Definition at line 130 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexEoverN

int CbmHRGModel::IndexEoverN
private

Definition at line 130 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexErrorMuB

int CbmHRGModel::IndexErrorMuB
private

Definition at line 128 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexErrorMuQ

int CbmHRGModel::IndexErrorMuQ
private

Definition at line 129 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexErrorMuS

int CbmHRGModel::IndexErrorMuS
private

Definition at line 129 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexErrorTemperature

int CbmHRGModel::IndexErrorTemperature
private

Definition at line 128 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexEtaoverS

int CbmHRGModel::IndexEtaoverS
private

Definition at line 130 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexMuB

int CbmHRGModel::IndexMuB
private

Definition at line 128 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexMuQ

int CbmHRGModel::IndexMuQ
private

Definition at line 129 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexMuS

int CbmHRGModel::IndexMuS
private

Definition at line 129 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexnB

int CbmHRGModel::IndexnB
private

Definition at line 129 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexPressure

int CbmHRGModel::IndexPressure
private

Definition at line 130 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexTE

int CbmHRGModel::IndexTE
private

Definition at line 135 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexTemperature

int CbmHRGModel::IndexTemperature
private

Definition at line 128 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexTmuB

int CbmHRGModel::IndexTmuB
private

Definition at line 135 of file CbmHRGModel.h.

Referenced by Exec().

◆ IndexTnB

int CbmHRGModel::IndexTnB
private

Definition at line 135 of file CbmHRGModel.h.

Referenced by Exec().

◆ model

ThermalModelBase* CbmHRGModel::model
private

Definition at line 157 of file CbmHRGModel.h.

Referenced by GetThermalParameters(), and ~CbmHRGModel().

◆ muB

std::vector<double> CbmHRGModel::muB
private

Definition at line 141 of file CbmHRGModel.h.

Referenced by Exec(), and Finish().

◆ MultGlobal

std::vector<int> CbmHRGModel::MultGlobal
private

Definition at line 148 of file CbmHRGModel.h.

Referenced by AddRatio(), CalculateMultiplicitiesInEvent(), and Finish().

◆ MultLocal

std::vector<int> CbmHRGModel::MultLocal
private

Definition at line 148 of file CbmHRGModel.h.

Referenced by AddRatio(), and Exec().

◆ nHisto1D

const int CbmHRGModel::nHisto1D
staticprivate
Initial value:
=
15

Definition at line 126 of file CbmHRGModel.h.

◆ nHisto2D

const int CbmHRGModel::nHisto2D = 3
staticprivate

Definition at line 134 of file CbmHRGModel.h.

◆ outfileName

TString CbmHRGModel::outfileName
private

Definition at line 118 of file CbmHRGModel.h.

◆ ParticleNames

std::vector<TString> CbmHRGModel::ParticleNames
private

Definition at line 145 of file CbmHRGModel.h.

Referenced by AddRatio(), and GetThermalParameters().

◆ ParticlePDGsTrack

std::vector<int> CbmHRGModel::ParticlePDGsTrack
private

Definition at line 144 of file CbmHRGModel.h.

Referenced by AddRatio(), CalculateMultiplicitiesInEvent(), and GetThermalParameters().

◆ PDGtoIndex

std::map<int, int> CbmHRGModel::PDGtoIndex
private

Definition at line 143 of file CbmHRGModel.h.

Referenced by AddRatio(), and GetThermalParameters().

◆ pullmuB

TH1F * CbmHRGModel::pullmuB
private

Definition at line 140 of file CbmHRGModel.h.

Referenced by Exec().

◆ pullT

TH1F* CbmHRGModel::pullT
private

Definition at line 140 of file CbmHRGModel.h.

Referenced by Exec().

◆ RatiosToFit

std::vector<std::pair<int, int> > CbmHRGModel::RatiosToFit
private

Definition at line 146 of file CbmHRGModel.h.

Referenced by AddRatio(), and GetThermalParameters().

◆ SystErrors

std::vector<double> CbmHRGModel::SystErrors
private

Definition at line 147 of file CbmHRGModel.h.

Referenced by AddRatio(), and GetThermalParameters().

◆ TPS

ThermalParticleSystem CbmHRGModel::TPS
private

Definition at line 155 of file CbmHRGModel.h.

Referenced by Exec(), and GetThermalParameters().

◆ Ts

std::vector<double> CbmHRGModel::Ts
private

Definition at line 141 of file CbmHRGModel.h.

Referenced by Exec(), and Finish().

◆ ycm

Float_t CbmHRGModel::ycm
private

Definition at line 105 of file CbmHRGModel.h.


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