CbmRoot
Loading...
Searching...
No Matches
cbm::mvd::CbmMvdMcQaTask Class Reference

#include <CbmMvdMcQaTask.h>

Inheritance diagram for cbm::mvd::CbmMvdMcQaTask:
[legend]
Collaboration diagram for cbm::mvd::CbmMvdMcQaTask:
[legend]

Public Types

enum class  Origin {
  All = 0 , Primary = 1 , Secondary = 2 , DeltaSec = 3 ,
  Other = 4
}
 track origin tag (public to avoid any ROOT dictionary issues) More...
 
enum class  EStoringMode { kSAMEDIR , kSUBDIR }
 
using ObjList_t = std::vector<std::pair<TObject*, TString>>
 

Public Member Functions

 CbmMvdMcQaTask (int verbose, bool isMcUsed)
 
void Check () override
 Function to check, if the QA results are acceptable.
 
void CreateSummary () override
 Initializes QA-task summary: canvases, tables etc.
 
void ExecQa () override
 Method to fill histograms per event or time-slice.
 
InitStatus InitQa () override
 Initializes the task.
 
void SetKeVRange (int maxKeV, int binKeV=1)
 dE histogram settings (keV)
 
int MapPdgToSpeciesBin_ (int pdg) const
 
int GetStationIdFromZ_ (double z) const
 
void SetNumberOfStations (int nstation)
 
bool CompareQaObjects ()
 Process ROOT objects comparison.
 
void DisableEventMode ()
 Disables event-by-event execution.
 
const std::map< std::string, CheckFlags > & GetCheckList () const
 Gets check-list.
 
const TString & GetDefaultTag () const
 Gets default tag.
 
const std::string & GetSetupName () const
 Gets name of the setup.
 
const TString & GetVersionTag () const
 Gets version tag.
 
bool IsMCUsed () const
 Returns flag, whether MC information is used or not in the task.
 
void ReadCheckListFromConfig ()
 Reads check-list from the configuration file.
 
void SetCheckFile (const std::shared_ptr< TFile > &pCheckFile)
 Sets check-file.
 
void SetCompareOutput (const std::shared_ptr< TFile > &pCompareOutput)
 Sets compare output file.
 
void SetVersionTag (const TString &tag)
 Sets version tag.
 
void SetDefaultTag (const TString &tag)
 Sets default tag.
 
void SetRecoMode (ECbmRecoMode recoMode)
 Sets data processing (reconstruction) mode.
 
void SetSetupName (const char *setup)
 Sets name of the setup.
 
const char * GetConfigName () const
 Gets config name.
 
template<typename T, typename... Args>
T * MakeQaObject (TString sName, TString sTitle, Args... args)
 
void MakeQaDirectory (TString sName)
 
void SetConfigName (const char *path)
 Creates a ROOT object.
 
void SetRootFolderName (const TString &path)
 Sets a common root path to the objects in the output file.
 
void SetStoringMode (EStoringMode mode)
 Set storing mode.
 

Protected Member Functions

virtual void DeInit ()
 De-initialize the task.
 
void Exec (Option_t *) override final
 FairTask: Defines action of the task in the event/TS.
 
void Finish () override final
 FairTask: Defines action of the task in the end of run.
 
InitStatus Init () override final
 FairTask: Task initialization in the beginning of the run.
 
InitStatus ReInit () override final
 FairTask: Task reinitialization.
 
int GetEventNumber () const
 Get current event number.
 
template<typename T>
bool CheckRange (std::string_view name, T var, T lo, T hi) const
 Checks range of variable.
 
template<typename T>
bool CheckRange (std::string_view name, T var, T varErr, T lo, T hi) const
 Checks range of variable.
 
bool CheckRange (TH1 *h, double meanMax, double rmsMin, double rmsMax)
 Checks ranges for mean and standard deviation.
 
void PutSetupNameOnPad (double xMin, double yMin, double xMax, double yMax)
 Puts setup title on the canvas.
 
CbmEventGetCurrentEvent ()
 Gets pointer to current event.
 
void StoreCheckResult (const std::string &tag, bool result, const std::string &msg="")
 Stores check flag to the check-list.
 
template<typename T>
void CheckProperty (T &&property, const char *name) const
 Function to check, if a property is defined.
 
template<class Config>
std::optional< ConfigReadSpecificConfig () const
 Reads the specific configuration structure from the YAML node.
 
virtual void SetTH1Properties (TH1 *pHist) const
 Applies properties on the histogram created with the MakeQaObject function.
 
virtual void SetTH2Properties (TH2 *pHist) const
 Applies properties on the histogram created with the MakeQaObject function.
 
virtual void SetTProfile2DProperties (TProfile2D *pHist) const
 Applies properties on the profile 2D created with the MakeQaObject function.
 
virtual void SetCanvasProperties (TCanvas *pCanv) const
 Applies properties on the canvas created with the MakeQaObject funciton.
 
void WriteToFile (TFile *pOutFile) const
 Writes objects into file.
 

Protected Attributes

TString fsRootFolderName = ""
 Name of root folder.
 
TString fsConfigName = ""
 Name of configuration file.
 
TString fsPrefix = ""
 Unique prefix for all writeable root.
 
EStoringMode fStoringMode = EStoringMode::kSUBDIR
 Objects storing mode.
 
std::shared_ptr< ObjList_tfpvObjList = nullptr
 List of registered ROOT objects.
 
YAML::Node fConfigNode {}
 Configuration node.
 

Private Member Functions

void ProcessMcTracks (const int &fileId, const int &eventId)
 
void ProcessMvdPoints (const int &fileId, const int &eventId)
 
TH1F * GetOrBookElossHist (int pdg, Origin origin)
 
void BookHists_ ()
 helpers
 
int PidClass_ (int pdg) const
 
Origin ClassifyTrack_ (const int &fileId, const int &eventId, Int_t trackindex) const
 
double PointELossGeV_ (const void *vp) const
 
 ClassDefOverride (CbmMvdMcQaTask, 1)
 
void DeInitBase ()
 De-initializes this task.
 
