|
CbmRoot
|
QA-task for CA tracking output results. More...
#include <CbmCaOutputQa.h>
Classes | |
| struct | DrawAtt |
| Structure to keep drawing attributes of histograms. More... | |
Public Types | |
| enum class | EStoringMode { kSAMEDIR , kSUBDIR } |
| using | ObjList_t = std::vector<std::pair<TObject*, TString>> |
Public Member Functions | |
| OutputQa (int verbose, bool isMCUsed, ECbmRecoMode recoMode=ECbmRecoMode::EventByEvent) | |
| Constructor from parameters. | |
| void | AddTrackType (ETrackType type, bool flag=true) |
| Adds track type. | |
| void | EnableDebugger (const char *filename) |
| Enables debugger. | |
| void | SetEventDisplay (bool bDrawEvents, int minNofPoints=2) |
| Sets event display. | |
| void | SetUseMvd (bool flag=true) |
| Sets MVD use flag. | |
| void | SetUseSts (bool flag=true) |
| Sets STS use flag. | |
| void | SetUseMuch (bool flag=true) |
| Sets MuCh use flag. | |
| void | SetUseTrd (bool flag=true) |
| Sets TRD use flag. | |
| void | SetUseTof (bool flag=true) |
| Sets TOF use flag. | |
| void | SetStsTrackingMode () |
| Sets STS tracking mode. | |
| void | SetMcbmTrackingMode () |
| Sets mCBM global tracking mode. | |
| void | SetPerformanceMode (int mode) |
| Sets performance mode. | |
| void | SetTrackTypeListForSummary (std::set< ETrackType > &&trackTypes) |
| Set track type list for summary table. | |
| void | SetNofThreads (int nThreads) |
| Sets number of threads to use for filling histograms. | |
| void | SetMaxExtrapolationStep (double maxStep) |
| Sets maximum extrapolation step. | |
| 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 | |
| void | Check () override |
| Method to check, if the QA results are acceptable. | |
| void | CreateSummary () override |
| Creates summary cavases, tables etc. | |
| void | DeInit () override |
| De-initializes histograms. | |
| void | FillTrackTypeHistograms () |
| Fills histograms for a given track types. | |
| InitStatus | InitQa () override |
| Initialises the QA-task. | |
| void | ExecQa () override |
| Fills histograms from time slice or event. | |
| 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. | |
| CbmEvent * | GetCurrentEvent () |
| 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< Config > | ReadSpecificConfig () 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_t > | fpvObjList = nullptr |
| List of registered ROOT objects. | |
| YAML::Node | fConfigNode {} |
| Configuration node. | |
Private Types | |
| enum class | EMonitorKey { kEvent , kTrack , kHit , kMcTrack , kMcPoint , END } |
| QA monitor counters. More... | |
| template<typename T> | |
| using | TTypeArr_t = std::array<T, ETrackType::END> |
| Array for track type properties. | |
Private Member Functions | |
| void | FillMCTrack (ETrackType type, int iTrkMC) |
| Fills MC track by its index. | |
| void | DrawEvent () |
| Draws event. | |
| template<class TObj> | |
| void | DrawSetOf (const std::vector< ETrackType > &vTypes, std::function< TObj *(ETrackType)> GetObj) |
| Utility function to draw a generic comparison of histograms from different track types. | |
| void | InitDrawingAttributes () |
| Defines drawing attributes for histograms of different track types. | |
| cbm::ca::TrackTypeQa::FitQaPointSet | CreateFitQaPointSet (int iTrkReco) const |
| ClassDefOverride (OutputQa, 0) | |
| 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. | |
Private Attributes | |
| bool | fbUseMvd = false |
| is MVD used | |
| bool | fbUseSts = false |
| is STS used | |
| bool | fbUseMuch = false |
| is MuCh used | |
| bool | fbUseTrd = false |
| is TRD used | |
| bool | fbUseTof = false |
| is TOF used | |
| bool | fbDrawEvents = false |
| flag to draw events with the event display | |
| int | fEvtDisplayMinNofPoints = 2 |
| minimum number of MC points in the event display | |
| int | fPerformanceMode = 1 |
| Performance mode. | |
| ECbmCaTrackingMode | fTrackingMode = ECbmCaTrackingMode::kSTS |
| Tracking mode. | |
| std::string | fsParametersFilename = "" |
| std::unique_ptr< TimeSliceReader > | fpTSReader = nullptr |
| Reader of the time slice. | |
| std::shared_ptr< MCModule > | fpMCModule = nullptr |
| MC module. | |
| std::shared_ptr< ca::DataManager > | fpDataManager = nullptr |
| Data manager. | |
| std::shared_ptr< tools::Debugger > | fpDebugger = nullptr |
| Debugger. | |
| std::shared_ptr< const ca::Parameters< double > > | fpParameters = nullptr |
| Tracking parameters object. | |
| ca::Vector< CbmL1HitId > | fvHitIds {"CbmCaOutputQa::fvHitIds"} |
| ca::Vector< cbm::algo::ca::McHitInfo > | fvHits {"CbmCaOutputQa::fvHits"} |
| ca::Vector< CbmL1Track > | fvRecoTracks {"CbmCaOutputQa::fvRecoTracks"} |
| ca::McData | fMCData |
| Input MC data (points and tracks) | |
| cbm::ca::tools::Debugger | fDebugger {nullptr} |
| debugger | |
| CbmKfTrackFitter | fTrackFitter |
| Track fitter. | |
| int | fNthreads {-1} |
| double | fMaxExtrapolationStep {-1.} |
| Maximum extrapolation step [cm], set when it is > 0. | |
| ca::Monitor< EMonitorKey > | fMonitor {"Output tracking QA"} |
| std::set< ETrackType > | fmSummaryTableEntries |
| Which track types should be listed in the summary table. | |
| TTypeArr_t< std::string > | fvsTrackTypeName |
| Array of track type unique names. | |
| TTypeArr_t< std::unique_ptr< TrackTypeQa > > | fvpTrackHistograms |
| Histogrammers for different track types. | |
| TTypeArr_t< bool > | fvbTrackTypeOn = {0} |
| Usage flag for different track types. | |
| TTypeArr_t< DrawAtt > | fvTrackDrawAtts |
| Drawing attributes for track types. | |
| bool | fbUseMC = false |
| Flag, if MC is used. | |
| ECbmRecoMode | fRecoMode = ECbmRecoMode::Timeslice |
| Reconstruction mode. | |
| std::map< std::string, CheckFlags > | fmCheckList |
| A QA check-list map. | |
| TClonesArray * | fpBrEvents = nullptr |
| Pointer to CbmEvent branch. | |
| CbmEvent * | fpCurrentEvent = 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 bool | kEXPTRACKFILL = false |
| static constexpr int | kCXSIZEPX = 600 |
| Canvas size along x-axis [px]. | |
| static constexpr int | kCYSIZEPX = 600 |
| Canvas size along y-axis [px]. | |
QA-task for CA tracking output results.
Definition at line 102 of file CbmCaOutputQa.h.
|
inherited |
|
private |
Array for track type properties.
Definition at line 112 of file CbmCaOutputQa.h.
|
strongprivate |
QA monitor counters.
| Enumerator | |
|---|---|
| kEvent | |
| kTrack | |
| kHit | |
| kMcTrack | |
| kMcPoint | |
| END | |
Definition at line 281 of file CbmCaOutputQa.h.
|
stronginherited |
| OutputQa::OutputQa | ( | int | verbose, |
| bool | isMCUsed, | ||
| ECbmRecoMode | recoMode = ECbmRecoMode::EventByEvent ) |
Constructor from parameters.
| verbose | Verbosity level |
| isMCUsed | Flag, if MC information is available for this task |
| recoMode | Reconstruction mode (see documentation for the CbmQaTask::SetRecoMode function) |
Definition at line 33 of file CbmCaOutputQa.cxx.
|
inline |
Adds track type.
| type | Track type |
| flag | Flag: true/false |
Adds a track type for building distributions. By default, only all, primary, secondary and ghost track distributions are booked.
Definition at line 133 of file CbmCaOutputQa.h.
|
overrideprotectedvirtual |
Method to check, if the QA results are acceptable.
Implements CbmQaTask.
Definition at line 86 of file CbmCaOutputQa.cxx.
|
protectedinherited |
Function to check, if a property is defined.
Definition at line 177 of file CbmQaIO.h.
Referenced by MakeQaObject().
|
protectedinherited |
Checks range of variable.
| name | Name of the variable |
| var | Variable to check |
| lo | Lower limit of the variable |
| hi | Upper limit of the variable |
Definition at line 275 of file CbmQaTask.h.
References CheckRange().
Referenced by CheckRange(), and CheckRange().
|
protectedinherited |
Checks range of variable.
| name | Name of the variable |
| var | Variable to check |
| varErr | Standard Error of the variable |
| lo | Lower limit of the variable |
| hi | Upper limit of the variable |
Definition at line 283 of file CbmQaTask.h.
|
protectedinherited |
Checks ranges for mean and standard deviation.
Definition at line 141 of file CbmQaTask.cxx.
References CheckRange().
|
private |
|
inherited |
Process ROOT objects comparison.
Definition at line 162 of file CbmQaTask.cxx.
References CbmQaIO::fConfigNode.
|
privateinherited |
Process object comparison.
| Obj | Class of the ROOT object |
| pObjL | First object (this) |
| pObjR | Second object (default) |
| objName | Name of the object (contains full path to the object) |
| cfg | Comparison configuration entry |
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.
|
privateinherited |
Creates and registers a ROOT object.
| name | A name of the ROOT object, which can contain a sub-directory |
| args | Other arguments, passed to the ROOT object constructor |
Definition at line 197 of file CbmQaIO.h.
References fpvObjList, fsRootFolderName, fStoringMode, kSUBDIR, SetCanvasProperties(), SetTH1Properties(), SetTH2Properties(), and SetTProfile2DProperties().
Referenced by MakeQaObject().
|
private |
Definition at line 1178 of file CbmCaOutputQa.cxx.
|
overrideprotectedvirtual |
Creates summary cavases, tables etc.
Set of track types to compare
Function to draw generic canvas of histogram comparison
Function to draw generic canvas of efficiencies comparison
Reimplemented from CbmQaTask.
Definition at line 791 of file CbmCaOutputQa.cxx.
|
inlineoverrideprotectedvirtual |
De-initializes histograms.
Reimplemented from CbmQaTask.
Definition at line 213 of file CbmCaOutputQa.h.
|
privateinherited |
De-initializes this task.
Definition at line 129 of file CbmQaTask.cxx.
References DeInit().
Referenced by Init().
|
inherited |
Disables event-by-event execution.
By default, if the branch
|
private |
Draws event.
Definition at line 138 of file CbmCaOutputQa.cxx.
|
private |
Utility function to draw a generic comparison of histograms from different track types.
| TObj | Type of ROOT object |
| vTypes | Vector of types to draw |
| GetObj | Function, returning an object of a given type |
Definition at line 324 of file CbmCaOutputQa.h.
|
inline |
Enables debugger.
| filename | Name of output ROOT file |
Creates a debugger and enables its usage inside a QA task
Definition at line 139 of file CbmCaOutputQa.h.
|
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.
|
overrideprotectedvirtual |
Fills histograms from time slice or event.
Reimplemented from CbmQaTask.
Definition at line 413 of file CbmCaOutputQa.cxx.
|
inlineprivate |
Fills MC track by its index.
| type | Track type |
| iTrkReco | Index of MC track |
Definition at line 345 of file CbmCaOutputQa.h.
|
protected |
Fills histograms for a given track types.
|
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().
|
inlineinherited |
|
inlineinherited |
|
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().
|
inlineinherited |
|
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().
|
inlineinherited |
|
inlineinherited |
|
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().
|
private |
Defines drawing attributes for histograms of different track types.
Definition at line 1127 of file CbmCaOutputQa.cxx.
|
overrideprotectedvirtual |
Initialises the QA-task.
Reimplemented from CbmQaTask.
Definition at line 914 of file CbmCaOutputQa.cxx.
|
inlineinherited |
Returns flag, whether MC information is used or not in the task.
Definition at line 126 of file CbmQaTask.h.
References fbUseMC.
Referenced by cbm::ca::OutputQa::Check(), cbm::mvd::CbmMvdMcQaTask::Check(), CbmCaInputQaBase< DetID >::Check(), CbmRichRingRecoQa::Check(), cbm::ca::InputQaSetup::CheckInit(), cbm::ca::OutputQa::CreateFitQaPointSet(), cbm::ca::OutputQa::CreateSummary(), CbmCaInputQaBase< DetID >::CreateSummary(), cbm::ca::OutputQa::DrawEvent(), cbm::ca::OutputQa::DrawSetOf(), cbm::ca::OutputQa::ExecQa(), cbm::mvd::CbmMvdMcQaTask::ExecQa(), CbmCaInputQaBase< DetID >::ExecQa(), CbmRichRingRecoQa::ExecQa(), cbm::ca::InputQaSetup::FillHistogramsDet(), CbmRichRingRecoQa::InitHistograms(), cbm::ca::InputQaSetup::InitQa(), cbm::ca::OutputQa::InitQa(), cbm::mvd::CbmMvdMcQaTask::InitQa(), CbmCaInputQaBase< DetID >::InitQa(), and CbmRichRingRecoQa::InitQa().
|
inherited |
Definition at line 132 of file CbmQaIO.cxx.
References fsRootFolderName.
Referenced by cbm::ca::InputQaSetup::InitQa(), and CbmCaInputQaBase< DetID >::InitQa().
|
inherited |
Definition at line 260 of file CbmQaIO.h.
References CheckProperty(), ConstructAndRegisterQaObject(), and fConfigNode.
Referenced by cbm::mvd::CbmMvdMcQaTask::BookHists_(), cbm::ca::OutputQa::Check(), CbmRichRingRecoQa::Check(), cbm::ca::TrackFitQa::CreatePullPlot(), cbm::ca::TrackFitQa::CreateResidualPlot(), cbm::ca::InputQaSetup::CreateSummary(), cbm::ca::OutputQa::CreateSummary(), CbmCaInputQaBase< DetID >::CreateSummary(), cbm::ca::OutputQa::DrawEvent(), cbm::ca::TrackFitQa::Init(), cbm::ca::TrackTypeQa::Init(), cbm::kfp::V0FinderQa::InitHistograms(), CbmRichRingRecoQa::InitHistograms(), cbm::ca::InputQaSetup::InitQa(), and CbmCaInputQaBase< DetID >::InitQa().
|
protectedinherited |
Puts setup title on the canvas.
Definition at line 248 of file CbmQaTask.cxx.
References fsSetupName.
Referenced by cbm::ca::InputQaSetup::CreateSummary().
|
inherited |
Reads check-list from the configuration file.
Definition at line 263 of file CbmQaTask.cxx.
References CbmQaIO::fConfigNode, and fmCheckList.
|
inlineprotectedinherited |
Reads the specific configuration structure from the YAML node.
| Config | Type of the configuration class |
The function is to be called in the user-defined class method InitDataBranches
Definition at line 126 of file CbmQaIO.h.
References fConfigNode, and cbm::util::yaml::Read().
Referenced by CbmCaInputQaBase< DetID >::InitQa().
|
finaloverrideprotectedinherited |
|
protectedvirtualinherited |
Applies properties on the canvas created with the MakeQaObject funciton.
| pCanv | Pointer to the canvas |
Definition at line 84 of file CbmQaIO.cxx.
Referenced by ConstructAndRegisterQaObject().
|
inlineinherited |
Sets check-file.
| pCheckFile | Shared pointer to the cross-check file |
Definition at line 134 of file CbmQaTask.h.
References fpBenchmarkInput.
|
inlineinherited |
Sets compare output file.
| pCompareOutput | Shared pointer to the comparison output file |
Definition at line 138 of file CbmQaTask.h.
References fpBenchmarkOutput.
|
inherited |
Creates a ROOT object.
Sets config name
| name | A path to the config |
Definition at line 95 of file CbmQaIO.cxx.
References fsConfigName.
|
inlineinherited |
|
inline |
Sets event display.
| flag | On/off |
| minNofPoints | Minimum number of points to draw the event |
The event display draws xz- and yz-projection of the event snapshot, which includes MC and Reco tracks, hits and MC-points
Definition at line 152 of file CbmCaOutputQa.h.
|
inline |
Sets maximum extrapolation step.
| maxStep | Maximum extrapolation step [cm] |
Definition at line 203 of file CbmCaOutputQa.h.
|
inline |
Sets mCBM global tracking mode.
Definition at line 182 of file CbmCaOutputQa.h.
|
inline |
Sets number of threads to use for filling histograms.
| nThreads | Number of threads to use |
Definition at line 198 of file CbmCaOutputQa.h.
|
inline |
Sets performance mode.
| mode | Performance mode (1 is default: TODO - test) |
Definition at line 186 of file CbmCaOutputQa.h.
|
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.
|
inlineinherited |
Sets a common root path to the objects in the output file.
| path | A path to the object |
Definition at line 108 of file CbmQaIO.h.
References fsRootFolderName.
Referenced by CbmQaTask::CbmQaTask().
|
inlineinherited |
|
inlineinherited |
Set storing mode.
Definition at line 111 of file CbmQaIO.h.
References fStoringMode.
Referenced by CbmCaInputQaBase< DetID >::CbmCaInputQaBase().
|
inline |
Sets STS tracking mode.
Definition at line 179 of file CbmCaOutputQa.h.
|
protectedvirtualinherited |
Applies properties on the histogram created with the MakeQaObject function.
| pHist | Pointer to the histogram |
Reimplemented in cbm::ca::TrackTypeQa, and TrackTypeQa.
Definition at line 36 of file CbmQaIO.cxx.
References cbm::qa::util::GetHistStats().
Referenced by ConstructAndRegisterQaObject().
|
protectedvirtualinherited |
Applies properties on the histogram created with the MakeQaObject function.
| pHist | Pointer to the histogram |
Definition at line 50 of file CbmQaIO.cxx.
Referenced by ConstructAndRegisterQaObject().
|
protectedvirtualinherited |
Applies properties on the profile 2D created with the MakeQaObject function.
| pHist | Pointer to the profile |
Definition at line 67 of file CbmQaIO.cxx.
Referenced by ConstructAndRegisterQaObject().
|
inline |
Set track type list for summary table.
| trackTypes | A of track type set |
Definition at line 190 of file CbmCaOutputQa.h.
|
inline |
Sets MuCh use flag.
| flag | Boolean flag: true - detector subsystem is used, false - detector subsystem is ignored |
Definition at line 168 of file CbmCaOutputQa.h.
|
inline |
Sets MVD use flag.
| flag | Boolean flag: true - detector subsystem is used, false - detector subsystem is ignored |
Definition at line 160 of file CbmCaOutputQa.h.
|
inline |
Sets STS use flag.
| flag | Boolean flag: true - detector subsystem is used, false - detector subsystem is ignored |
Definition at line 164 of file CbmCaOutputQa.h.
|
inline |
Sets TOF use flag.
| flag | Boolean flag: true - detector subsystem is used, false - detector subsystem is ignored |
Definition at line 176 of file CbmCaOutputQa.h.
|
inline |
Sets TRD use flag.
| flag | Boolean flag: true - detector subsystem is used, false - detector subsystem is ignored |
Definition at line 172 of file CbmCaOutputQa.h.
|
inlineinherited |
|
protectedinherited |
Stores check flag to the check-list.
| tag | The flag name |
| result | Check result |
| msg | Supporting message (optional) |
Definition at line 311 of file CbmQaTask.cxx.
References fmCheckList.
Referenced by CbmRichRingRecoQa::Check().
|
protectedinherited |
Writes objects into file.
| pOutFile | Pointer to output ROOT file |
Definition at line 116 of file CbmQaIO.cxx.
References fpvObjList.
Referenced by CbmQaTask::Finish().
|
private |
flag to draw events with the event display
Definition at line 252 of file CbmCaOutputQa.h.
|
privateinherited |
Flag, if MC is used.
Definition at line 240 of file CbmQaTask.h.
Referenced by CbmQaTask(), and IsMCUsed().
|
private |
is MuCh used
Definition at line 249 of file CbmCaOutputQa.h.
|
private |
is MVD used
Definition at line 247 of file CbmCaOutputQa.h.
|
private |
is STS used
Definition at line 248 of file CbmCaOutputQa.h.
|
private |
is TOF used
Definition at line 251 of file CbmCaOutputQa.h.
|
private |
is TRD used
Definition at line 250 of file CbmCaOutputQa.h.
|
protectedinherited |
Configuration node.
Definition at line 163 of file CbmQaIO.h.
Referenced by CbmQaTask::CompareQaObjects(), MakeQaObject(), CbmQaTask::ReadCheckListFromConfig(), and ReadSpecificConfig().
|
private |
debugger
Definition at line 271 of file CbmCaOutputQa.h.
|
private |
minimum number of MC points in the event display
Definition at line 253 of file CbmCaOutputQa.h.
|
private |
Maximum extrapolation step [cm], set when it is > 0.
Definition at line 277 of file CbmCaOutputQa.h.
|
private |
Input MC data (points and tracks)
Definition at line 268 of file CbmCaOutputQa.h.
|
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().
|
private |
Definition at line 291 of file CbmCaOutputQa.h.
|
private |
Which track types should be listed in the summary table.
Definition at line 293 of file CbmCaOutputQa.h.
|
privateinherited |
Number of processed events.
Definition at line 256 of file CbmQaTask.h.
Referenced by Exec(), Finish(), and GetEventNumber().
|
private |
Number of threads to use for track extrapolation. If negative, it is read from the environment variable OMP_NUM_THREADS If still not set, it is set to 1.
Definition at line 274 of file CbmCaOutputQa.h.
|
privateinherited |
A file with default ROOT objects used for the cross-check.
Definition at line 261 of file CbmQaTask.h.
Referenced by SetCheckFile().
|
privateinherited |
An output file for histograms cross-check.
Definition at line 262 of file CbmQaTask.h.
Referenced by CompareTwoObjects(), and SetCompareOutput().
|
privateinherited |
Pointer to CbmEvent branch.
Definition at line 253 of file CbmQaTask.h.
|
privateinherited |
Pointer to the current event.
Definition at line 254 of file CbmQaTask.h.
Referenced by Exec(), and GetCurrentEvent().
|
private |
Data manager.
Definition at line 261 of file CbmCaOutputQa.h.
|
private |
Definition at line 262 of file CbmCaOutputQa.h.
|
private |
Performance mode.
Definition at line 254 of file CbmCaOutputQa.h.
|
private |
MC module.
Definition at line 260 of file CbmCaOutputQa.h.
|
private |
Tracking parameters object.
Definition at line 263 of file CbmCaOutputQa.h.
|
private |
Reader of the time slice.
Definition at line 259 of file CbmCaOutputQa.h.
|
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().
|
privateinherited |
Reconstruction mode.
Definition at line 242 of file CbmQaTask.h.
Referenced by CbmQaTask(), Init(), and SetRecoMode().
|
protectedinherited |
Name of configuration file.
Definition at line 157 of file CbmQaIO.h.
Referenced by GetConfigName(), and SetConfigName().
|
privateinherited |
Default tag (git SHA etc.)
Definition at line 259 of file CbmQaTask.h.
Referenced by CompareTwoObjects(), GetDefaultTag(), and SetDefaultTag().
|
private |
Definition at line 258 of file CbmCaOutputQa.h.
|
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().
|
protectedinherited |
Name of root folder.
Definition at line 156 of file CbmQaIO.h.
Referenced by ConstructAndRegisterQaObject(), cbm::ca::TrackTypeQa::Init(), cbm::ca::OutputQa::InitQa(), MakeQaDirectory(), and SetRootFolderName().
|
privateinherited |
Name of the setup (to draw on the canvases)
Definition at line 255 of file CbmQaTask.h.
Referenced by GetSetupName(), PutSetupNameOnPad(), and SetSetupName().
|
protectedinherited |
Objects storing mode.
Definition at line 160 of file CbmQaIO.h.
Referenced by CbmQaTask::CbmQaTask(), ConstructAndRegisterQaObject(), SetStoringMode(), cbm::ca::TrackFitQa::TrackFitQa(), and cbm::ca::TrackTypeQa::TrackTypeQa().
|
privateinherited |
Version tag (git SHA etc.)
Definition at line 258 of file CbmQaTask.h.
Referenced by CompareTwoObjects(), GetVersionTag(), and SetVersionTag().
|
private |
Track fitter.
Definition at line 273 of file CbmCaOutputQa.h.
|
private |
Tracking mode.
Definition at line 256 of file CbmCaOutputQa.h.
|
private |
Usage flag for different track types.
Definition at line 301 of file CbmCaOutputQa.h.
|
private |
Definition at line 265 of file CbmCaOutputQa.h.
|
private |
Definition at line 266 of file CbmCaOutputQa.h.
|
private |
Histogrammers for different track types.
Definition at line 300 of file CbmCaOutputQa.h.
|
private |
Definition at line 267 of file CbmCaOutputQa.h.
|
private |
Array of track type unique names.
Definition at line 299 of file CbmCaOutputQa.h.
|
private |
Drawing attributes for track types.
Definition at line 302 of file CbmCaOutputQa.h.
|
staticconstexprprivate |
Canvas size along x-axis [px].
Definition at line 308 of file CbmCaOutputQa.h.
|
staticconstexprprivate |
Canvas size along y-axis [px].
Definition at line 309 of file CbmCaOutputQa.h.
|
staticconstexprprivate |
Definition at line 108 of file CbmCaOutputQa.h.