|
CbmRoot
|
#include <CbmLitRadLengthQa.h>
Public Member Functions | |
| CbmLitRadLengthQa () | |
| Constructor. | |
| virtual | ~CbmLitRadLengthQa () |
| Destructor. | |
| virtual InitStatus | Init () |
| Derived from FairTask. | |
| virtual void | Exec (Option_t *opt) |
| Derived from FairTask. | |
| virtual void | Finish () |
| Derived from FairTask. | |
| void | SetOutputDir (const string &outputDir) |
Private Member Functions | |
| 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 Private Member Functions | |
| 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. | |
Private Attributes | |
| CbmHistManager * | fHM |
| string | fOutputDir |
| TClonesArray * | fRadLen |
| CbmLitDetectorSetup | fDet |
Static Private Attributes | |
| static const Double_t | SILICON_RAD_LENGTH = 9.365 |
Definition at line 26 of file CbmLitRadLengthQa.h.
| CbmLitRadLengthQa::CbmLitRadLengthQa | ( | ) |
Constructor.
Definition at line 46 of file CbmLitRadLengthQa.cxx.
References fDet, fHM, fOutputDir, and fRadLen.
Referenced by CbmLitRadLengthQa(), ClassDef(), and operator=().
|
virtual |
|
private |
References CbmLitRadLengthQa().
|
private |
References CbmLitRadLengthQa().
|
private |
Create histograms.
Definition at line 109 of file CbmLitRadLengthQa.cxx.
References fDet, fHM, CbmLitTrackingGeometryConstructor::Instance(), kMuch, kMvd, kRich, kSts, kTof, kTrd, and ToString().
Referenced by Init().
|
virtual |
Derived from FairTask.
Definition at line 62 of file CbmLitRadLengthQa.cxx.
References ExecDetector().
|
private |
Exec additional radiation thickness calculation for tracking detectors.
| [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, kMuch, kMvd, kSts, kTrd, pos, and SILICON_RAD_LENGTH.
|
private |
Execute total radiation length for a particular detector.
| [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, kMuch, kMvd, kRich, kSts, kTof, kTrd, pos, SILICON_RAD_LENGTH, x, and y.
Referenced by Exec().
|
private |
Definition at line 312 of file CbmLitRadLengthQa.cxx.
References fHM, and ToString().
Referenced by ExecDetector().
|
virtual |
Derived from FairTask.
Definition at line 84 of file CbmLitRadLengthQa.cxx.
References CbmSimulationReport::Create(), fHM, fOutputDir, and SaveMaterialBudgetToFile().
|
staticprivate |
Return MUCH absorber ID by path to the node or -1 in case node does not exists.
| [in] | nodePath | Full path to the node. |
Definition at line 379 of file CbmLitRadLengthQa.cxx.
|
staticprivate |
Return MUCH station ID by path to the node or -1 in case node does not exists.
| [in] | nodePath | Full path to the node. |
Definition at line 363 of file CbmLitRadLengthQa.cxx.
References CbmLitTrackingGeometryConstructor::ConvertMuchToAbsoluteStationNr(), and CbmLitTrackingGeometryConstructor::Instance().
|
staticprivate |
Return MVD station ID by path to the node or -1 in case node does not exists.
| [in] | nodePath | Full path to the node. |
Definition at line 331 of file CbmLitRadLengthQa.cxx.
|
staticprivate |
Return STS station ID by path to the node or -1 in case node does not exists.
| [in] | nodePath | Full path to the node. |
Definition at line 337 of file CbmLitRadLengthQa.cxx.
|
staticprivate |
Return TRD station ID by path to the node or -1 in case node does not exists.
| [in] | nodePath | Full path to the node. |
Definition at line 348 of file CbmLitRadLengthQa.cxx.
|
virtual |
Derived from FairTask.
Definition at line 53 of file CbmLitRadLengthQa.cxx.
References CreateHistograms(), fDet, fHM, and ReadDataBranches().
|
private |
References CbmLitRadLengthQa().
|
private |
Read data branches.
Definition at line 102 of file CbmLitRadLengthQa.cxx.
References fRadLen.
Referenced by Init().
|
private |
Definition at line 399 of file CbmLitRadLengthQa.cxx.
References fHM, and fOutputDir.
Referenced by SaveMaterialBudgetToFile().
|
private |
Save silicon equivalent histograms to a separate files for each detector.
Definition at line 388 of file CbmLitRadLengthQa.cxx.
References SaveDetectorMaterialBudgetToFile().
Referenced by Finish().
|
inline |
Definition at line 54 of file CbmLitRadLengthQa.h.
References fOutputDir.
|
private |
Definition at line 138 of file CbmLitRadLengthQa.h.
Referenced by CbmLitRadLengthQa(), CreateHistograms(), ExecDetector(), ExecDetector(), and Init().
|
private |
Definition at line 132 of file CbmLitRadLengthQa.h.
Referenced by CbmLitRadLengthQa(), CreateHistograms(), ExecDetector(), FillHistosDetector(), Finish(), Init(), SaveDetectorMaterialBudgetToFile(), and ~CbmLitRadLengthQa().
|
private |
Definition at line 133 of file CbmLitRadLengthQa.h.
Referenced by CbmLitRadLengthQa(), Finish(), SaveDetectorMaterialBudgetToFile(), and SetOutputDir().
|
private |
Definition at line 136 of file CbmLitRadLengthQa.h.
Referenced by CbmLitRadLengthQa(), ExecDetector(), ExecDetector(), and ReadDataBranches().
|
staticprivate |
Definition at line 130 of file CbmLitRadLengthQa.h.
Referenced by ExecDetector(), and ExecDetector().