template<class Obj>
bool CompareTwoObjects (const TObject *pObjL, const TObject *pObjR, const TString &objName, const ObjectComparisonConfig &cfg)
 Process object comparison.
 
template<typename T, typename... Args>
T * ConstructAndRegisterQaObject (TString name, Args... args)
 Creates and registers a ROOT object.
 

Static Private Member Functions

static bool DecodeIonPDG_ (int pdg, int &Z, int &A)
 

Private Attributes

FairRootManager * fManager = nullptr
 setup
 
CbmMCDataManagerfMcManager = nullptr
 
CbmMCEventListfMcEventList = nullptr
 containers
 
CbmMCDataArrayfMvdPoints = nullptr
 
CbmMCDataArrayfMcTracks = nullptr
 
std::vector< int > fPdgBuf
 per-event caches
 
std::vector< OriginfOriginBuf
 origin by track index
 
Int_t fNStations = 4
 Number of stations in MVD: TODO: Get Number of station from data file itself.
 
Long64_t fAllNPrim = 0
 global counters (over all events)
 
Long64_t fAllNSec = 0
 
std::unordered_map< int, uint64_t > fAllCountsPrim
 PDG -> count (all primaries)
 
std::unordered_map< int, uint64_t > fAllCountsSec
 PDG -> count (all secondaries)
 
std::array< std::unordered_map< int, TH1F * >, kNumOriginsfHistsElossKeVByPDG
 
std::array< TList *, kNumOriginsfLists {}
 
int fKeVMax = 2000
 dE settings
 
int fKeVBin = 1
 1 keV bins by default
 
double fZMinStation0 = -38
 TODO: Remove when we have getter for number of station directly from CbmMvdPoint.
 
double fZMaxStation0 = -34
 
double fZMinStation1 = -34
 
double fZMaxStation1 = -30
 
double fZMinStation2 = -30
 
double fZMaxStation2 = -26
 
double fZMinStation3 = -26
 
double fZMaxStation3 = -22
 
TH1D * fh_nTracksAll = nullptr
 Histograms.
 
TH1D * fh_nMvdPointsEvt = nullptr
 MVD points per event.
 
TH1D * fh_nHitTracksEvt = nullptr
 unique non-primary tracks with hits per event
 
TH1D * fh_nDeltaEvt = nullptr
 number of secondary e+- with hits per event
 
TH1D * fh_mc_pdg_all = nullptr
 MCTrack-level histograms.
 
TH1D * fh_mc_pdg_prim = nullptr
 species for primary MCTracks
 
TH1D * fh_mc_pdg_sec = nullptr
 species for secondary MCTracks
 
TH1D * fh_mc_p_prim = nullptr
 momentum of primaries
 
TH1D * fh_mc_p_sec = nullptr
 momentum of secondaries
 
TH1D * fh_mc_startZ = nullptr
 start-z of MCTracks
 
TH2D * fh_mc_startX_vs_Z = nullptr
 start X vs Z
 
TH2D * fh_mc_startY_vs_Z = nullptr
 start Y vs Z
 
TH2D * fh_mc_startY_vs_X = nullptr
 start Y vs X
 
std::vector< TH1D * > fh_mvd_nPointsEvt_station
 MvdPoint histograms.
 
std::vector< TH2D * > fh_mvd_xy_prim_station
 X-Y for primary MVD points per station.
 
std::vector< TH2D * > fh_mvd_xy_sec_station
 X-Y for secondary MVD points per station.
 
TH1D * fh_mvd_pdg_all = nullptr
 species for all MVD points
 
TH1D * fh_mvd_pdg_prim = nullptr
 species for primary MVD points
 
TH1D * fh_mvd_pdg_sec = nullptr
 species for secondary MVD points
 
TH1D * fh_mvd_p_prim = nullptr
 
TH1D * fh_mvd_p_sec = nullptr
 
TH2D * fh_mvd_dEkeV_vs_p = nullptr
 dE (keV) vs p (GeV/c) at MVD point
 
TH2D * fh_mvd_dEkeV_vs_pdg = nullptr
 dE (keV) vs species bin
 
TH1D * fh_sec_count_bySpecies = nullptr
 overall counts (non-primary tracks with hits) by coarse species class
 
TH2D * fh_dEkeV_vs_pidClass = nullptr
 dE per point vs species class (non-primaries with hits)
 
TH2D * fh_xy_points_nonprim = nullptr
 x vs y map of points (non-primaries)
 
std::vector< TH2D * > fh_xy_points
 x vs y map of points vs. station ID (non-primaries)
 
std::vector< TH1D * > fhCountMvdPoint
 
TH1D * fhZdistMvd = nullptr
 
TH2D * fh_dEkeV_vs_p = nullptr
 dE (keV) vs p (GeV/c) at point (non-primaries)
 
bool fbUseMC = false
 Flag, if MC is used.
 
ECbmRecoMode fRecoMode = ECbmRecoMode::Timeslice
 Reconstruction mode.
 
std::map< std::string, CheckFlagsfmCheckList
 A QA check-list map.
 
TClonesArray * fpBrEvents = nullptr
 Pointer to CbmEvent branch.
 
CbmEventfpCurrentEvent = nullptr
 Pointer to the current event.
 
std::string fsSetupName = ""
 Name of the setup (to draw on the canvases)
 
TParameter< int > fNofEvents {"nEvents", 0}
 Number of processed events.
 
TString fsVersionTag = ""
 Version tag (git SHA etc.)
 
TString fsDefaultTag = ""
 Default tag (git SHA etc.)
 
std::shared_ptr< TFile > fpBenchmarkInput = nullptr
 A file with default ROOT objects used for the cross-check.
 
std::shared_ptr< TFile > fpBenchmarkOutput = nullptr
 An output file for histograms cross-check.
 

Static Private Attributes

static constexpr int kNumOrigins = 5
 
static constexpr const char * kOriginName [kNumOrigins] = {"all", "primary", "secondary", "deltaSec", "other"}
 

Detailed Description

