CbmRoot
|
QA module for STS raw digis. More...
#include <StsDigiQa.h>
Public Member Functions | |
DigiQa (std::shared_ptr< HistogramSender > pSender) | |
Constructor. | |
DigiQa ()=delete | |
Default constructor. | |
DigiQa (const DigiQa &)=delete | |
Copy constructor. | |
DigiQa (DigiQa &&)=delete | |
Move constructor. | |
DigiQa & | operator= (const DigiQa &)=delete |
Copy assignment operator. | |
DigiQa & | operator= (DigiQa &&)=delete |
Move assignment operator. | |
void | Exec () |
Executes QA (filling histograms) | |
void | Init () |
Initializes QA (initialization of histograms and canvases) | |
bool | IsSenderDefined () const |
Checks, if the histogram sender is defined. | |
void | RegisterDigiData (const PODVector< Digi > *pvDigis) |
Register digi-qa data. | |
void | RegisterAuxDigiData (const AuxData *pAuxDigis) |
Register auxiliary digi data. | |
void | RegisterReadoutSetup (const ReadoutSetup &setup) |
Register read-out setup config. | |
void | SetUseAuxData (bool bAux=true) |
Sets usage of auxiliary data. | |
void | SetTimesliceIndex (uint64_t tsIndex) |
Sets timeslice index. | |
Protected Attributes | |
qa::Data | fQaData |
QA data. | |
std::shared_ptr< HistogramSender > | fpSender = nullptr |
Histogram sender. | |
std::shared_ptr< ReadoutSetup > | fpReadoutSetup = nullptr |
Readout config instance. | |
const PODVector< Digi > * | fpvDigis = nullptr |
Digis input. | |
const AuxData * | fpAuxDigis = nullptr |
Aux information on digis. | |
bool | fbAux = false |
Extra distributions (if the auxiliary data should be used) | |
Private Attributes | |
std::unordered_map< int32_t, int > | fmAddressMap |
Map of address to histogram index. | |
std::vector< qa::H1D * > | fvphAddressChannel |
hist: digi channel in different sensors | |
std::vector< qa::H1D * > | fvphAddressCharge |
hist: digi charge in different sensors | |
std::vector< qa::H2D * > | fvphAddressChannelCharge |
hist: digi channel vs. charge in different sensors | |
std::vector< qa::H2D * > | fvphAddressChannelElink |
hist: digi channel (vs. eling (AUX) | |
std::vector< qa::Prof1D * > | fvppAddressChannelMissedEvt |
prof: missed event ratio vs. channel (AUX) | |
std::vector< qa::Prof1D * > | fvppAddressTimeMissedEvt |
prof: missed event ratio vs. time (AUX) | |
qa::H2D * | fvphFebAsic = nullptr |
hist: digi FEB vs ASIC | |
QA module for STS raw digis.
|
inline |
Constructor.
Definition at line 29 of file StsDigiQa.h.
|
delete |
Default constructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
void DigiQa::Exec | ( | ) |
Executes QA (filling histograms)
Definition at line 139 of file StsDigiQa.cxx.
References cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fbAux, fmAddressMap, cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpAuxDigis, cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpSender, cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpvDigis, cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fQaData, fvphAddressChannel, fvphAddressChannelCharge, fvphAddressChannelElink, fvphAddressCharge, fvppAddressChannelMissedEvt, fvppAddressTimeMissedEvt, L_, and cbm::algo::qa::Data::Send().
void DigiQa::Init | ( | ) |
Initializes QA (initialization of histograms and canvases)
Definition at line 21 of file StsDigiQa.cxx.
References cbm::algo::qa::Data::AddCanvasConfig(), cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fbAux, fmAddressMap, cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpReadoutSetup, cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpSender, cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fQaData, fvphAddressChannel, fvphAddressChannelCharge, fvphAddressChannelElink, fvphAddressCharge, fvppAddressChannelMissedEvt, fvppAddressTimeMissedEvt, CbmStsAddress::GetElementId(), cbm::algo::qa::Data::Init(), kStsLadder, kStsModule, kStsUnit, and cbm::algo::qa::Data::MakeObj().
|
inlineinherited |
Checks, if the histogram sender is defined.
Definition at line 51 of file QaBase.h.
References cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpSender.
|
inlineinherited |
Register auxiliary digi data.
Definition at line 57 of file QaBase.h.
References cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fbAux, and cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpAuxDigis.
|
inlineinherited |
Register digi-qa data.
Definition at line 54 of file QaBase.h.
References cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpvDigis.
|
inlineinherited |
Register read-out setup config.
Definition at line 68 of file QaBase.h.
References cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpReadoutSetup.
|
inlineinherited |
Sets timeslice index.
Definition at line 74 of file QaBase.h.
References cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fQaData, and cbm::algo::qa::Data::SetTimesliceId().
|
inlineinherited |
Sets usage of auxiliary data.
Definition at line 71 of file QaBase.h.
References cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fbAux.
|
protectedinherited |
Extra distributions (if the auxiliary data should be used)
Definition at line 82 of file QaBase.h.
Referenced by Exec(), Init(), cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::RegisterAuxDigiData(), and cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::SetUseAuxData().
|
private |
Map of address to histogram index.
Definition at line 53 of file StsDigiQa.h.
|
protectedinherited |
Aux information on digis.
Definition at line 81 of file QaBase.h.
Referenced by Exec(), and cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::RegisterAuxDigiData().
|
protectedinherited |
Readout config instance.
Definition at line 79 of file QaBase.h.
Referenced by Init(), and cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::RegisterReadoutSetup().
|
protectedinherited |
Histogram sender.
Definition at line 78 of file QaBase.h.
Referenced by Exec(), Init(), and cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::IsSenderDefined().
|
protectedinherited |
Digis input.
Definition at line 80 of file QaBase.h.
Referenced by Exec(), and cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::RegisterDigiData().
|
protectedinherited |
QA data.
Definition at line 77 of file QaBase.h.
Referenced by Exec(), Init(), and cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::SetTimesliceIndex().
|
private |
hist: digi channel in different sensors
Definition at line 56 of file StsDigiQa.h.
|
private |
hist: digi channel vs. charge in different sensors
Definition at line 58 of file StsDigiQa.h.
|
private |
hist: digi channel (vs. eling (AUX)
Definition at line 59 of file StsDigiQa.h.
|
private |
hist: digi charge in different sensors
Definition at line 57 of file StsDigiQa.h.
|
private |
hist: digi FEB vs ASIC
Definition at line 64 of file StsDigiQa.h.
|
private |
prof: missed event ratio vs. channel (AUX)
Definition at line 61 of file StsDigiQa.h.
|
private |
prof: missed event ratio vs. time (AUX)
Definition at line 62 of file StsDigiQa.h.