|
CbmRoot
|
#include <CbmMvdMcQaTask.h>
Public Types | |
| enum class | Origin { All = 0 , Primary = 1 , Secondary = 2 , DeltaSec = 3 , Other = 4 } |
| track origin tag (public to avoid any ROOT dictionary issues) More... | |
| enum class | EStoringMode { kSAMEDIR , kSUBDIR } |
| using | ObjList_t = std::vector<std::pair<TObject*, TString>> |
Public Member Functions | |
| CbmMvdMcQaTask (int verbose, bool isMcUsed) | |
| void | Check () override |
| Function to check, if the QA results are acceptable. | |
| void | CreateSummary () override |
| Initializes QA-task summary: canvases, tables etc. | |
| void | ExecQa () override |
| Method to fill histograms per event or time-slice. | |
| InitStatus | InitQa () override |
| Initializes the task. | |
| void | SetKeVRange (int maxKeV, int binKeV=1) |
| dE histogram settings (keV) | |
| int | MapPdgToSpeciesBin_ (int pdg) const |
| int | GetStationIdFromZ_ (double z) const |
| void | SetNumberOfStations (int nstation) |
| bool | CompareQaObjects () |
| Process ROOT objects comparison. | |
| void | DisableEventMode () |
| Disables event-by-event execution. | |
| const std::map< std::string, CheckFlags > & | GetCheckList () const |
| Gets check-list. | |
| const TString & | GetDefaultTag () const |
| Gets default tag. | |
| const std::string & | GetSetupName () const |
| Gets name of the setup. | |
| const TString & | GetVersionTag () const |
| Gets version tag. | |
| bool | IsMCUsed () const |
| Returns flag, whether MC information is used or not in the task. | |
| void | ReadCheckListFromConfig () |
| Reads check-list from the configuration file. | |
| void | SetCheckFile (const std::shared_ptr< TFile > &pCheckFile) |
| Sets check-file. | |
| void | SetCompareOutput (const std::shared_ptr< TFile > &pCompareOutput) |
| Sets compare output file. | |
| void | SetVersionTag (const TString &tag) |
| Sets version tag. | |
| void | SetDefaultTag (const TString &tag) |
| Sets default tag. | |
| void | SetRecoMode (ECbmRecoMode recoMode) |
| Sets data processing (reconstruction) mode. | |
| void | SetSetupName (const char *setup) |
| Sets name of the setup. | |
| const char * | GetConfigName () const |
| Gets config name. | |
| template<typename T, typename... Args> | |
| T * | MakeQaObject (TString sName, TString sTitle, Args... args) |
| void | MakeQaDirectory (TString sName) |
| void | SetConfigName (const char *path) |
| Creates a ROOT object. | |
| void | SetRootFolderName (const TString &path) |
| Sets a common root path to the objects in the output file. | |
| void | SetStoringMode (EStoringMode mode) |
| Set storing mode. | |
Protected Member Functions | |
| virtual void | DeInit () |
| De-initialize the task. | |
| void | Exec (Option_t *) override final |
| FairTask: Defines action of the task in the event/TS. | |
| void | Finish () override final |
| FairTask: Defines action of the task in the end of run. | |
| InitStatus | Init () override final |
| FairTask: Task initialization in the beginning of the run. | |
| InitStatus | ReInit () override final |
| FairTask: Task reinitialization. | |
| int | GetEventNumber () const |
| Get current event number. | |
| template<typename T> | |
| bool | CheckRange (std::string_view name, T var, T lo, T hi) const |
| Checks range of variable. | |
| template<typename T> | |
| bool | CheckRange (std::string_view name, T var, T varErr, T lo, T hi) const |
| Checks range of variable. | |
| bool | CheckRange (TH1 *h, double meanMax, double rmsMin, double rmsMax) |
| Checks ranges for mean and standard deviation. | |
| void | PutSetupNameOnPad (double xMin, double yMin, double xMax, double yMax) |
| Puts setup title on the canvas. | |
| 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 Member Functions | |
| void | ProcessMcTracks (const int &fileId, const int &eventId) |
| void | ProcessMvdPoints (const int &fileId, const int &eventId) |
| TH1F * | GetOrBookElossHist (int pdg, Origin origin) |
| void | BookHists_ () |
| helpers | |
| int | PidClass_ (int pdg) const |
| Origin | ClassifyTrack_ (const int &fileId, const int &eventId, Int_t trackindex) const |
| double | PointELossGeV_ (const void *vp) const |
| ClassDefOverride (CbmMvdMcQaTask, 1) | |
| void | DeInitBase () |
| De-initializes this task. | |
| template<class Obj> | |
| bool | CompareTwoObjects (const TObject *pObjL, const TObject *pObjR, const TString &objName, const ObjectComparisonConfig &cfg) |
| Process object comparison. | |
| template<typename T, typename... Args> | |
| T * | ConstructAndRegisterQaObject (TString name, Args... args) |
| Creates and registers a ROOT object. | |
Static Private Member Functions | |
| static bool | DecodeIonPDG_ (int pdg, int &Z, int &A) |
Private Attributes | |
| FairRootManager * | fManager = nullptr |
| setup | |
| CbmMCDataManager * | fMcManager = nullptr |
| CbmMCEventList * | fMcEventList = nullptr |
| containers | |
| CbmMCDataArray * | fMvdPoints = nullptr |
| CbmMCDataArray * | fMcTracks = nullptr |
| std::vector< int > | fPdgBuf |
| per-event caches | |
| std::vector< Origin > | fOriginBuf |
| origin by track index | |
| Int_t | fNStations = 4 |
| Number of stations in MVD: TODO: Get Number of station from data file itself. | |
| Long64_t | fAllNPrim = 0 |
| global counters (over all events) | |
| Long64_t | fAllNSec = 0 |
| std::unordered_map< int, uint64_t > | fAllCountsPrim |
| PDG -> count (all primaries) | |
| std::unordered_map< int, uint64_t > | fAllCountsSec |
| PDG -> count (all secondaries) | |
| std::array< std::unordered_map< int, TH1F * >, kNumOrigins > | fHistsElossKeVByPDG |
| std::array< TList *, kNumOrigins > | fLists {} |
| int | fKeVMax = 2000 |
| dE settings | |
| int | fKeVBin = 1 |
| 1 keV bins by default | |
| double | fZMinStation0 = -38 |
| TODO: Remove when we have getter for number of station directly from CbmMvdPoint. | |
| double | fZMaxStation0 = -34 |
| double | fZMinStation1 = -34 |
| double | fZMaxStation1 = -30 |
| double | fZMinStation2 = -30 |
| double | fZMaxStation2 = -26 |
| double | fZMinStation3 = -26 |
| double | fZMaxStation3 = -22 |
| TH1D * | fh_nTracksAll = nullptr |
| Histograms. | |
| TH1D * | fh_nMvdPointsEvt = nullptr |
| MVD points per event. | |
| TH1D * | fh_nHitTracksEvt = nullptr |
| unique non-primary tracks with hits per event | |
| TH1D * | fh_nDeltaEvt = nullptr |
| number of secondary e+- with hits per event | |
| TH1D * | fh_mc_pdg_all = nullptr |
| MCTrack-level histograms. | |
| TH1D * | fh_mc_pdg_prim = nullptr |
| species for primary MCTracks | |
| TH1D * | fh_mc_pdg_sec = nullptr |
| species for secondary MCTracks | |
| TH1D * | fh_mc_p_prim = nullptr |
| momentum of primaries | |
| TH1D * | fh_mc_p_sec = nullptr |
| momentum of secondaries | |
| TH1D * | fh_mc_startZ = nullptr |
| start-z of MCTracks | |
| TH2D * | fh_mc_startX_vs_Z = nullptr |
| start X vs Z | |
| TH2D * | fh_mc_startY_vs_Z = nullptr |
| start Y vs Z | |
| TH2D * | fh_mc_startY_vs_X = nullptr |
| start Y vs X | |
| std::vector< TH1D * > | fh_mvd_nPointsEvt_station |
| MvdPoint histograms. | |
| std::vector< TH2D * > | fh_mvd_xy_prim_station |
| X-Y for primary MVD points per station. | |
| std::vector< TH2D * > | fh_mvd_xy_sec_station |
| X-Y for secondary MVD points per station. | |
| TH1D * | fh_mvd_pdg_all = nullptr |
| species for all MVD points | |
| TH1D * | fh_mvd_pdg_prim = nullptr |
| species for primary MVD points | |
| TH1D * | fh_mvd_pdg_sec = nullptr |
| species for secondary MVD points | |
| TH1D * | fh_mvd_p_prim = nullptr |
| TH1D * | fh_mvd_p_sec = nullptr |
| TH2D * | fh_mvd_dEkeV_vs_p = nullptr |
| dE (keV) vs p (GeV/c) at MVD point | |
| TH2D * | fh_mvd_dEkeV_vs_pdg = nullptr |
| dE (keV) vs species bin | |
| TH1D * | fh_sec_count_bySpecies = nullptr |
| overall counts (non-primary tracks with hits) by coarse species class | |
| TH2D * | fh_dEkeV_vs_pidClass = nullptr |
| dE per point vs species class (non-primaries with hits) | |
| TH2D * | fh_xy_points_nonprim = nullptr |
| x vs y map of points (non-primaries) | |
| std::vector< TH2D * > | fh_xy_points |
| x vs y map of points vs. station ID (non-primaries) | |
| std::vector< TH1D * > | fhCountMvdPoint |
| TH1D * | fhZdistMvd = nullptr |
| TH2D * | fh_dEkeV_vs_p = nullptr |
| dE (keV) vs p (GeV/c) at point (non-primaries) | |
| bool | fbUseMC = false |
| Flag, if MC is used. | |
| ECbmRecoMode | fRecoMode = ECbmRecoMode::Timeslice |
| Reconstruction mode. | |
| std::map< std::string, 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 | kNumOrigins = 5 |
| static constexpr const char * | kOriginName [kNumOrigins] = {"all", "primary", "secondary", "deltaSec", "other"} |
Definition at line 23 of file CbmMvdMcQaTask.h.
|
inherited |
|
stronginherited |
|
strong |
track origin tag (public to avoid any ROOT dictionary issues)
| Enumerator | |
|---|---|
| All | |
| Primary | |
| Secondary | |
| DeltaSec | |
| Other | |
Definition at line 42 of file CbmMvdMcQaTask.h.
| CbmMvdMcQaTask::CbmMvdMcQaTask | ( | int | verbose, |
| bool | isMcUsed ) |
Definition at line 22 of file CbmMvdMcQaTask.cxx.
|
private |
helpers
Definition at line 71 of file CbmMvdMcQaTask.cxx.
|
overridevirtual |
Function to check, if the QA results are acceptable.
In the function one should provide the check flags with the function StoreCheckResult.
The code below requires MC-true information
TODO: add checks
Implements CbmQaTask.
Definition at line 407 of file CbmMvdMcQaTask.cxx.
|
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 |
|
private |
Definition at line 519 of file CbmMvdMcQaTask.cxx.
|
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().
|
overridevirtual |
Initializes QA-task summary: canvases, tables etc.
TODO: create summary
Reimplemented from CbmQaTask.
Definition at line 416 of file CbmMvdMcQaTask.cxx.
|
staticprivate |
Definition at line 392 of file CbmMvdMcQaTask.cxx.
|
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 229 of file CbmMvdMcQaTask.cxx.
|
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().
|
private |
Definition at line 428 of file CbmMvdMcQaTask.cxx.
|
inlineinherited |
| int CbmMvdMcQaTask::GetStationIdFromZ_ | ( | double | z | ) | const |
Definition at line 382 of file CbmMvdMcQaTask.cxx.
|
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().
|
overridevirtual |
Initializes the task.
Reimplemented from CbmQaTask.
Definition at line 25 of file CbmMvdMcQaTask.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().
| int CbmMvdMcQaTask::MapPdgToSpeciesBin_ | ( | int | pdg | ) | const |
Definition at line 467 of file CbmMvdMcQaTask.cxx.
|
private |
< ions
Definition at line 453 of file CbmMvdMcQaTask.cxx.
|
private |
|
private |
< number of MC Tracks per event
Definition at line 241 of file CbmMvdMcQaTask.cxx.
|
private |
in position of the track
out position of the track
number of MVD points in event
TODO: Identify points based on station number not using z position
Definition at line 291 of file CbmMvdMcQaTask.cxx.
|
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 |
dE histogram settings (keV)
Definition at line 36 of file CbmMvdMcQaTask.h.
|
inline |
Set number of station in the simulation data TODO: Get Number of station from data file itself
Definition at line 55 of file CbmMvdMcQaTask.h.
|
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().
|
private |
PDG -> count (all primaries)
Definition at line 79 of file CbmMvdMcQaTask.h.
|
private |
PDG -> count (all secondaries)
Definition at line 80 of file CbmMvdMcQaTask.h.
|
private |
global counters (over all events)
Definition at line 77 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 78 of file CbmMvdMcQaTask.h.
|
privateinherited |
Flag, if MC is used.
Definition at line 240 of file CbmQaTask.h.
Referenced by CbmQaTask(), and IsMCUsed().
|
protectedinherited |
Configuration node.
Definition at line 163 of file CbmQaIO.h.
Referenced by CbmQaTask::CompareQaObjects(), MakeQaObject(), CbmQaTask::ReadCheckListFromConfig(), and ReadSpecificConfig().
|
private |
dE (keV) vs p (GeV/c) at point (non-primaries)
Definition at line 143 of file CbmMvdMcQaTask.h.
|
private |
dE per point vs species class (non-primaries with hits)
Definition at line 137 of file CbmMvdMcQaTask.h.
|
private |
momentum of primaries
Definition at line 108 of file CbmMvdMcQaTask.h.
|
private |
momentum of secondaries
Definition at line 109 of file CbmMvdMcQaTask.h.
|
private |
|
private |
species for primary MCTracks
Definition at line 106 of file CbmMvdMcQaTask.h.
|
private |
species for secondary MCTracks
Definition at line 107 of file CbmMvdMcQaTask.h.
|
private |
start X vs Z
Definition at line 111 of file CbmMvdMcQaTask.h.
|
private |
start Y vs X
Definition at line 113 of file CbmMvdMcQaTask.h.
|
private |
start Y vs Z
Definition at line 112 of file CbmMvdMcQaTask.h.
|
private |
start-z of MCTracks
Definition at line 110 of file CbmMvdMcQaTask.h.
|
private |
dE (keV) vs p (GeV/c) at MVD point
Definition at line 133 of file CbmMvdMcQaTask.h.
|
private |
dE (keV) vs species bin
Definition at line 134 of file CbmMvdMcQaTask.h.
|
private |
MvdPoint histograms.
MVD points per event per station
Definition at line 117 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 129 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 130 of file CbmMvdMcQaTask.h.
|
private |
species for all MVD points
Definition at line 124 of file CbmMvdMcQaTask.h.
|
private |
species for primary MVD points
Definition at line 125 of file CbmMvdMcQaTask.h.
|
private |
species for secondary MVD points
Definition at line 126 of file CbmMvdMcQaTask.h.
|
private |
X-Y for primary MVD points per station.
Definition at line 120 of file CbmMvdMcQaTask.h.
|
private |
X-Y for secondary MVD points per station.
Definition at line 121 of file CbmMvdMcQaTask.h.
|
private |
number of secondary e+- with hits per event
Definition at line 102 of file CbmMvdMcQaTask.h.
|
private |
unique non-primary tracks with hits per event
Definition at line 101 of file CbmMvdMcQaTask.h.
|
private |
MVD points per event.
Definition at line 100 of file CbmMvdMcQaTask.h.
|
private |
|
private |
overall counts (non-primary tracks with hits) by coarse species class
Definition at line 136 of file CbmMvdMcQaTask.h.
|
private |
x vs y map of points vs. station ID (non-primaries)
Definition at line 139 of file CbmMvdMcQaTask.h.
|
private |
x vs y map of points (non-primaries)
Definition at line 138 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 140 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 83 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 142 of file CbmMvdMcQaTask.h.
|
private |
1 keV bins by default
Definition at line 90 of file CbmMvdMcQaTask.h.
|
private |
|
private |
Definition at line 84 of file CbmMvdMcQaTask.h.
|
private |
setup
Definition at line 62 of file CbmMvdMcQaTask.h.
|
private |
containers
Definition at line 66 of file CbmMvdMcQaTask.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 63 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 68 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 67 of file CbmMvdMcQaTask.h.
|
privateinherited |
Number of processed events.
Definition at line 256 of file CbmQaTask.h.
Referenced by Exec(), Finish(), and GetEventNumber().
|
private |
Number of stations in MVD: TODO: Get Number of station from data file itself.
Definition at line 74 of file CbmMvdMcQaTask.h.
|
private |
origin by track index
Definition at line 72 of file CbmMvdMcQaTask.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 |
|
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().
|
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 |
Definition at line 93 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 94 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 95 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 96 of file CbmMvdMcQaTask.h.
|
private |
TODO: Remove when we have getter for number of station directly from CbmMvdPoint.
Definition at line 93 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 94 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 95 of file CbmMvdMcQaTask.h.
|
private |
Definition at line 96 of file CbmMvdMcQaTask.h.
|
staticconstexprprivate |
Definition at line 82 of file CbmMvdMcQaTask.h.
|
staticconstexprprivate |
Definition at line 85 of file CbmMvdMcQaTask.h.