Definition at line 23 of file CbmMvdMcQaTask.h.

Member Typedef Documentation

◆ ObjList_t

using CbmQaIO::ObjList_t = std::vector<std::pair<TObject*, TString>>
inherited
Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 45 of file CbmQaIO.h.

Member Enumeration Documentation

◆ EStoringMode

enum class CbmQaIO::EStoringMode
stronginherited
Enumerator
kSAMEDIR 

Objects of different type will be stored to root directory.

kSUBDIR 

Objects of different type will be stored in different subdirectories like histograms/ canvases/.

Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 47 of file CbmQaIO.h.

◆ Origin

track origin tag (public to avoid any ROOT dictionary issues)

Enumerator
All 
Primary 
Secondary 
DeltaSec 
Other 

Definition at line 42 of file CbmMvdMcQaTask.h.

Constructor & Destructor Documentation

◆ CbmMvdMcQaTask()

CbmMvdMcQaTask::CbmMvdMcQaTask ( int verbose,
bool isMcUsed )

Definition at line 22 of file CbmMvdMcQaTask.cxx.

References CbmQaTask::CbmQaTask().

Referenced by ClassDefOverride().

Member Function Documentation

◆ BookHists_()

◆ Check()

void CbmMvdMcQaTask::Check ( )
overridevirtual

Function to check, if the QA results are acceptable.

In the function one should provide the check flags with the function StoreCheckResult.

The code below requires MC-true information

TODO: add checks

Implements CbmQaTask.

Definition at line 407 of file CbmMvdMcQaTask.cxx.

References CbmQaTask::IsMCUsed().

◆ CheckProperty()

template<typename T>
void CbmQaIO::CheckProperty ( T && property,
const char * name ) const
protectedinherited

Function to check, if a property is defined.

Parameters
propertyA property to be tested
nameA name of property (used for logging)
Note
Throws an exception, if property is undefined
Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 177 of file CbmQaIO.h.

Referenced by MakeQaObject().

◆ CheckRange() [1/3]

template<typename T>
bool CbmQaTask::CheckRange ( std::string_view name,
T var,
T lo,
T hi ) const
protectedinherited

Checks range of variable.

Parameters
nameName of the variable
varVariable to check
loLower limit of the variable
hiUpper limit of the variable
Returns
False, if variable exits the range

Definition at line 275 of file CbmQaTask.h.

References CheckRange().

Referenced by CheckRange(), and CheckRange().

◆ CheckRange() [2/3]

template<typename T>
bool CbmQaTask::CheckRange ( std::string_view name,
T var,
T varErr,
T lo,
T hi ) const
protectedinherited

Checks range of variable.

Parameters
nameName of the variable
varVariable to check
varErrStandard Error of the variable
loLower limit of the variable
hiUpper limit of the variable
Returns
False, if variable exits the range

Definition at line 283 of file CbmQaTask.h.

◆ CheckRange() [3/3]

bool CbmQaTask::CheckRange ( TH1 * h,
double meanMax,
double rmsMin,
double rmsMax )
protectedinherited

Checks ranges for mean and standard deviation.

Returns
False, if variable exits the range

Definition at line 141 of file CbmQaTask.cxx.

References CheckRange().

◆ ClassDefOverride()

cbm::mvd::CbmMvdMcQaTask::ClassDefOverride ( CbmMvdMcQaTask ,
1  )
private

References CbmMvdMcQaTask().

◆ ClassifyTrack_()

CbmMvdMcQaTask::Origin CbmMvdMcQaTask::ClassifyTrack_ ( const int & fileId,
const int & eventId,
Int_t trackindex ) const
private

Definition at line 519 of file CbmMvdMcQaTask.cxx.

References DeltaSec, fMcTracks, Other, Primary, and Secondary.

Referenced by ProcessMcTracks().

◆ CompareQaObjects()

bool CbmQaTask::CompareQaObjects ( )
inherited

Process ROOT objects comparison.

Returns
true All the object are consistent
false Some of the objects are inconsistent

Definition at line 162 of file CbmQaTask.cxx.

References CbmQaIO::fConfigNode.

◆ CompareTwoObjects()

template<class Obj>
bool CbmQaTask::CompareTwoObjects ( const TObject * pObjL,
const TObject * pObjR,
const TString & objName,
const ObjectComparisonConfig & cfg )
privateinherited

Process object comparison.

Template Parameters
ObjClass of the ROOT object
Parameters
pObjLFirst object (this)
pObjRSecond object (default)
objNameName of the object (contains full path to the object)
cfgComparison configuration entry
Returns
true Histograms are equal within selected method
false Histograms differ within one of the comparison methods

Definition at line 306 of file CbmQaTask.h.

References CbmQaTask::ObjectComparisonConfig::fCanvOpt, CbmQaTask::ObjectComparisonConfig::fChi2NdfMax, fpBenchmarkOutput, CbmQaTask::ObjectComparisonConfig::fPoint, CbmQaTask::ObjectComparisonConfig::fRatio, CbmQaTask::ObjectComparisonConfig::fRatioMax, CbmQaTask::ObjectComparisonConfig::fRatioMin, fsDefaultTag, CbmQaTask::ObjectComparisonConfig::fStat, CbmQaTask::ObjectComparisonConfig::fStatOpt, and fsVersionTag.

◆ ConstructAndRegisterQaObject()

template<typename T, typename... Args>
T * CbmQaIO::ConstructAndRegisterQaObject ( TString name,
Args... args )
privateinherited

Creates and registers a ROOT object.

Parameters
nameA name of the ROOT object, which can contain a sub-directory
argsOther arguments, passed to the ROOT object constructor
Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 197 of file CbmQaIO.h.

References fpvObjList, fsRootFolderName, fStoringMode, kSUBDIR, SetCanvasProperties(), SetTH1Properties(), SetTH2Properties(), and SetTProfile2DProperties().

Referenced by MakeQaObject().

◆ CreateSummary()

void CbmMvdMcQaTask::CreateSummary ( )
overridevirtual

Initializes QA-task summary: canvases, tables etc.

