CbmRoot
|
#include <CbmCaInputQaTrd.h>
Public Types | |
enum class | EStoringMode { kSAMEDIR , kSUBDIR } |
using | ObjList_t = std::vector<std::pair<TObject*, TString>> |
Public Member Functions | |
CbmCaInputQaTrd (int verbose, bool isMCUsed) | |
Constructor from parameters. | |
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 Types | |
enum | EMonitorKey |
QA monitor counters. More... | |
using | Point_t |
Point type for a given detector ID. | |
using | Hit_t |
Hit type for a given detector ID. | |
Protected Member Functions | |
void | Check () override |
Method to check, if the QA results are acceptable. | |
void | CreateSummary () override |
Creates summary cavases, tables etc. | |
void | DefineParameters () override |
Defines parameters of the task. | |
void | DeInit () override |
De-initializes QA-task. | |
void | FillHistogramsPerHit () override |
Fills histograms per hit. | |
void | ExecQa () override |
Fills histograms per event or time-slice. | |
InitStatus | InitQa () override |
Initializes QA. | |
virtual void | FillHistogramsPerPoint () |
Fills histograms per MC point. | |
std::pair< std::string, bool > | CheckRangePull (TH1 *h) const |
Checks ranges for mean and standard deviation. | |
const cbm::ca::HitQaData & | GetHitQaData () const |
Returns a pointer to current hit QA data object. | |
bool | IsTrackSelected (const CbmMCTrack *track, const Point_t *point) const |
checks if the track at mc point passes the track selection cuts | |
bool | IsHitAcceptable (const CbmPixelHit *pHit) const |
Checks, if the hit is acceptable (has reasonable parameters) | |
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 | |
cbm::algo::ca::Monitor< EMonitorKey > | fMonitor |
Monitor for the input QA. | |
Config | fConfig |
Task specific configuration parameters. | |
CbmTrackingDetectorInterfaceBase * | fpDetInterface |
Instance of detector interface. | |
CbmTimeSlice * | fpTimeSlice |
Pointer to current time-slice. | |
TClonesArray * | fpHits |
Array of hits. | |
TClonesArray * | fpClusters |
Array of hit clusters. | |
CbmMCDataManager * | fpMCDataManager |
MC data manager. | |
CbmMCEventList * | fpMCEventList |
MC event list. | |
CbmMCDataArray * | fpMCTracks |
Array of MC tracks. | |
CbmMCDataArray * | fpMCPoints |
Array of MC points. | |
TClonesArray * | fpHitMatches |
Array of hit matches. | |
int | fNbins |
General number of bins. | |
int | fNbinsZ |
Number of bins for z axis in overall views. | |
std::array< double, 2 > | fRHitDx |
Range for hit x coordinate error [cm]. | |
std::array< double, 2 > | fRHitDy |
Range for hit y coordinate error [cm]. | |
std::array< double, 2 > | fRHitDu |
Range for hit u coordinate error [cm]. | |
std::array< double, 2 > | fRHitDv |
Range for hit v coordinate error [cm]. | |
std::array< double, 2 > | fRHitDt |
Range for hit time error [ns]. | |
std::array< double, 2 > | fRResX |
Range for residual of x coordinate [cm]. | |
std::array< double, 2 > | fRResY |
Range for residual of y coordinate [cm]. | |
std::array< double, 2 > | fRResU |
Range for residual of u coordinate [cm]. | |
std::array< double, 2 > | fRResV |
Range for residual of v coordinate [cm]. | |
std::array< double, 2 > | fRResT |
Range for residual of time [ns]. | |
std::array< double, 2 > | fRangeDzHitPoint |
Range for z-pos difference of the hit and point [cm]. | |
std::vector< double > | frXmin |
Range for hit x coordinate [cm]. | |
std::vector< double > | frXmax |
Range for hit x coordinate [cm]. | |
std::vector< double > | frYmin |
Range for hit y coordinate [cm]. | |
std::vector< double > | frYmax |
Range for hit y coordinate [cm]. | |
std::vector< double > | frZmin |
Range for hit z coordinate [cm]. | |
std::vector< double > | frZmax |
Range for hit z coordinate [cm]. | |
std::vector< TH2F * > | fvph_hit_xy |
hit y vs x in different stations | |
std::vector< TH2F * > | fvph_hit_zx |
hit x vs z in different stations | |
std::vector< TH2F * > | fvph_hit_zy |
hit y vs z in different stations | |
std::vector< TH1F * > | fvph_hit_station_delta_z |
Difference between station and hit z positions [cm]. | |
std::vector< TH1F * > | fvph_hit_dx |
std::vector< TH1F * > | fvph_hit_dy |
std::vector< TH1F * > | fvph_hit_du |
std::vector< TH1F * > | fvph_hit_dv |
std::vector< TH1F * > | fvph_hit_kuv |
std::vector< TH1F * > | fvph_hit_dt |
std::vector< TH1F * > | fvph_n_points_per_hit |
number of points per one hit in different stations | |
std::vector< TH2F * > | fvph_point_xy |
point y vs x in different stations | |
std::vector< TH2F * > | fvph_point_zx |
point x vs z in different stations | |
std::vector< TH2F * > | fvph_point_zy |
point y vs z in different stations | |
std::vector< TH1F * > | fvph_point_hit_delta_z |
difference between z of hit and MC point in different stations | |
std::vector< TH1F * > | fvph_res_x |
residual for x coordinate in different stations | |
std::vector< TH1F * > | fvph_res_y |
residual for y coordinate in different stations | |
std::vector< TH1F * > | fvph_res_u |
residual for u coordinate in different stations | |
std::vector< TH1F * > | fvph_res_v |
residual for v coordinate in different stations | |
std::vector< TH1F * > | fvph_res_t |
residual for t coordinate in different stations | |
std::vector< TH2F * > | fvph_res_x_vs_x |
residual for x coordinate in different stations | |
std::vector< TH2F * > | fvph_res_y_vs_y |
residual for y coordinate in different stations | |
std::vector< TH2F * > | fvph_res_u_vs_u |
residual for u coordinate in different stations | |
std::vector< TH2F * > | fvph_res_v_vs_v |
residual for v coordinate in different stations | |
std::vector< TH2F * > | fvph_res_t_vs_t |
residual for t coordinate in different stations | |
std::vector< TH1F * > | fvph_pull_x |
pull for x coordinate in different stations | |
std::vector< TH1F * > | fvph_pull_y |
pull for y coordinate in different stations | |
std::vector< TH1F * > | fvph_pull_u |
pull for u coordinate in different stations | |
std::vector< TH1F * > | fvph_pull_v |
pull for v coordinate in different stations | |
std::vector< TH1F * > | fvph_pull_t |
pull for t coordinate in different stations | |
std::vector< TH2F * > | fvph_pull_x_vs_x |
pull for x coordinate in different stations | |
std::vector< TH2F * > | fvph_pull_y_vs_y |
pull for y coordinate in different stations | |
std::vector< TH2F * > | fvph_pull_u_vs_u |
pull for u coordinate in different stations | |
std::vector< TH2F * > | fvph_pull_v_vs_v |
pull for v coordinate in different stations | |
std::vector< TH2F * > | fvph_pull_t_vs_t |
pull for t coordinate in different stations | |
std::vector< TProfile2D * > | fvpe_reco_eff_vs_xy |
Efficiency of hit reconstruction vs. x and y coordinates of MC. | |
std::vector< TH1F * > | fvph_reco_eff |
Distribution of hit reconstruction efficiency in bins of fvpe_reco_eff_vs_xy. | |
cbm::ca::HitQaData | fHitQaData |
Current hit QA data object. | |
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. | |
Static Protected Attributes | |
static constexpr double | kNAN |
static constexpr int | kNbinsPull |
static constexpr double | kRPull [2] |
Range for pull histograms coordinate. | |
Private Member Functions | |
ClassDefOverride (CbmCaInputQaTrd, 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 | 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. | |
A QA-task class, which provides assurance of TOF hits and geometry
Definition at line 17 of file CbmCaInputQaTrd.h.
|
protectedinherited |
Hit type for a given detector ID.
Definition at line 56 of file CbmCaInputQaBase.h.
|
inherited |
|
protectedinherited |
Point type for a given detector ID.
Definition at line 55 of file CbmCaInputQaBase.h.
|
strongprotectedinherited |
QA monitor counters.
Definition at line 159 of file CbmCaInputQaBase.h.
|
stronginherited |
CbmCaInputQaTrd::CbmCaInputQaTrd | ( | int | verbose, |
bool | isMCUsed ) |
Constructor from parameters.
verbose | Verbose level |
isMCUsed | Flag, whether MC information is available for this task |
Definition at line 18 of file CbmCaInputQaTrd.cxx.
References DefineParameters().
|
inlineoverrideprotectedvirtual |
Method to check, if the QA results are acceptable.
Reimplemented from CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >.
Definition at line 26 of file CbmCaInputQaTrd.h.
References CbmCaInputQaBase< DetID >::Check().
|
protectedinherited |
Function to check, if a property is defined.
property | A property to be tested |
name | A name of property (used for logging) |
Definition at line 178 of file CbmQaIO.h.
Referenced by CbmQaIO::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 CbmQaTask::CheckRange().
Referenced by CbmQaTask::CheckRange(), and CbmQaTask::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 CbmQaTask::CheckRange().
|
protectedinherited |
Checks ranges for mean and standard deviation.
Definition at line 134 of file CbmCaInputQaBase.cxx.
|
private |
|
inherited |
Process ROOT objects comparison.
Definition at line 162 of file CbmQaTask.cxx.
References CbmQaTask::CompareTwoObjects(), CbmQaTask::ObjectComparisonConfig::fCanvOpt, CbmQaTask::ObjectComparisonConfig::fChi2NdfMax, CbmQaIO::fConfigNode, CbmQaTask::fpBenchmarkInput, CbmQaTask::ObjectComparisonConfig::fPoint, CbmQaIO::fpvObjList, CbmQaTask::ObjectComparisonConfig::fRatio, CbmQaTask::ObjectComparisonConfig::fRatioMax, CbmQaTask::ObjectComparisonConfig::fRatioMin, CbmQaIO::fsRootFolderName, and CbmQaTask::ObjectComparisonConfig::fStat.
|
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, CbmQaTask::fpBenchmarkOutput, CbmQaTask::ObjectComparisonConfig::fPoint, CbmQaTask::ObjectComparisonConfig::fRatio, CbmQaTask::ObjectComparisonConfig::fRatioMax, CbmQaTask::ObjectComparisonConfig::fRatioMin, CbmQaTask::fsDefaultTag, CbmQaTask::ObjectComparisonConfig::fStat, CbmQaTask::ObjectComparisonConfig::fStatOpt, and CbmQaTask::fsVersionTag.
Referenced by CbmQaTask::CompareQaObjects().
|
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 198 of file CbmQaIO.h.
References CbmQaIO::fpvObjList, CbmQaIO::fsRootFolderName, CbmQaIO::fStoringMode, CbmQaIO::kSUBDIR, CbmQaIO::SetCanvasProperties(), CbmQaIO::SetTH1Properties(), CbmQaIO::SetTH2Properties(), and CbmQaIO::SetTProfile2DProperties().
Referenced by CbmQaIO::MakeQaObject().
|
inlineoverrideprotectedvirtual |
Creates summary cavases, tables etc.
Reimplemented from CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >.
Definition at line 29 of file CbmCaInputQaTrd.h.
References CbmCaInputQaBase< DetID >::CreateSummary().
|
overrideprotectedvirtual |
Defines parameters of the task.
Implements CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >.
Definition at line 26 of file CbmCaInputQaTrd.cxx.
References CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >::fRHitDt, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >::fRHitDu, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >::fRHitDv, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >::fRHitDx, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >::fRHitDy, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >::fRResT, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >::fRResU, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >::fRResV, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >::fRResX, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >::fRResY, max(), and min().
Referenced by CbmCaInputQaTrd().
|
inlineoverrideprotectedvirtual |
De-initializes QA-task.
Reimplemented from CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >.
Definition at line 35 of file CbmCaInputQaTrd.h.
References CbmCaInputQaBase< DetID >::DeInit().
|
privateinherited |
De-initializes this task.
Definition at line 129 of file CbmQaTask.cxx.
References CbmQaTask::DeInit().
Referenced by CbmQaTask::Init().
|
inherited |
Disables event-by-event execution.
By default, if the branch
|
finaloverrideprotectedinherited |
FairTask: Defines action of the task in the event/TS.
Definition at line 44 of file CbmQaTask.cxx.
References CbmQaTask::ExecQa(), CbmQaTask::fNofEvents, CbmQaTask::fpBrEvents, and CbmQaTask::fpCurrentEvent.
|
inlineoverrideprotectedvirtual |
Fills histograms per event or time-slice.
Reimplemented from CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >.
Definition at line 41 of file CbmCaInputQaTrd.h.
References CbmCaInputQaBase< DetID >::ExecQa().
|
inlineoverrideprotectedvirtual |
Fills histograms per hit.
Reimplemented from CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >.
Definition at line 38 of file CbmCaInputQaTrd.h.
|
inlineprotectedvirtualinherited |
Fills histograms per MC point.
Definition at line 118 of file CbmCaInputQaBase.h.
|
finaloverrideprotectedinherited |
FairTask: Defines action of the task in the end of run.
Definition at line 64 of file CbmQaTask.cxx.
References CbmQaTask::CreateSummary(), CbmQaTask::fNofEvents, and CbmQaIO::WriteToFile().
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
Gets pointer to current event.
Definition at line 216 of file CbmQaTask.h.
References CbmQaTask::fpCurrentEvent.
Referenced by cbm::ca::OutputQa::ExecQa().
|
inlineinherited |
|
inlineprotectedinherited |
Get current event number.
Definition at line 183 of file CbmQaTask.h.
References CbmQaTask::fNofEvents.
Referenced by cbm::ca::OutputQa::Check(), and cbm::ca::OutputQa::DrawEvent().
|
inlineprotectedinherited |
Returns a pointer to current hit QA data object.
The hit QA data object is filled on each step for hit reconstruction and available inside functions FillHit() and FillMCPoint()
Definition at line 140 of file CbmCaInputQaBase.h.
|
inlineinherited |
Gets name of the setup.
Definition at line 119 of file CbmQaTask.h.
References CbmQaTask::fsSetupName.
|
inlineinherited |
|
finaloverrideprotectedinherited |
FairTask: Task initialization in the beginning of the run.
Definition at line 88 of file CbmQaTask.cxx.
References CbmQaTask::DeInitBase(), EventByEvent, CbmQaTask::fNofEvents, CbmQaTask::fpBrEvents, CbmQaTask::fRecoMode, CbmQaTask::InitQa(), and Timeslice.
Referenced by CbmQaTask::ReInit().
|
overrideprotectedvirtual |
Initializes QA.
Reimplemented from CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >.
Definition at line 48 of file CbmCaInputQaTrd.cxx.
References CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >::fpDetInterface, CbmCaInputQaBase< DetID >::InitQa(), and CbmTrdTrackingInterface::Instance().
|
protectedinherited |
Checks, if the hit is acceptable (has reasonable parameters)
|
inlineinherited |
Returns flag, whether MC information is used or not in the task.
Definition at line 126 of file CbmQaTask.h.
References CbmQaTask::fbUseMC.
Referenced by cbm::ca::OutputQa::Check(), CbmCaInputQaSts::Check(), cbm::ca::InputQaSetup::CheckInit(), cbm::ca::OutputQa::CreateSummary(), CbmCaInputQaSts::CreateSummary(), cbm::ca::OutputQa::DrawEvent(), cbm::ca::OutputQa::DrawSetOf(), cbm::ca::OutputQa::ExecQa(), CbmCaInputQaTof::ExecQa(), cbm::ca::InputQaSetup::FillHistogramsDet(), CbmCaInputQaSts::FillHistogramsPerHit(), cbm::ca::InputQaSetup::InitQa(), cbm::ca::OutputQa::InitQa(), and CbmCaInputQaSts::InitQa().
|
protectedinherited |
checks if the track at mc point passes the track selection cuts
Definition at line 144 of file CbmCaInputQaBase.cxx.
|
inherited |
Definition at line 132 of file CbmQaIO.cxx.
References CbmQaIO::fpvObjList, and CbmQaIO::fsRootFolderName.
Referenced by cbm::ca::InputQaSetup::InitQa(), and CbmCaInputQaTof::InitQa().
|
inherited |
Definition at line 261 of file CbmQaIO.h.
References CbmQaIO::CheckProperty(), CbmQaIO::ConstructAndRegisterQaObject(), and CbmQaIO::fConfigNode.
Referenced by cbm::ca::OutputQa::Check(), cbm::ca::TrackFitQa::CreatePullPlot(), cbm::ca::TrackFitQa::CreateResidualPlot(), cbm::ca::InputQaSetup::CreateSummary(), cbm::ca::OutputQa::CreateSummary(), CbmCaInputQaSts::CreateSummary(), cbm::ca::OutputQa::DrawEvent(), cbm::ca::TrackFitQa::Init(), cbm::ca::TrackTypeQa::Init(), cbm::ca::InputQaSetup::InitQa(), CbmCaInputQaSts::InitQa(), and CbmCaInputQaTof::InitQa().
|
protectedinherited |
Puts setup title on the canvas.
Definition at line 248 of file CbmQaTask.cxx.
References CbmQaTask::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 CbmQaTask::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 127 of file CbmQaIO.h.
References CbmQaIO::fConfigNode, and cbm::algo::yaml::Read().
|
finaloverrideprotectedinherited |
FairTask: Task reinitialization.
Definition at line 122 of file CbmQaTask.cxx.
References CbmQaTask::Init().
|
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 CbmQaIO::ConstructAndRegisterQaObject().
|
inlineinherited |
Sets check-file.
pCheckFile | Shared pointer to the cross-check file |
Definition at line 134 of file CbmQaTask.h.
References CbmQaTask::fpBenchmarkInput.
|
inlineinherited |
Sets compare output file.
pCompareOutput | Shared pointer to the comparison output file |
Definition at line 138 of file CbmQaTask.h.
References CbmQaTask::fpBenchmarkOutput.
|
inherited |
Creates a ROOT object.
Sets config name
name | A path to the config |
Definition at line 95 of file CbmQaIO.cxx.
References CbmQaIO::fConfigNode, CbmQaIO::fsConfigName, and CbmQaIO::fsPrefix.
|
inlineinherited |
|
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 CbmQaTask::fRecoMode.
|
inlineinherited |
Sets a common root path to the objects in the output file.
path | A path to the object |
Definition at line 109 of file CbmQaIO.h.
References CbmQaIO::fsRootFolderName.
Referenced by CbmQaTask::CbmQaTask().
|
inlineinherited |
Sets name of the setup.
Definition at line 155 of file CbmQaTask.h.
References CbmQaTask::fsSetupName.
|
inlineinherited |
Set storing mode.
Definition at line 112 of file CbmQaIO.h.
References CbmQaIO::fStoringMode.
Referenced by CbmCaInputQaBase< DetID >::CbmCaInputQaBase().
|
protectedvirtualinherited |
Applies properties on the histogram created with the MakeQaObject function.
pHist | Pointer to the histogram |
Reimplemented in cbm::ca::TrackTypeQa.
Definition at line 36 of file CbmQaIO.cxx.
References cbm::qa::util::GetHistStats().
Referenced by CbmQaIO::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 CbmQaIO::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 CbmQaIO::ConstructAndRegisterQaObject().
|
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 CbmQaTask::fmCheckList.
Referenced by CbmCaInputQaSts::Check().
|
protectedinherited |
Writes objects into file.
pOutFile | Pointer to output ROOT file |
Definition at line 116 of file CbmQaIO.cxx.
References CbmQaIO::fpvObjList.
Referenced by CbmQaTask::Finish().
|
privateinherited |
Flag, if MC is used.
Definition at line 240 of file CbmQaTask.h.
Referenced by CbmQaTask::IsMCUsed().
|
protectedinherited |
Task specific configuration parameters.
Definition at line 170 of file CbmCaInputQaBase.h.
|
protectedinherited |
Configuration node.
Definition at line 164 of file CbmQaIO.h.
Referenced by CbmQaTask::CompareQaObjects(), CbmQaIO::MakeQaObject(), CbmQaTask::ReadCheckListFromConfig(), CbmQaIO::ReadSpecificConfig(), and CbmQaIO::SetConfigName().
|
protectedinherited |
Current hit QA data object.
Definition at line 286 of file CbmCaInputQaBase.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 CbmQaTask::GetCheckList(), CbmQaTask::ReadCheckListFromConfig(), and CbmQaTask::StoreCheckResult().
|
protectedinherited |
Monitor for the input QA.
Definition at line 168 of file CbmCaInputQaBase.h.
|
protectedinherited |
General number of bins.
Definition at line 196 of file CbmCaInputQaBase.h.
|
protectedinherited |
Number of bins for z axis in overall views.
Definition at line 197 of file CbmCaInputQaBase.h.
|
privateinherited |
Number of processed events.
Definition at line 256 of file CbmQaTask.h.
Referenced by CbmQaTask::Exec(), CbmQaTask::Finish(), CbmQaTask::GetEventNumber(), and CbmQaTask::Init().
|
privateinherited |
A file with default ROOT objects used for the cross-check.
Definition at line 261 of file CbmQaTask.h.
Referenced by CbmQaTask::CompareQaObjects(), and CbmQaTask::SetCheckFile().
|
privateinherited |
An output file for histograms cross-check.
Definition at line 262 of file CbmQaTask.h.
Referenced by CbmQaTask::CompareTwoObjects(), and CbmQaTask::SetCompareOutput().
|
privateinherited |
Pointer to CbmEvent branch.
Definition at line 253 of file CbmQaTask.h.
Referenced by CbmQaTask::Exec(), and CbmQaTask::Init().
|
protectedinherited |
Array of hit clusters.
Definition at line 180 of file CbmCaInputQaBase.h.
|
privateinherited |
Pointer to the current event.
Definition at line 254 of file CbmQaTask.h.
Referenced by CbmQaTask::Exec(), and CbmQaTask::GetCurrentEvent().
|
protectedinherited |
Instance of detector interface.
Definition at line 175 of file CbmCaInputQaBase.h.
Referenced by InitQa().
|
protectedinherited |
Array of hit matches.
Definition at line 187 of file CbmCaInputQaBase.h.
|
protectedinherited |
Array of hits.
Definition at line 179 of file CbmCaInputQaBase.h.
|
protectedinherited |
MC data manager.
Definition at line 182 of file CbmCaInputQaBase.h.
|
protectedinherited |
MC event list.
Definition at line 183 of file CbmCaInputQaBase.h.
|
protectedinherited |
Array of MC points.
Definition at line 185 of file CbmCaInputQaBase.h.
|
protectedinherited |
Array of MC tracks.
Definition at line 184 of file CbmCaInputQaBase.h.
|
protectedinherited |
Pointer to current time-slice.
Definition at line 177 of file CbmCaInputQaBase.h.
|
protectedinherited |
List of registered ROOT objects.
Definition at line 162 of file CbmQaIO.h.
Referenced by CbmQaIO::CbmQaIO(), CbmQaTask::CompareQaObjects(), CbmQaIO::ConstructAndRegisterQaObject(), cbm::ca::TrackTypeQa::Init(), cbm::ca::OutputQa::InitQa(), CbmQaIO::MakeQaDirectory(), and CbmQaIO::WriteToFile().
|
protectedinherited |
Range for z-pos difference of the hit and point [cm].
Definition at line 211 of file CbmCaInputQaBase.h.
|
privateinherited |
Reconstruction mode.
Definition at line 242 of file CbmQaTask.h.
Referenced by CbmQaTask::Init(), and CbmQaTask::SetRecoMode().
|
protectedinherited |
Range for hit time error [ns].
Definition at line 203 of file CbmCaInputQaBase.h.
Referenced by DefineParameters().
|
protectedinherited |
Range for hit u coordinate error [cm].
Definition at line 201 of file CbmCaInputQaBase.h.
Referenced by DefineParameters().
|
protectedinherited |
Range for hit v coordinate error [cm].
Definition at line 202 of file CbmCaInputQaBase.h.
Referenced by DefineParameters().
|
protectedinherited |
Range for hit x coordinate error [cm].
Definition at line 199 of file CbmCaInputQaBase.h.
Referenced by DefineParameters().
|
protectedinherited |
Range for hit y coordinate error [cm].
Definition at line 200 of file CbmCaInputQaBase.h.
Referenced by DefineParameters().
|
protectedinherited |
Range for residual of time [ns].
Definition at line 209 of file CbmCaInputQaBase.h.
Referenced by DefineParameters().
|
protectedinherited |
Range for residual of u coordinate [cm].
Definition at line 207 of file CbmCaInputQaBase.h.
Referenced by DefineParameters().
|
protectedinherited |
Range for residual of v coordinate [cm].
Definition at line 208 of file CbmCaInputQaBase.h.
Referenced by DefineParameters().
|
protectedinherited |
Range for residual of x coordinate [cm].
Definition at line 205 of file CbmCaInputQaBase.h.
Referenced by DefineParameters().
|
protectedinherited |
Range for residual of y coordinate [cm].
Definition at line 206 of file CbmCaInputQaBase.h.
Referenced by DefineParameters().
|
protectedinherited |
Range for hit x coordinate [cm].
Definition at line 220 of file CbmCaInputQaBase.h.
|
protectedinherited |
Range for hit x coordinate [cm].
Definition at line 219 of file CbmCaInputQaBase.h.
|
protectedinherited |
Range for hit y coordinate [cm].
Definition at line 222 of file CbmCaInputQaBase.h.
|
protectedinherited |
Range for hit y coordinate [cm].
Definition at line 221 of file CbmCaInputQaBase.h.
|
protectedinherited |
Range for hit z coordinate [cm].
Definition at line 224 of file CbmCaInputQaBase.h.
|
protectedinherited |
Range for hit z coordinate [cm].
Definition at line 223 of file CbmCaInputQaBase.h.
|
protectedinherited |
Name of configuration file.
Definition at line 158 of file CbmQaIO.h.
Referenced by CbmQaIO::GetConfigName(), and CbmQaIO::SetConfigName().
|
privateinherited |
Default tag (git SHA etc.)
Definition at line 259 of file CbmQaTask.h.
Referenced by CbmQaTask::CompareTwoObjects(), CbmQaTask::GetDefaultTag(), and CbmQaTask::SetDefaultTag().
|
protectedinherited |
Unique prefix for all writeable root.
Definition at line 159 of file CbmQaIO.h.
Referenced by CbmQaIO::CbmQaIO(), cbm::ca::TrackFitQa::CreatePullPlot(), cbm::ca::TrackTypeQa::Init(), cbm::ca::OutputQa::InitQa(), and CbmQaIO::SetConfigName().
|
protectedinherited |
Name of root folder.
Definition at line 157 of file CbmQaIO.h.
Referenced by CbmQaTask::CompareQaObjects(), CbmQaIO::ConstructAndRegisterQaObject(), cbm::ca::TrackTypeQa::Init(), cbm::ca::OutputQa::InitQa(), CbmQaIO::MakeQaDirectory(), and CbmQaIO::SetRootFolderName().
|
privateinherited |
Name of the setup (to draw on the canvases)
Definition at line 255 of file CbmQaTask.h.
Referenced by CbmQaTask::GetSetupName(), CbmQaTask::PutSetupNameOnPad(), and CbmQaTask::SetSetupName().
|
protectedinherited |
Objects storing mode.
Definition at line 161 of file CbmQaIO.h.
Referenced by CbmQaTask::CbmQaTask(), CbmQaIO::ConstructAndRegisterQaObject(), CbmQaIO::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 CbmQaTask::CompareTwoObjects(), CbmQaTask::GetVersionTag(), and CbmQaTask::SetVersionTag().
|
protectedinherited |
Efficiency of hit reconstruction vs. x and y coordinates of MC.
Definition at line 280 of file CbmCaInputQaBase.h.
|
protectedinherited |
Definition at line 242 of file CbmCaInputQaBase.h.
|
protectedinherited |
Definition at line 239 of file CbmCaInputQaBase.h.
|
protectedinherited |
Definition at line 240 of file CbmCaInputQaBase.h.
|
protectedinherited |
Definition at line 237 of file CbmCaInputQaBase.h.
|
protectedinherited |
Definition at line 238 of file CbmCaInputQaBase.h.
|
protectedinherited |
Definition at line 241 of file CbmCaInputQaBase.h.
|
protectedinherited |
Difference between station and hit z positions [cm].
Definition at line 234 of file CbmCaInputQaBase.h.
|
protectedinherited |
hit y vs x in different stations
Definition at line 230 of file CbmCaInputQaBase.h.
|
protectedinherited |
hit x vs z in different stations
Definition at line 231 of file CbmCaInputQaBase.h.
|
protectedinherited |
hit y vs z in different stations
Definition at line 232 of file CbmCaInputQaBase.h.
|
protectedinherited |
number of points per one hit in different stations
Definition at line 245 of file CbmCaInputQaBase.h.
|
protectedinherited |
difference between z of hit and MC point in different stations
Definition at line 251 of file CbmCaInputQaBase.h.
|
protectedinherited |
point y vs x in different stations
Definition at line 247 of file CbmCaInputQaBase.h.
|
protectedinherited |
point x vs z in different stations
Definition at line 248 of file CbmCaInputQaBase.h.
|
protectedinherited |
point y vs z in different stations
Definition at line 249 of file CbmCaInputQaBase.h.
|
protectedinherited |
pull for t coordinate in different stations
Definition at line 271 of file CbmCaInputQaBase.h.
|
protectedinherited |
pull for t coordinate in different stations
Definition at line 277 of file CbmCaInputQaBase.h.
|
protectedinherited |
pull for u coordinate in different stations
Definition at line 269 of file CbmCaInputQaBase.h.
|
protectedinherited |
pull for u coordinate in different stations
Definition at line 275 of file CbmCaInputQaBase.h.
|
protectedinherited |
pull for v coordinate in different stations
Definition at line 270 of file CbmCaInputQaBase.h.
|
protectedinherited |
pull for v coordinate in different stations
Definition at line 276 of file CbmCaInputQaBase.h.
|
protectedinherited |
pull for x coordinate in different stations
Definition at line 267 of file CbmCaInputQaBase.h.
|
protectedinherited |
pull for x coordinate in different stations
Definition at line 273 of file CbmCaInputQaBase.h.
|
protectedinherited |
pull for y coordinate in different stations
Definition at line 268 of file CbmCaInputQaBase.h.
|
protectedinherited |
pull for y coordinate in different stations
Definition at line 274 of file CbmCaInputQaBase.h.
|
protectedinherited |
Distribution of hit reconstruction efficiency in bins of fvpe_reco_eff_vs_xy.
Definition at line 281 of file CbmCaInputQaBase.h.
|
protectedinherited |
residual for t coordinate in different stations
Definition at line 258 of file CbmCaInputQaBase.h.
|
protectedinherited |
residual for t coordinate in different stations
Definition at line 264 of file CbmCaInputQaBase.h.
|
protectedinherited |
residual for u coordinate in different stations
Definition at line 256 of file CbmCaInputQaBase.h.
|
protectedinherited |
residual for u coordinate in different stations
Definition at line 262 of file CbmCaInputQaBase.h.
|
protectedinherited |
residual for v coordinate in different stations
Definition at line 257 of file CbmCaInputQaBase.h.
|
protectedinherited |
residual for v coordinate in different stations
Definition at line 263 of file CbmCaInputQaBase.h.
|
protectedinherited |
residual for x coordinate in different stations
Definition at line 254 of file CbmCaInputQaBase.h.
|
protectedinherited |
residual for x coordinate in different stations
Definition at line 260 of file CbmCaInputQaBase.h.
|
protectedinherited |
residual for y coordinate in different stations
Definition at line 255 of file CbmCaInputQaBase.h.
|
protectedinherited |
residual for y coordinate in different stations
Definition at line 261 of file CbmCaInputQaBase.h.
|
staticconstexprprotectedinherited |
Definition at line 193 of file CbmCaInputQaBase.h.
|
staticconstexprprotectedinherited |
Definition at line 216 of file CbmCaInputQaBase.h.
|
staticconstexprprotectedinherited |
Range for pull histograms coordinate.
Definition at line 217 of file CbmCaInputQaBase.h.