|
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. | |
| bool | IsSenderDefined () const |
| Checks, if the histogram sender is defined. | |
| void | RegisterDigiData (const PODVector< CbmStsDigi > *pvDigis) |
| Register digi-qa data. | |
| void | RegisterDigiData (const PODVector< CbmStsDigi > *pvDigis) |
| Register digi-qa data. | |
| void | RegisterAuxDigiData (const UnpackAux< sts::UnpackAuxData > *pAuxDigis) |
| Register auxiliary digi data. | |
| void | RegisterAuxDigiData (const UnpackAux< sts::UnpackAuxData > *pAuxDigis) |
| Register auxiliary digi data. | |
| void | RegisterReadoutSetup (const ReadoutSetup &setup) |
| Register read-out setup config. | |
| void | RegisterReadoutSetup (const ReadoutSetup &setup) |
| Register read-out setup config. | |
| void | SetUseAuxData (bool bAux=true) |
| Sets usage of auxiliary data. | |
| void | SetUseAuxData (bool bAux=true) |
| Sets usage of auxiliary data. | |
| void | SetTimesliceIndex (uint64_t tsIndex) |
| Sets timeslice index. | |
| void | SetTimesliceIndex (uint64_t tsIndex) |
| Sets timeslice index. | |
Protected Attributes | |
| qa::Data | fQaData |
| QA data. | |
| qa::Data | fQaData |
| QA data. | |
| std::shared_ptr< HistogramSender > | fpSender |
| Histogram sender. | |
| std::shared_ptr< HistogramSender > | fpSender |
| Histogram sender. | |
| std::shared_ptr< ReadoutSetup > | fpReadoutSetup |
| Readout config instance. | |
| std::shared_ptr< ReadoutSetup > | fpReadoutSetup |
| Readout config instance. | |
| const PODVector< CbmStsDigi > * | fpvDigis |
| Digis input. | |
| const PODVector< CbmStsDigi > * | fpvDigis |
| Digis input. | |
| const UnpackAux< sts::UnpackAuxData > * | fpAuxDigis |
| Aux information on digis. | |
| const UnpackAux< sts::UnpackAuxData > * | fpAuxDigis |
| Aux information on digis. | |
| bool | fbAux |
| Extra distributions (if the auxiliary data should be used) | |
| bool | fbAux |
| 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.
Definition at line 26 of file StsDigiQa.h.
|
inline |
Constructor.
Definition at line 29 of file StsDigiQa.h.
Referenced by DigiQa(), DigiQa(), operator=(), and operator=().
|
delete |
Default constructor.
| void DigiQa::Exec | ( | ) |
Executes QA (filling histograms)
Definition at line 139 of file StsDigiQa.cxx.
References cbm::algo::sts::QaBase< CbmStsDigi, UnpackAux< sts::UnpackAuxData >, ReadoutSetup >::fbAux, fmAddressMap, cbm::algo::sts::QaBase< CbmStsDigi, UnpackAux< sts::UnpackAuxData >, ReadoutSetup >::fpAuxDigis, cbm::algo::sts::QaBase< CbmStsDigi, UnpackAux< sts::UnpackAuxData >, ReadoutSetup >::fpSender, cbm::algo::sts::QaBase< CbmStsDigi, UnpackAux< sts::UnpackAuxData >, ReadoutSetup >::fpvDigis, cbm::algo::sts::QaBase< CbmStsDigi, UnpackAux< sts::UnpackAuxData >, ReadoutSetup >::fQaData, fvphAddressChannel, fvphAddressChannelCharge, fvphAddressChannelElink, fvphAddressCharge, fvppAddressChannelMissedEvt, fvppAddressTimeMissedEvt, and L_.
| void DigiQa::Init | ( | ) |
Initializes QA (initialization of histograms and canvases)
Definition at line 21 of file StsDigiQa.cxx.
References cbm::algo::sts::QaBase< CbmStsDigi, UnpackAux< sts::UnpackAuxData >, ReadoutSetup >::fbAux, fmAddressMap, cbm::algo::sts::QaBase< CbmStsDigi, UnpackAux< sts::UnpackAuxData >, ReadoutSetup >::fpReadoutSetup, cbm::algo::sts::QaBase< CbmStsDigi, UnpackAux< sts::UnpackAuxData >, ReadoutSetup >::fpSender, cbm::algo::sts::QaBase< CbmStsDigi, UnpackAux< sts::UnpackAuxData >, ReadoutSetup >::fQaData, fvphAddressChannel, fvphAddressChannelCharge, fvphAddressChannelElink, fvphAddressCharge, fvppAddressChannelMissedEvt, fvppAddressTimeMissedEvt, CbmStsAddress::GetElementId(), kStsLadder, kStsModule, and kStsUnit.
|
inlineinherited |
|
inlineinherited |
Copy assignment operator.
References DigiQa().
Move assignment operator.
References DigiQa().
|
inlineinherited |
Register auxiliary digi data.
Definition at line 57 of file QaBase.h.
References fbAux, and fpAuxDigis.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
Extra distributions (if the auxiliary data should be used)
Definition at line 82 of file QaBase.h.
Referenced by cbm::algo::sts::DigiQa::Exec(), cbm::algo::sts::DigiQa::Init(), RegisterAuxDigiData(), and SetUseAuxData().
|
protectedinherited |
|
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 cbm::algo::sts::DigiQa::Exec(), and RegisterAuxDigiData().
|
protectedinherited |
|
protectedinherited |
Readout config instance.
Definition at line 79 of file QaBase.h.
Referenced by cbm::algo::sts::DigiQa::Init(), and RegisterReadoutSetup().
|
protectedinherited |
|
protectedinherited |
Histogram sender.
Definition at line 78 of file QaBase.h.
Referenced by cbm::algo::sts::DigiQa::Exec(), cbm::algo::sts::DigiQa::Init(), IsSenderDefined(), and QaBase().
|
protectedinherited |
|
protectedinherited |
Digis input.
Definition at line 80 of file QaBase.h.
Referenced by cbm::algo::sts::DigiQa::Exec(), and RegisterDigiData().
|
protectedinherited |
|
protectedinherited |
QA data.
Definition at line 77 of file QaBase.h.
Referenced by cbm::algo::sts::DigiQa::Exec(), cbm::algo::sts::DigiQa::Init(), QaBase(), and SetTimesliceIndex().
|
protectedinherited |
|
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.