TODO: create summary

Reimplemented from CbmQaTask.

Definition at line 416 of file CbmMvdMcQaTask.cxx.

References fAllCountsPrim, and fAllCountsSec.

◆ DecodeIonPDG_()

bool CbmMvdMcQaTask::DecodeIonPDG_ ( int pdg,
int & Z,
int & A )
staticprivate

Definition at line 392 of file CbmMvdMcQaTask.cxx.

◆ DeInit()

◆ DeInitBase()

void CbmQaTask::DeInitBase ( )
privateinherited

De-initializes this task.

Definition at line 129 of file CbmQaTask.cxx.

References DeInit().

Referenced by Init().

◆ DisableEventMode()

void CbmQaTask::DisableEventMode ( )
inherited

Disables event-by-event execution.

By default, if the branch

◆ Exec()

void CbmQaTask::Exec ( Option_t * )
finaloverrideprotectedinherited

FairTask: Defines action of the task in the event/TS.

Definition at line 44 of file CbmQaTask.cxx.

References ExecQa(), fNofEvents, fpBrEvents, and fpCurrentEvent.

◆ ExecQa()

void CbmMvdMcQaTask::ExecQa ( )
overridevirtual

Method to fill histograms per event or time-slice.

Reimplemented from CbmQaTask.

Definition at line 229 of file CbmMvdMcQaTask.cxx.

References fMcEventList, CbmQaTask::IsMCUsed(), ProcessMcTracks(), and ProcessMvdPoints().

◆ Finish()

void CbmQaTask::Finish ( )
finaloverrideprotectedinherited

FairTask: Defines action of the task in the end of run.

Definition at line 64 of file CbmQaTask.cxx.

References CreateSummary(), fNofEvents, and CbmQaIO::WriteToFile().

◆ GetCheckList()

const std::map< std::string, CheckFlags > & CbmQaTask::GetCheckList ( ) const
inlineinherited

Gets check-list.

Definition at line 113 of file CbmQaTask.h.

References fmCheckList.

◆ GetConfigName()

const char * CbmQaIO::GetConfigName ( ) const
inlineinherited

Gets config name.

Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 75 of file CbmQaIO.h.

References fsConfigName.

◆ GetCurrentEvent()

CbmEvent * CbmQaTask::GetCurrentEvent ( )
inlineprotectedinherited

Gets pointer to current event.

Definition at line 216 of file CbmQaTask.h.

References fpCurrentEvent.

Referenced by cbm::ca::OutputQa::ExecQa(), and CbmRichRingRecoQa::ExecQa().

◆ GetDefaultTag()

const TString & CbmQaTask::GetDefaultTag ( ) const
inlineinherited

Gets default tag.

Definition at line 116 of file CbmQaTask.h.

References fsDefaultTag.

◆ GetEventNumber()

int CbmQaTask::GetEventNumber ( ) const
inlineprotectedinherited

Get current event number.

Definition at line 183 of file CbmQaTask.h.

References fNofEvents.

Referenced by cbm::ca::OutputQa::Check(), and cbm::ca::OutputQa::DrawEvent().

◆ GetOrBookElossHist()

TH1F * CbmMvdMcQaTask::GetOrBookElossHist ( int pdg,
Origin origin )
private

Definition at line 428 of file CbmMvdMcQaTask.cxx.

References fHistsElossKeVByPDG, fLists, kNumOrigins, kOriginName, and Other.

Referenced by ProcessMvdPoints().

◆ GetSetupName()

const std::string & CbmQaTask::GetSetupName ( ) const
inlineinherited

Gets name of the setup.

Definition at line 119 of file CbmQaTask.h.

References fsSetupName.

◆ GetStationIdFromZ_()

int CbmMvdMcQaTask::GetStationIdFromZ_ ( double z) const

◆ GetVersionTag()

const TString & CbmQaTask::GetVersionTag ( ) const
inlineinherited

Gets version tag.

Definition at line 122 of file CbmQaTask.h.

References fsVersionTag.

◆ Init()

InitStatus CbmQaTask::Init ( )
finaloverrideprotectedinherited

FairTask: Task initialization in the beginning of the run.

Definition at line 88 of file CbmQaTask.cxx.

References DeInitBase(), EventByEvent, fpBrEvents, fRecoMode, and InitQa().

Referenced by ReInit().

◆ InitQa()

InitStatus CbmMvdMcQaTask::InitQa ( )
overridevirtual

Initializes the task.

Reimplemented from CbmQaTask.

Definition at line 25 of file CbmMvdMcQaTask.cxx.

References BookHists_(), fLists, fManager, fMcEventList, fMcManager, fMcTracks, fMvdPoints, CbmQaTask::IsMCUsed(), kNumOrigins, and kOriginName.

◆ IsMCUsed()

◆ MakeQaDirectory()

void CbmQaIO::MakeQaDirectory ( TString sName)
inherited

◆ MakeQaObject()

◆ MapPdgToSpeciesBin_()

int CbmMvdMcQaTask::MapPdgToSpeciesBin_ ( int pdg) const

Definition at line 467 of file CbmMvdMcQaTask.cxx.

Referenced by ProcessMcTracks(), and ProcessMvdPoints().

◆ PidClass_()

int CbmMvdMcQaTask::PidClass_ ( int pdg) const
private

< ions

Definition at line 453 of file CbmMvdMcQaTask.cxx.

Referenced by ProcessMvdPoints().

◆ PointELossGeV_()

double CbmMvdMcQaTask::PointELossGeV_ ( const void * vp) const
private

< CbmMvdPoint derives FairMCPoint

< GeV

Definition at line 541 of file CbmMvdMcQaTask.cxx.

Referenced by ProcessMvdPoints().

◆ ProcessMcTracks()

void CbmMvdMcQaTask::ProcessMcTracks ( const int & fileId,
const int & eventId )
private

◆ ProcessMvdPoints()

void CbmMvdMcQaTask::ProcessMvdPoints ( const int & fileId,
const int & eventId )
private

◆ PutSetupNameOnPad()

void CbmQaTask::PutSetupNameOnPad ( double xMin,
double yMin,
double xMax,
double yMax )
protectedinherited

Puts setup title on the canvas.

Definition at line 248 of file CbmQaTask.cxx.

References fsSetupName.

Referenced by cbm::ca::InputQaSetup::CreateSummary().

◆ ReadCheckListFromConfig()

void CbmQaTask::ReadCheckListFromConfig ( )
inherited

Reads check-list from the configuration file.

Definition at line 263 of file CbmQaTask.cxx.

References CbmQaIO::fConfigNode, and fmCheckList.

◆ ReadSpecificConfig()

template<class Config>
std::optional< Config > CbmQaIO::ReadSpecificConfig ( ) const
inlineprotectedinherited

Reads the specific configuration structure from the YAML node.

Template Parameters
ConfigType of the configuration class

The function is to be called in the user-defined class method InitDataBranches

Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 126 of file CbmQaIO.h.

References fConfigNode, and cbm::util::yaml::Read().

Referenced by CbmCaInputQaBase< DetID >::InitQa().

◆ ReInit()

InitStatus CbmQaTask::ReInit ( )
finaloverrideprotectedinherited

FairTask: Task reinitialization.

Definition at line 122 of file CbmQaTask.cxx.

References Init().

◆ SetCanvasProperties()

void CbmQaIO::SetCanvasProperties ( TCanvas * pCanv) const
protectedvirtualinherited

Applies properties on the canvas created with the MakeQaObject funciton.

Parameters
pCanvPointer to the canvas
Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 84 of file CbmQaIO.cxx.

Referenced by ConstructAndRegisterQaObject().

◆ SetCheckFile()

void CbmQaTask::SetCheckFile ( const std::shared_ptr< TFile > & pCheckFile)
inlineinherited

Sets check-file.

Parameters
pCheckFileShared pointer to the cross-check file

Definition at line 134 of file CbmQaTask.h.

References fpBenchmarkInput.

◆ SetCompareOutput()

void CbmQaTask::SetCompareOutput ( const std::shared_ptr< TFile > & pCompareOutput)
inlineinherited

Sets compare output file.

Parameters
pCompareOutputShared pointer to the comparison output file

Definition at line 138 of file CbmQaTask.h.

References fpBenchmarkOutput.

◆ SetConfigName()

void CbmQaIO::SetConfigName ( const char * path)
inherited

Creates a ROOT object.

Sets config name

Parameters
nameA path to the config
Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 95 of file CbmQaIO.cxx.

References fsConfigName.

◆ SetDefaultTag()

void CbmQaTask::SetDefaultTag ( const TString & tag)
inlineinherited

Sets default tag.

Definition at line 144 of file CbmQaTask.h.

References fsDefaultTag.

◆ SetKeVRange()

void cbm::mvd::CbmMvdMcQaTask::SetKeVRange ( int maxKeV,
int binKeV = 1 )
inline

dE histogram settings (keV)

Definition at line 36 of file CbmMvdMcQaTask.h.

References fKeVBin, and fKeVMax.

◆ SetNumberOfStations()

void cbm::mvd::CbmMvdMcQaTask::SetNumberOfStations ( int nstation)
inline

Set number of station in the simulation data TODO: Get Number of station from data file itself

Definition at line 55 of file CbmMvdMcQaTask.h.

References fNStations.

◆ SetRecoMode()

void CbmQaTask::SetRecoMode ( ECbmRecoMode recoMode)
inlineinherited

Sets data processing (reconstruction) mode.

The reconstruction mode can be either ECbmRecoMode::Timeslice or ECbmRecoMode::EventByEvent. The first variant implies, that the data are processed within entire time-slice (in the event-by-event simulation within the entire event). For the second variant the data are processed within a loop of CbmEvent objects, if the branch of latter is accessible. By default the ECbmRecoMode::Timeslice is used.

Definition at line 152 of file CbmQaTask.h.

References fRecoMode.

◆ SetRootFolderName()

void CbmQaIO::SetRootFolderName ( const TString & path)
inlineinherited

Sets a common root path to the objects in the output file.

Parameters
pathA path to the object
Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 108 of file CbmQaIO.h.

References fsRootFolderName.

Referenced by CbmQaTask::CbmQaTask().

◆ SetSetupName()

void CbmQaTask::SetSetupName ( const char * setup)
inlineinherited

Sets name of the setup.

Definition at line 155 of file CbmQaTask.h.

References fsSetupName.

◆ SetStoringMode()

void CbmQaIO::SetStoringMode ( EStoringMode mode)
inlineinherited

Set storing mode.

Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 111 of file CbmQaIO.h.

References fStoringMode.

Referenced by CbmCaInputQaBase< DetID >::CbmCaInputQaBase().

◆ SetTH1Properties()

void CbmQaIO::SetTH1Properties ( TH1 * pHist) const
protectedvirtualinherited

Applies properties on the histogram created with the MakeQaObject function.

Parameters
pHistPointer to the histogram

Reimplemented in cbm::ca::TrackTypeQa, and TrackTypeQa.

Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 36 of file CbmQaIO.cxx.

References cbm::qa::util::GetHistStats().

Referenced by ConstructAndRegisterQaObject().

◆ SetTH2Properties()

void CbmQaIO::SetTH2Properties ( TH2 * pHist) const
protectedvirtualinherited

Applies properties on the histogram created with the MakeQaObject function.

Parameters
pHistPointer to the histogram
Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 50 of file CbmQaIO.cxx.

Referenced by ConstructAndRegisterQaObject().

◆ SetTProfile2DProperties()

void CbmQaIO::SetTProfile2DProperties ( TProfile2D * pHist) const
protectedvirtualinherited

Applies properties on the profile 2D created with the MakeQaObject function.

Parameters
pHistPointer to the profile
Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 67 of file CbmQaIO.cxx.

Referenced by ConstructAndRegisterQaObject().

◆ SetVersionTag()

void CbmQaTask::SetVersionTag ( const TString & tag)
inlineinherited

Sets version tag.

Definition at line 141 of file CbmQaTask.h.

References fsVersionTag.

◆ StoreCheckResult()

void CbmQaTask::StoreCheckResult ( const std::string & tag,
bool result,
const std::string & msg = "" )
protectedinherited

Stores check flag to the check-list.

Parameters
tagThe flag name
resultCheck result
msgSupporting message (optional)

Definition at line 311 of file CbmQaTask.cxx.

References fmCheckList.

Referenced by CbmRichRingRecoQa::Check().

◆ WriteToFile()

void CbmQaIO::WriteToFile ( TFile * pOutFile) const
protectedinherited

Writes objects into file.

Parameters
pOutFilePointer to output ROOT file
Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 116 of file CbmQaIO.cxx.

References fpvObjList.

Referenced by CbmQaTask::Finish().

Member Data Documentation

◆ fAllCountsPrim

std::unordered_map<int, uint64_t> cbm::mvd::CbmMvdMcQaTask::fAllCountsPrim
private

PDG -> count (all primaries)

Definition at line 79 of file CbmMvdMcQaTask.h.

Referenced by CreateSummary(), and ProcessMcTracks().

◆ fAllCountsSec

std::unordered_map<int, uint64_t> cbm::mvd::CbmMvdMcQaTask::fAllCountsSec
private

PDG -> count (all secondaries)

Definition at line 80 of file CbmMvdMcQaTask.h.

Referenced by CreateSummary(), and ProcessMcTracks().

◆ fAllNPrim

Long64_t cbm::mvd::CbmMvdMcQaTask::fAllNPrim = 0
private

global counters (over all events)

Definition at line 77 of file CbmMvdMcQaTask.h.

Referenced by ProcessMcTracks().

◆ fAllNSec

Long64_t cbm::mvd::CbmMvdMcQaTask::fAllNSec = 0
private

Definition at line 78 of file CbmMvdMcQaTask.h.

Referenced by ProcessMcTracks().

◆ fbUseMC

bool CbmQaTask::fbUseMC = false
privateinherited

Flag, if MC is used.

Definition at line 240 of file CbmQaTask.h.

Referenced by CbmQaTask(), and IsMCUsed().

◆ fConfigNode

YAML::Node CbmQaIO::fConfigNode {}
protectedinherited

Configuration node.

Definition at line 163 of file CbmQaIO.h.

Referenced by CbmQaTask::CompareQaObjects(), MakeQaObject(), CbmQaTask::ReadCheckListFromConfig(), and ReadSpecificConfig().

◆ fh_dEkeV_vs_p

TH2D* cbm::mvd::CbmMvdMcQaTask::fh_dEkeV_vs_p = nullptr
private

dE (keV) vs p (GeV/c) at point (non-primaries)

Definition at line 143 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_dEkeV_vs_pidClass

TH2D* cbm::mvd::CbmMvdMcQaTask::fh_dEkeV_vs_pidClass = nullptr
private

dE per point vs species class (non-primaries with hits)

Definition at line 137 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_mc_p_prim

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_mc_p_prim = nullptr
private

momentum of primaries

Definition at line 108 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMcTracks().

◆ fh_mc_p_sec

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_mc_p_sec = nullptr
private

momentum of secondaries

Definition at line 109 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMcTracks().

◆ fh_mc_pdg_all

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_mc_pdg_all = nullptr
private

MCTrack-level histograms.

species for all MCTracks

Definition at line 105 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMcTracks().

◆ fh_mc_pdg_prim

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_mc_pdg_prim = nullptr
private

species for primary MCTracks

Definition at line 106 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMcTracks().

◆ fh_mc_pdg_sec

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_mc_pdg_sec = nullptr
private

species for secondary MCTracks

Definition at line 107 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMcTracks().

◆ fh_mc_startX_vs_Z

TH2D* cbm::mvd::CbmMvdMcQaTask::fh_mc_startX_vs_Z = nullptr
private

start X vs Z

Definition at line 111 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMcTracks().

◆ fh_mc_startY_vs_X

TH2D* cbm::mvd::CbmMvdMcQaTask::fh_mc_startY_vs_X = nullptr
private

start Y vs X

Definition at line 113 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMcTracks().

◆ fh_mc_startY_vs_Z

TH2D* cbm::mvd::CbmMvdMcQaTask::fh_mc_startY_vs_Z = nullptr
private

start Y vs Z

Definition at line 112 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMcTracks().

◆ fh_mc_startZ

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_mc_startZ = nullptr
private

start-z of MCTracks

Definition at line 110 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMcTracks().

◆ fh_mvd_dEkeV_vs_p

TH2D* cbm::mvd::CbmMvdMcQaTask::fh_mvd_dEkeV_vs_p = nullptr
private

dE (keV) vs p (GeV/c) at MVD point

Definition at line 133 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_mvd_dEkeV_vs_pdg

TH2D* cbm::mvd::CbmMvdMcQaTask::fh_mvd_dEkeV_vs_pdg = nullptr
private

dE (keV) vs species bin

Definition at line 134 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_mvd_nPointsEvt_station

std::vector<TH1D*> cbm::mvd::CbmMvdMcQaTask::fh_mvd_nPointsEvt_station
private

MvdPoint histograms.

MVD points per event per station

Definition at line 117 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_mvd_p_prim

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_mvd_p_prim = nullptr
private

Definition at line 129 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_mvd_p_sec

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_mvd_p_sec = nullptr
private

Definition at line 130 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_mvd_pdg_all

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_mvd_pdg_all = nullptr
private

species for all MVD points

Definition at line 124 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_mvd_pdg_prim

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_mvd_pdg_prim = nullptr
private

species for primary MVD points

Definition at line 125 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_mvd_pdg_sec

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_mvd_pdg_sec = nullptr
private

species for secondary MVD points

Definition at line 126 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_mvd_xy_prim_station

std::vector<TH2D*> cbm::mvd::CbmMvdMcQaTask::fh_mvd_xy_prim_station
private

X-Y for primary MVD points per station.

Definition at line 120 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_mvd_xy_sec_station

