#include <CbmLitRadLengthQa.h>
|
void | ReadDataBranches () |
| Read data branches.
|
|
void | CreateHistograms () |
| Create histograms.
|
|
void | ExecDetector (const string &pathPattern, const string &detName) |
| Execute total radiation length for a particular detector.
|
|
void | ExecDetector (const string &detName, Int_t(*getStationId)(const TString &)) |
| Exec additional radiation thickness calculation for tracking detectors.
|
|
void | FillHistosDetector (const map< Int_t, map< Int_t, Double_t > > &parMap, const string &histName, map< Int_t, map< Int_t, pair< Double_t, Double_t > > > &xyOnTrack) |
|
void | SaveMaterialBudgetToFile () |
| Save silicon equivalent histograms to a separate files for each detector.
|
|
void | SaveDetectorMaterialBudgetToFile (const string &detName) |
|
| CbmLitRadLengthQa (const CbmLitRadLengthQa &) |
|
CbmLitRadLengthQa & | operator= (const CbmLitRadLengthQa &) |
|
| ClassDef (CbmLitRadLengthQa, 1) |
|
|
static Int_t | GetMvdStationId (const TString &nodePath) |
| Return MVD station ID by path to the node or -1 in case node does not exists.
|
|
static Int_t | GetStsStationId (const TString &nodePath) |
| Return STS station ID by path to the node or -1 in case node does not exists.
|
|
static Int_t | GetTrdStationId (const TString &nodePath) |
| Return TRD station ID by path to the node or -1 in case node does not exists.
|
|
static Int_t | GetMuchStationId (const TString &nodePath) |
| Return MUCH station ID by path to the node or -1 in case node does not exists.
|
|
static Int_t | GetMuchAbsorberId (const TString &nodePath) |
| Return MUCH absorber ID by path to the node or -1 in case node does not exists.
|
|
Definition at line 26 of file CbmLitRadLengthQa.h.
◆ CbmLitRadLengthQa() [1/2]
CbmLitRadLengthQa::CbmLitRadLengthQa |
( |
| ) |
|
◆ ~CbmLitRadLengthQa()
CbmLitRadLengthQa::~CbmLitRadLengthQa |
( |
| ) |
|
|
virtual |
◆ CbmLitRadLengthQa() [2/2]
◆ ClassDef()
◆ CreateHistograms()
void CbmLitRadLengthQa::CreateHistograms |
( |
| ) |
|
|
private |
Create histograms.
Definition at line 109 of file CbmLitRadLengthQa.cxx.
References CbmHistManager::Add(), fDet, fHM, CbmLitDetectorSetup::GetDet(), CbmLitTrackingGeometryConstructor::GetNofMuchAbsorbers(), CbmLitTrackingGeometryConstructor::GetNofMuchStations(), CbmLitTrackingGeometryConstructor::GetNofMvdStations(), CbmLitTrackingGeometryConstructor::GetNofStsStations(), CbmLitTrackingGeometryConstructor::GetNofTrdStations(), CbmLitTrackingGeometryConstructor::Instance(), kMuch, kMvd, kRich, kSts, kTof, kTrd, CbmHistManager::ToString(), and ToString().
Referenced by Init().
◆ Exec()
void CbmLitRadLengthQa::Exec |
( |
Option_t * | opt | ) |
|
|
virtual |
◆ ExecDetector() [1/2]
void CbmLitRadLengthQa::ExecDetector |
( |
const string & | detName, |
|
|
Int_t(* | getStationId )(const TString &) ) |
|
private |
Exec additional radiation thickness calculation for tracking detectors.
- Parameters
-
[in] | detName | Name of the detector (Mvd, Sts, Much, Trd). |
[in] | getStationId | Pointer to the function which return station ID by full path to the node. |
Definition at line 254 of file CbmLitRadLengthQa.cxx.
References fDet, FillHistosDetector(), fRadLen, CbmLitDetectorSetup::GetDet(), kMuch, kMvd, kSts, kTrd, pos, and SILICON_RAD_LENGTH.
◆ ExecDetector() [2/2]
void CbmLitRadLengthQa::ExecDetector |
( |
const string & | pathPattern, |
|
|
const string & | detName ) |
|
private |
Execute total radiation length for a particular detector.
- Parameters
-
[in] | pathPattern | Path pattern for this detector in TGeomanager. |
[in] | detName | Name of the detector, like in histograms. |
Definition at line 188 of file CbmLitRadLengthQa.cxx.
References fDet, fHM, fRadLen, CbmLitDetectorSetup::GetDet(), CbmHistManager::H1(), kMuch, kMvd, kRich, kSts, kTof, kTrd, CbmHistManager::P2(), pos, SILICON_RAD_LENGTH, x, and y.
Referenced by Exec().
◆ FillHistosDetector()
void CbmLitRadLengthQa::FillHistosDetector |
( |
const map< Int_t, map< Int_t, Double_t > > & | parMap, |
|
|
const string & | histName, |
|
|
map< Int_t, map< Int_t, pair< Double_t, Double_t > > > & | xyOnTrack ) |
|
private |
◆ Finish()
void CbmLitRadLengthQa::Finish |
( |
| ) |
|
|
virtual |
◆ GetMuchAbsorberId()
Int_t CbmLitRadLengthQa::GetMuchAbsorberId |
( |
const TString & | nodePath | ) |
|
|
staticprivate |
Return MUCH absorber ID by path to the node or -1 in case node does not exists.
- Parameters
-
[in] | nodePath | Full path to the node. |
- Returns
- MUCH absorber ID by path to the node or -1 in case node does not exists.
Definition at line 379 of file CbmLitRadLengthQa.cxx.
◆ GetMuchStationId()
Int_t CbmLitRadLengthQa::GetMuchStationId |
( |
const TString & | nodePath | ) |
|
|
staticprivate |
◆ GetMvdStationId()
Int_t CbmLitRadLengthQa::GetMvdStationId |
( |
const TString & | nodePath | ) |
|
|
staticprivate |
Return MVD station ID by path to the node or -1 in case node does not exists.
- Parameters
-
[in] | nodePath | Full path to the node. |
- Returns
- MVD station ID by path to the node or -1 in case node does not exists.
Definition at line 331 of file CbmLitRadLengthQa.cxx.
◆ GetStsStationId()
Int_t CbmLitRadLengthQa::GetStsStationId |
( |
const TString & | nodePath | ) |
|
|
staticprivate |
Return STS station ID by path to the node or -1 in case node does not exists.
- Parameters
-
[in] | nodePath | Full path to the node. |
- Returns
- STS station ID by path to the node or -1 in case node does not exists.
Definition at line 337 of file CbmLitRadLengthQa.cxx.
◆ GetTrdStationId()
Int_t CbmLitRadLengthQa::GetTrdStationId |
( |
const TString & | nodePath | ) |
|
|
staticprivate |
Return TRD station ID by path to the node or -1 in case node does not exists.
- Parameters
-
[in] | nodePath | Full path to the node. |
- Returns
- TRD station ID by path to the node or -1 in case node does not exists.
Definition at line 348 of file CbmLitRadLengthQa.cxx.
◆ Init()
InitStatus CbmLitRadLengthQa::Init |
( |
| ) |
|
|
virtual |
◆ operator=()
◆ ReadDataBranches()
void CbmLitRadLengthQa::ReadDataBranches |
( |
| ) |
|
|
private |
◆ SaveDetectorMaterialBudgetToFile()
void CbmLitRadLengthQa::SaveDetectorMaterialBudgetToFile |
( |
const string & | detName | ) |
|
|
private |
◆ SaveMaterialBudgetToFile()
void CbmLitRadLengthQa::SaveMaterialBudgetToFile |
( |
| ) |
|
|
private |
◆ SetOutputDir()
void CbmLitRadLengthQa::SetOutputDir |
( |
const string & | outputDir | ) |
|
|
inline |
◆ fDet
◆ fHM
◆ fOutputDir
string CbmLitRadLengthQa::fOutputDir |
|
private |
◆ fRadLen
TClonesArray* CbmLitRadLengthQa::fRadLen |
|
private |
◆ SILICON_RAD_LENGTH
const Double_t CbmLitRadLengthQa::SILICON_RAD_LENGTH = 9.365 |
|
staticprivate |
The documentation for this class was generated from the following files: