|
CbmRoot
|
QA-task for RICH ring reconstruction. More...
#include <CbmRichRingRecoQa.h>
Public Types | |
| enum class | EStoringMode { kSAMEDIR , kSUBDIR } |
| using | ObjList_t = std::vector<std::pair<TObject*, TString>> |
Public Member Functions | |
| CbmRichRingRecoQa (int verbose, bool isMcUsed) | |
| InitStatus | InitQa () override |
| Initializes the task. | |
| void | ExecQa () override |
| Method to fill histograms per event or time-slice. | |
| void | Check () override |
| Function to check, if the QA results are acceptable. | |
| void | CreateSummary () override |
| Initializes QA-task summary: canvases, tables etc. | |
| 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. | |
| 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 | ERecoRingType { Reco = -1 , TrueReco = 0 , PrimEl = 1 , SecEl = 2 , Pion = 3 , Other = 4 , Fake = 5 , Clone = 6 } |
| enum | ERingFeature { Radius = 0 , NHits = 1 , CenterX = 2 , CenterY = 3 , Aaxis = 4 , Baxis = 5 , BoA = 6 , Phi = 7 , Chi2oNDF = 8 , Angle = 9 , RadialPosition = 10 , RadialAngle = 11 } |
Private Member Functions | |
| void | InitHistograms () |
| void | FillHistsTrueRecoRing (const CbmRichRing *ring, const CbmMCTrack *mcTrack) |
| void | FillHistsFakeRing (const CbmRichRing *ring) |
| void | FillHistsRingFeatures (const CbmRichRing *ring, const CbmMCTrack *mcTrack, const ERecoRingType ringType) |
| bool | IsMcPrimaryElectron (const CbmMCTrack *mcTrack) |
| bool | IsMcSecondaryElectron (const CbmMCTrack *mcTrack) |
| bool | IsMcPion (const CbmMCTrack *mcTrack) |
| ClassDefOverride (CbmRichRingRecoQa, 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. | |
Private Attributes | |
| CbmDigiManager * | fDigiManager {nullptr} |
| TClonesArray * | fCbmEvents {nullptr} |
| TClonesArray * | fRichHits {nullptr} |
| TClonesArray * | fRichRings {nullptr} |
| TClonesArray * | fRichProjections {nullptr} |
| CbmMCDataArray * | fMcTracks {nullptr} |
| CbmMCDataArray * | fRichPoints {nullptr} |
| TClonesArray * | fRichRingMatches {nullptr} |
| TH1D * | fhRichRingsPerEvent {nullptr} |
| TH1D * | fhRingTimeInEvent {nullptr} |
| TH1D * | fhRingHitsTime {nullptr} |
| TH2D * | fhRingCenterXY {nullptr} |
| std::array< TH1D *, 12 > | fhRingFeatures {} |
| TH1D * | fhRingTypeCounts {nullptr} |
| TProfile2D * | fhRingRecoPurityXY {nullptr} |
| std::array< TProfile *, 5 > | fhRingRecoEff {} |
| std::array< std::array< TH1D *, 12 >, 6 > | fhRingTypeFeatures {} |
| std::array< std::array< TH2D *, 12 >, 5 > | fhRingTypeFeaturesMomentum {} |
| 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 int | fAccRingMinNumHits {7} |
| static constexpr double | fQuotaRich {0.7} |
| static constexpr std::array< double, 4 > | fRingRecoEffsMin |
| static constexpr double | fRingPurityMin {0.7} |
QA-task for RICH ring reconstruction.
Checks:
Checks with Monte-Carlo [MC]:
Definition at line 41 of file CbmRichRingRecoQa.h.
|
inherited |
|
private |
| Enumerator | |
|---|---|
| Reco | |
| TrueReco | |
| PrimEl | |
| SecEl | |
| Pion | |
| Other | |
| Fake | |
| Clone | |
Definition at line 54 of file CbmRichRingRecoQa.h.
|
private |
| Enumerator | |
|---|---|
| Radius | |
| NHits | |
| CenterX | |
| CenterY | |
| Aaxis | |
| Baxis | |
| BoA | |
| Phi | |
| Chi2oNDF | |
| Angle | |
| RadialPosition | |
| RadialAngle | |
Definition at line 66 of file CbmRichRingRecoQa.h.
|
stronginherited |
|
inline |
Definition at line 43 of file CbmRichRingRecoQa.h.
References CbmQaTask::CbmQaTask().
Referenced by ClassDefOverride().
|
overridevirtual |
Function to check, if the QA results are acceptable.
In the function one should provide the check flags with the function StoreCheckResult.
Implements CbmQaTask.
Definition at line 434 of file CbmRichRingRecoQa.cxx.
References Clone, Fake, fhRingRecoEff, fhRingTypeCounts, fRingPurityMin, fRingRecoEffsMin, CbmQaTask::IsMCUsed(), CbmQaIO::MakeQaObject(), Other, Pion, PrimEl, Reco, SecEl, CbmQaTask::StoreCheckResult(), and TrueReco.
|
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 |
References CbmRichRingRecoQa().
|
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().
|
inlineoverridevirtual |
Initializes QA-task summary: canvases, tables etc.
Reimplemented from CbmQaTask.
Definition at line 51 of file CbmRichRingRecoQa.h.
|
inlineprotectedvirtualinherited |
De-initialize the task.
Reimplemented in cbm::ca::OutputQa, CbmCaInputQaBase< DetID >, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kMuch >, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kMvd >, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kSts >, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTof >, CbmCaInputQaBase< cbm::algo::ca::EDetectorID::kTrd >, CbmCaInputQaMuch, CbmCaInputQaMvd, CbmCaInputQaSts, CbmCaInputQaTof, CbmCaInputQaTrd, and OutputQa.
Definition at line 159 of file CbmQaTask.h.
Referenced by DeInitBase().
|
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
|
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.
|
overridevirtual |
Method to fill histograms per event or time-slice.
Reimplemented from CbmQaTask.
Definition at line 277 of file CbmRichRingRecoQa.cxx.
References Aaxis, Baxis, BoA, CenterX, CenterY, Chi2oNDF, Clone, fAccRingMinNumHits, fDigiManager, fhRichRingsPerEvent, fhRingCenterXY, fhRingFeatures, fhRingHitsTime, fhRingRecoEff, fhRingTimeInEvent, fhRingTypeCounts, FillHistsFakeRing(), FillHistsTrueRecoRing(), fMcTracks, fQuotaRich, fRichHits, fRichPoints, fRichRingMatches, fRichRings, CbmQaTask::GetCurrentEvent(), CbmMatchRecoToMC::GetMcTrackMotherIdsForRichHit(), IsMcPion(), IsMcPrimaryElectron(), IsMcSecondaryElectron(), CbmQaTask::IsMCUsed(), kRichHit, kRichRing, NHits, Other, Phi, Pion, PrimEl, RadialAngle, RadialPosition, Radius, SecEl, and TrueReco.
|
private |
Definition at line 529 of file CbmRichRingRecoQa.cxx.
References Fake, fhRingTypeCounts, and FillHistsRingFeatures().
Referenced by ExecQa().
|
private |
Definition at line 535 of file CbmRichRingRecoQa.cxx.
References Aaxis, Baxis, BoA, CenterX, CenterY, Chi2oNDF, Fake, fhRingRecoPurityXY, fhRingTypeFeatures, fhRingTypeFeaturesMomentum, CbmRichRing::GetAaxis(), CbmRichRing::GetBaxis(), CbmRichRing::GetCenterX(), CbmRichRing::GetCenterY(), CbmRichRing::GetChi2(), CbmRichRing::GetNDF(), CbmRichRing::GetNofHits(), CbmMCTrack::GetP(), CbmRichRing::GetPhi(), CbmRichRing::GetRadialAngle(), CbmRichRing::GetRadialPosition(), CbmRichRing::GetRadius(), NHits, Phi, RadialAngle, RadialPosition, and Radius.
Referenced by FillHistsFakeRing(), and FillHistsTrueRecoRing().
|
private |
Definition at line 506 of file CbmRichRingRecoQa.cxx.
References fhRingTypeCounts, FillHistsRingFeatures(), IsMcPion(), IsMcPrimaryElectron(), IsMcSecondaryElectron(), Other, Pion, PrimEl, SecEl, and TrueReco.
Referenced by ExecQa().
|
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 |
Definition at line 78 of file CbmRichRingRecoQa.cxx.
References Aaxis, Baxis, BoA, CenterX, CenterY, Chi2oNDF, Fake, fhRichRingsPerEvent, fhRingCenterXY, fhRingFeatures, fhRingHitsTime, fhRingRecoEff, fhRingRecoPurityXY, fhRingTimeInEvent, fhRingTypeCounts, fhRingTypeFeatures, fhRingTypeFeaturesMomentum, CbmQaTask::IsMCUsed(), CbmQaIO::MakeQaObject(), NHits, Other, Phi, RadialAngle, RadialPosition, Radius, and TrueReco.
Referenced by InitQa().
|
overridevirtual |
Initializes the task.
Reimplemented from CbmQaTask.
Definition at line 35 of file CbmRichRingRecoQa.cxx.
References fCbmEvents, fDigiManager, fMcTracks, fRichHits, fRichPoints, fRichProjections, fRichRingMatches, fRichRings, InitHistograms(), CbmDigiManager::Instance(), CbmQaTask::IsMCUsed(), and kRich.
|
private |
Definition at line 587 of file CbmRichRingRecoQa.cxx.
References CbmMCTrack::GetPdgCode().
Referenced by ExecQa(), and FillHistsTrueRecoRing().
|
private |
Definition at line 574 of file CbmRichRingRecoQa.cxx.
References CbmMCTrack::GetGeantProcessId(), CbmMCTrack::GetMotherId(), and CbmMCTrack::GetPdgCode().
Referenced by ExecQa(), FillHistsTrueRecoRing(), and IsMcSecondaryElectron().
|
private |
Definition at line 581 of file CbmRichRingRecoQa.cxx.
References CbmMCTrack::GetPdgCode(), and IsMcPrimaryElectron().
Referenced by ExecQa(), and FillHistsTrueRecoRing().
|
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 |
|
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().
|
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().
|
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().
|
staticconstexprprivate |
Definition at line 96 of file CbmRichRingRecoQa.h.
Referenced by ExecQa().
|
privateinherited |
Flag, if MC is used.
Definition at line 240 of file CbmQaTask.h.
Referenced by CbmQaTask(), and IsMCUsed().
|
private |
Definition at line 106 of file CbmRichRingRecoQa.h.
Referenced by InitQa().
|
protectedinherited |
Configuration node.
Definition at line 163 of file CbmQaIO.h.
Referenced by CbmQaTask::CompareQaObjects(), MakeQaObject(), CbmQaTask::ReadCheckListFromConfig(), and ReadSpecificConfig().
|
private |
Definition at line 105 of file CbmRichRingRecoQa.h.
|
private |
Definition at line 117 of file CbmRichRingRecoQa.h.
Referenced by ExecQa(), and InitHistograms().
|
private |
Definition at line 120 of file CbmRichRingRecoQa.h.
Referenced by ExecQa(), and InitHistograms().
|
private |
Definition at line 121 of file CbmRichRingRecoQa.h.
Referenced by ExecQa(), and InitHistograms().
|
private |
Definition at line 119 of file CbmRichRingRecoQa.h.
Referenced by ExecQa(), and InitHistograms().
|
private |
Definition at line 126 of file CbmRichRingRecoQa.h.
Referenced by Check(), ExecQa(), and InitHistograms().
|
private |
Definition at line 125 of file CbmRichRingRecoQa.h.
Referenced by FillHistsRingFeatures(), and InitHistograms().
|
private |
Definition at line 118 of file CbmRichRingRecoQa.h.
Referenced by ExecQa(), and InitHistograms().
|
private |
Definition at line 124 of file CbmRichRingRecoQa.h.
Referenced by Check(), ExecQa(), FillHistsFakeRing(), FillHistsTrueRecoRing(), and InitHistograms().
|
private |
Definition at line 127 of file CbmRichRingRecoQa.h.
Referenced by FillHistsRingFeatures(), and InitHistograms().
|
private |
Definition at line 128 of file CbmRichRingRecoQa.h.
Referenced by FillHistsRingFeatures(), and InitHistograms().
|
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 112 of file CbmRichRingRecoQa.h.
|
privateinherited |
Number of processed events.
Definition at line 256 of file CbmQaTask.h.
Referenced by Exec(), Finish(), and GetEventNumber().
|
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().
|
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().
|
staticconstexprprivate |
Definition at line 97 of file CbmRichRingRecoQa.h.
Referenced by ExecQa().
|
privateinherited |
Reconstruction mode.
Definition at line 242 of file CbmQaTask.h.
Referenced by CbmQaTask(), Init(), and SetRecoMode().
|
private |
Definition at line 107 of file CbmRichRingRecoQa.h.
|
private |
Definition at line 113 of file CbmRichRingRecoQa.h.
|
private |
Definition at line 109 of file CbmRichRingRecoQa.h.
Referenced by InitQa().
|
private |
Definition at line 114 of file CbmRichRingRecoQa.h.
|
private |
Definition at line 108 of file CbmRichRingRecoQa.h.
|
staticconstexprprivate |
Definition at line 102 of file CbmRichRingRecoQa.h.
Referenced by Check().
|
staticconstexprprivate |
Definition at line 100 of file CbmRichRingRecoQa.h.
Referenced by Check().
|
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().
|
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().