std::vector<TH2D*> cbm::mvd::CbmMvdMcQaTask::fh_mvd_xy_sec_station
private

X-Y for secondary MVD points per station.

Definition at line 121 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_nDeltaEvt

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_nDeltaEvt = nullptr
private

number of secondary e+- with hits per event

Definition at line 102 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_nHitTracksEvt

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_nHitTracksEvt = nullptr
private

unique non-primary tracks with hits per event

Definition at line 101 of file CbmMvdMcQaTask.h.

◆ fh_nMvdPointsEvt

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_nMvdPointsEvt = nullptr
private

MVD points per event.

Definition at line 100 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_nTracksAll

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_nTracksAll = nullptr
private

Histograms.

MC tracks per event

Definition at line 99 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMcTracks().

◆ fh_sec_count_bySpecies

TH1D* cbm::mvd::CbmMvdMcQaTask::fh_sec_count_bySpecies = nullptr
private

overall counts (non-primary tracks with hits) by coarse species class

Definition at line 136 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fh_xy_points

std::vector<TH2D*> cbm::mvd::CbmMvdMcQaTask::fh_xy_points
private

x vs y map of points vs. station ID (non-primaries)

Definition at line 139 of file CbmMvdMcQaTask.h.

◆ fh_xy_points_nonprim

TH2D* cbm::mvd::CbmMvdMcQaTask::fh_xy_points_nonprim = nullptr
private

x vs y map of points (non-primaries)

Definition at line 138 of file CbmMvdMcQaTask.h.

◆ fhCountMvdPoint

std::vector<TH1D*> cbm::mvd::CbmMvdMcQaTask::fhCountMvdPoint
private

Definition at line 140 of file CbmMvdMcQaTask.h.

◆ fHistsElossKeVByPDG

std::array<std::unordered_map<int, TH1F*>, kNumOrigins> cbm::mvd::CbmMvdMcQaTask::fHistsElossKeVByPDG
private

Definition at line 83 of file CbmMvdMcQaTask.h.

Referenced by GetOrBookElossHist().

◆ fhZdistMvd

TH1D* cbm::mvd::CbmMvdMcQaTask::fhZdistMvd = nullptr
private

Definition at line 142 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and ProcessMvdPoints().

◆ fKeVBin

int cbm::mvd::CbmMvdMcQaTask::fKeVBin = 1
private

1 keV bins by default

Definition at line 90 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and SetKeVRange().

◆ fKeVMax

int cbm::mvd::CbmMvdMcQaTask::fKeVMax = 2000
private

dE settings

x-axis max in keV (default 2 MeV)

Definition at line 89 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), and SetKeVRange().

◆ fLists

std::array<TList*, kNumOrigins> cbm::mvd::CbmMvdMcQaTask::fLists {}
private

Definition at line 84 of file CbmMvdMcQaTask.h.

Referenced by GetOrBookElossHist(), and InitQa().

◆ fManager

FairRootManager* cbm::mvd::CbmMvdMcQaTask::fManager = nullptr
private

setup

Definition at line 62 of file CbmMvdMcQaTask.h.

Referenced by InitQa().

◆ fMcEventList

CbmMCEventList* cbm::mvd::CbmMvdMcQaTask::fMcEventList = nullptr
private

containers

Definition at line 66 of file CbmMvdMcQaTask.h.

Referenced by ExecQa(), and InitQa().

◆ fmCheckList

std::map<std::string, CheckFlags> CbmQaTask::fmCheckList
privateinherited

A QA check-list map.

The check list is updated with new entries with the StoreCheckResult(tag, result) function, which is to be called from the Check() function. The result is stored to CheckFlags::fResult field, while the CheckFlags::fStatus stays uninitialized. Than, when the ReadCheckListFromConfig() function is called, the fStatus is updated according to the check list entries in the qa_tasks_config_mcbm.yaml/qa_tasks_config_cbm.yaml. If the fStatus is false (default), the check is ignored in the final verdict making.

Definition at line 251 of file CbmQaTask.h.

Referenced by GetCheckList(), ReadCheckListFromConfig(), and StoreCheckResult().

◆ fMcManager

CbmMCDataManager* cbm::mvd::CbmMvdMcQaTask::fMcManager = nullptr
private

Definition at line 63 of file CbmMvdMcQaTask.h.

Referenced by InitQa().

◆ fMcTracks

CbmMCDataArray* cbm::mvd::CbmMvdMcQaTask::fMcTracks = nullptr
private

Definition at line 68 of file CbmMvdMcQaTask.h.

Referenced by ClassifyTrack_(), InitQa(), ProcessMcTracks(), and ProcessMvdPoints().

◆ fMvdPoints

CbmMCDataArray* cbm::mvd::CbmMvdMcQaTask::fMvdPoints = nullptr
private

Definition at line 67 of file CbmMvdMcQaTask.h.

Referenced by InitQa(), and ProcessMvdPoints().

◆ fNofEvents

TParameter<int> CbmQaTask::fNofEvents {"nEvents", 0}
privateinherited

Number of processed events.

Definition at line 256 of file CbmQaTask.h.

Referenced by Exec(), Finish(), and GetEventNumber().

◆ fNStations

Int_t cbm::mvd::CbmMvdMcQaTask::fNStations = 4
private

Number of stations in MVD: TODO: Get Number of station from data file itself.

Definition at line 74 of file CbmMvdMcQaTask.h.

Referenced by BookHists_(), ProcessMvdPoints(), and SetNumberOfStations().

◆ fOriginBuf

std::vector<Origin> cbm::mvd::CbmMvdMcQaTask::fOriginBuf
private

origin by track index

Definition at line 72 of file CbmMvdMcQaTask.h.

Referenced by ProcessMcTracks(), and ProcessMvdPoints().

◆ fpBenchmarkInput

std::shared_ptr<TFile> CbmQaTask::fpBenchmarkInput = nullptr
privateinherited

A file with default ROOT objects used for the cross-check.

Definition at line 261 of file CbmQaTask.h.

Referenced by SetCheckFile().

◆ fpBenchmarkOutput

