Go to the documentation of this file.
8 #ifndef CBMLITRADLENGTHQA_H_
9 #define CBMLITRADLENGTHQA_H_
36 virtual InitStatus
Init();
41 virtual void Exec(Option_t* opt);
67 void ExecDetector(
const string& pathPattern,
const string& detName);
75 Int_t (*getStationId)(
const TString&));
78 const map<Int_t, map<Int_t, Double_t>>& parMap,
79 const string& histName,
80 map<Int_t, map<Int_t, pair<Double_t, Double_t>>>& xyOnTrack);
static Int_t GetMuchAbsorberId(const TString &nodePath)
Return MUCH absorber ID by path to the node or -1 in case node does not exists.
virtual void Exec(Option_t *opt)
Derived from FairTask.
void ExecDetector(const string &pathPattern, const string &detName)
Execute total radiation length for a particular detector.
virtual InitStatus Init()
Derived from FairTask.
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)
CbmLitRadLengthQa & operator=(const CbmLitRadLengthQa &)
CbmLitRadLengthQa()
Constructor.
Helper class to access detector presence.
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.
void CreateHistograms()
Create histograms.
virtual ~CbmLitRadLengthQa()
Destructor.
CbmLitRadLengthQa(const CbmLitRadLengthQa &)
void ReadDataBranches()
Read data branches.
void SaveMaterialBudgetToFile()
Save silicon equivalent histograms to a separate files for each detector.
static Int_t GetMuchStationId(const TString &nodePath)
Return MUCH station ID by path to the node or -1 in case node does not exists.
void SaveDetectorMaterialBudgetToFile(const string &detName)
virtual void Finish()
Derived from FairTask.
static const Double_t SILICON_RAD_LENGTH
void SetOutputDir(const string &outputDir)
static Int_t GetTrdStationId(const TString &nodePath)
Return TRD station ID by path to the node or -1 in case node does not exists.
Helper class to access detector presence.