std::shared_ptr<TFile> CbmQaTask::fpBenchmarkOutput = nullptr
privateinherited

An output file for histograms cross-check.

Definition at line 262 of file CbmQaTask.h.

Referenced by CompareTwoObjects(), and SetCompareOutput().

◆ fpBrEvents

TClonesArray* CbmQaTask::fpBrEvents = nullptr
privateinherited

Pointer to CbmEvent branch.

Definition at line 253 of file CbmQaTask.h.

Referenced by Exec(), and Init().

◆ fpCurrentEvent

CbmEvent* CbmQaTask::fpCurrentEvent = nullptr
privateinherited

Pointer to the current event.

Definition at line 254 of file CbmQaTask.h.

Referenced by Exec(), and GetCurrentEvent().

◆ fPdgBuf

std::vector<int> cbm::mvd::CbmMvdMcQaTask::fPdgBuf
private

per-event caches

pdg by track index

Definition at line 71 of file CbmMvdMcQaTask.h.

Referenced by ProcessMcTracks(), and ProcessMvdPoints().

◆ fpvObjList

std::shared_ptr<ObjList_t> CbmQaIO::fpvObjList = nullptr
protectedinherited

List of registered ROOT objects.

Definition at line 161 of file CbmQaIO.h.

Referenced by CbmQaIO(), ConstructAndRegisterQaObject(), cbm::ca::TrackTypeQa::Init(), cbm::ca::OutputQa::InitQa(), and WriteToFile().

◆ fRecoMode

ECbmRecoMode CbmQaTask::fRecoMode = ECbmRecoMode::Timeslice
privateinherited

Reconstruction mode.

Definition at line 242 of file CbmQaTask.h.

Referenced by CbmQaTask(), Init(), and SetRecoMode().

◆ fsConfigName

TString CbmQaIO::fsConfigName = ""
protectedinherited

Name of configuration file.

Examples
/tmp/builds/computing/cbmroot/core/qa/CbmQaIO.h.

Definition at line 157 of file CbmQaIO.h.

Referenced by GetConfigName(), and SetConfigName().

◆ fsDefaultTag

TString CbmQaTask::fsDefaultTag = ""
privateinherited

Default tag (git SHA etc.)

Definition at line 259 of file CbmQaTask.h.

Referenced by CompareTwoObjects(), GetDefaultTag(), and SetDefaultTag().

◆ fsPrefix

TString CbmQaIO::fsPrefix = ""
protectedinherited

Unique prefix for all writeable root.

Definition at line 158 of file CbmQaIO.h.

Referenced by CbmQaIO(), cbm::ca::TrackFitQa::CreatePullPlot(), cbm::ca::TrackTypeQa::Init(), and cbm::ca::OutputQa::InitQa().

◆ fsRootFolderName

TString CbmQaIO::fsRootFolderName = ""
protectedinherited

◆ fsSetupName

std::string CbmQaTask::fsSetupName = ""
privateinherited

Name of the setup (to draw on the canvases)

Definition at line 255 of file CbmQaTask.h.

Referenced by GetSetupName(), PutSetupNameOnPad(), and SetSetupName().

◆ fStoringMode

EStoringMode CbmQaIO::fStoringMode = EStoringMode::kSUBDIR
protectedinherited

◆ fsVersionTag

TString CbmQaTask::fsVersionTag = ""
privateinherited

Version tag (git SHA etc.)

Definition at line 258 of file CbmQaTask.h.

Referenced by CompareTwoObjects(), GetVersionTag(), and SetVersionTag().

◆ fZMaxStation0

double cbm::mvd::CbmMvdMcQaTask::fZMaxStation0 = -34
private

Definition at line 93 of file CbmMvdMcQaTask.h.

Referenced by GetStationIdFromZ_().

◆ fZMaxStation1

double cbm::mvd::CbmMvdMcQaTask::fZMaxStation1 = -30
private

Definition at line 94 of file CbmMvdMcQaTask.h.

Referenced by GetStationIdFromZ_().

◆ fZMaxStation2

double cbm::mvd::CbmMvdMcQaTask::fZMaxStation2 = -26
private

Definition at line 95 of file CbmMvdMcQaTask.h.

Referenced by GetStationIdFromZ_().

◆ fZMaxStation3

double cbm::mvd::CbmMvdMcQaTask::fZMaxStation3 = -22
private

Definition at line 96 of file CbmMvdMcQaTask.h.

Referenced by GetStationIdFromZ_().

◆ fZMinStation0

double cbm::mvd::CbmMvdMcQaTask::fZMinStation0 = -38
private

TODO: Remove when we have getter for number of station directly from CbmMvdPoint.

Definition at line 93 of file CbmMvdMcQaTask.h.

Referenced by GetStationIdFromZ_().

◆ fZMinStation1

double cbm::mvd::CbmMvdMcQaTask::fZMinStation1 = -34
private

Definition at line 94 of file CbmMvdMcQaTask.h.

Referenced by GetStationIdFromZ_().

◆ fZMinStation2

double cbm::mvd::CbmMvdMcQaTask::fZMinStation2 = -30
private

Definition at line 95 of file CbmMvdMcQaTask.h.

Referenced by GetStationIdFromZ_().

◆ fZMinStation3

double cbm::mvd::CbmMvdMcQaTask::fZMinStation3 = -26
private

Definition at line 96 of file CbmMvdMcQaTask.h.

Referenced by GetStationIdFromZ_().

◆ kNumOrigins

int cbm::mvd::CbmMvdMcQaTask::kNumOrigins = 5
staticconstexprprivate

Definition at line 82 of file CbmMvdMcQaTask.h.

Referenced by GetOrBookElossHist(), and InitQa().

◆ kOriginName

const char* cbm::mvd::CbmMvdMcQaTask::kOriginName[kNumOrigins] = {"all", "primary", "secondary", "deltaSec", "other"}
staticconstexprprivate

Definition at line 85 of file CbmMvdMcQaTask.h.

Referenced by GetOrBookElossHist(), and InitQa().


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