CbmRoot
Loading...
Searching...
No Matches
cbm::algo::sts::DigiQa Class Reference

QA module for STS raw digis. More...

#include <StsDigiQa.h>

Inheritance diagram for cbm::algo::sts::DigiQa:
[legend]
Collaboration diagram for cbm::algo::sts::DigiQa:
[legend]

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.
 
DigiQaoperator= (const DigiQa &)=delete
 Copy assignment operator.
 
DigiQaoperator= (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< HistogramSenderfpSender = nullptr
 Histogram sender.
 
std::shared_ptr< ReadoutSetupfpReadoutSetup = 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::H2DfvphFebAsic = nullptr
 hist: digi FEB vs ASIC
 

Detailed Description

QA module for STS raw digis.

Constructor & Destructor Documentation

◆ DigiQa() [1/4]

cbm::algo::sts::DigiQa::DigiQa ( std::shared_ptr< HistogramSender > pSender)
inline

Constructor.

Definition at line 29 of file StsDigiQa.h.

◆ DigiQa() [2/4]

cbm::algo::sts::DigiQa::DigiQa ( )
delete

Default constructor.

◆ DigiQa() [3/4]

cbm::algo::sts::DigiQa::DigiQa ( const DigiQa & )
delete

Copy constructor.

◆ DigiQa() [4/4]

cbm::algo::sts::DigiQa::DigiQa ( DigiQa && )
delete

Move constructor.

Member Function Documentation

◆ Exec()

◆ Init()

◆ IsSenderDefined()

template<class Digi , class AuxData , class ReadoutSetup >
bool cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::IsSenderDefined ( ) const
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.

◆ operator=() [1/2]

DigiQa & cbm::algo::sts::DigiQa::operator= ( const DigiQa & )
delete

Copy assignment operator.

◆ operator=() [2/2]

DigiQa & cbm::algo::sts::DigiQa::operator= ( DigiQa && )
delete

Move assignment operator.

◆ RegisterAuxDigiData()

template<class Digi , class AuxData , class ReadoutSetup >
void cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::RegisterAuxDigiData ( const AuxData * pAuxDigis)
inlineinherited

◆ RegisterDigiData()

template<class Digi , class AuxData , class ReadoutSetup >
void cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::RegisterDigiData ( const PODVector< Digi > * pvDigis)
inlineinherited

Register digi-qa data.

Definition at line 54 of file QaBase.h.

References cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpvDigis.

◆ RegisterReadoutSetup()

template<class Digi , class AuxData , class ReadoutSetup >
void cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::RegisterReadoutSetup ( const ReadoutSetup & setup)
inlineinherited

Register read-out setup config.

Definition at line 68 of file QaBase.h.

References cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpReadoutSetup.

◆ SetTimesliceIndex()

template<class Digi , class AuxData , class ReadoutSetup >
void cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::SetTimesliceIndex ( uint64_t tsIndex)
inlineinherited

◆ SetUseAuxData()

template<class Digi , class AuxData , class ReadoutSetup >
void cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::SetUseAuxData ( bool bAux = true)
inlineinherited

Sets usage of auxiliary data.

Definition at line 71 of file QaBase.h.

References cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fbAux.

Member Data Documentation

◆ fbAux

template<class Digi , class AuxData , class ReadoutSetup >
bool cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fbAux = false
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().

◆ fmAddressMap

std::unordered_map<int32_t, int> cbm::algo::sts::DigiQa::fmAddressMap
private

Map of address to histogram index.

Definition at line 53 of file StsDigiQa.h.

Referenced by Exec(), and Init().

◆ fpAuxDigis

template<class Digi , class AuxData , class ReadoutSetup >
const AuxData* cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpAuxDigis = nullptr
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().

◆ fpReadoutSetup

template<class Digi , class AuxData , class ReadoutSetup >
std::shared_ptr<ReadoutSetup> cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpReadoutSetup = nullptr
protectedinherited

Readout config instance.

Definition at line 79 of file QaBase.h.

Referenced by Init(), and cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::RegisterReadoutSetup().

◆ fpSender

template<class Digi , class AuxData , class ReadoutSetup >
std::shared_ptr<HistogramSender> cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpSender = nullptr
protectedinherited

Histogram sender.

Definition at line 78 of file QaBase.h.

Referenced by Exec(), Init(), and cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::IsSenderDefined().

◆ fpvDigis

template<class Digi , class AuxData , class ReadoutSetup >
const PODVector<Digi>* cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fpvDigis = nullptr
protectedinherited

Digis input.

Definition at line 80 of file QaBase.h.

Referenced by Exec(), and cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::RegisterDigiData().

◆ fQaData

template<class Digi , class AuxData , class ReadoutSetup >
qa::Data cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::fQaData
protectedinherited

QA data.

Definition at line 77 of file QaBase.h.

Referenced by Exec(), Init(), and cbm::algo::sts::QaBase< Digi, AuxData, ReadoutSetup >::SetTimesliceIndex().

◆ fvphAddressChannel

std::vector<qa::H1D*> cbm::algo::sts::DigiQa::fvphAddressChannel
private

hist: digi channel in different sensors

Definition at line 56 of file StsDigiQa.h.

Referenced by Exec(), and Init().

◆ fvphAddressChannelCharge

std::vector<qa::H2D*> cbm::algo::sts::DigiQa::fvphAddressChannelCharge
private

hist: digi channel vs. charge in different sensors

Definition at line 58 of file StsDigiQa.h.

Referenced by Exec(), and Init().

◆ fvphAddressChannelElink

std::vector<qa::H2D*> cbm::algo::sts::DigiQa::fvphAddressChannelElink
private

hist: digi channel (vs. eling (AUX)

Definition at line 59 of file StsDigiQa.h.

Referenced by Exec(), and Init().

◆ fvphAddressCharge

std::vector<qa::H1D*> cbm::algo::sts::DigiQa::fvphAddressCharge
private

hist: digi charge in different sensors

Definition at line 57 of file StsDigiQa.h.

Referenced by Exec(), and Init().

◆ fvphFebAsic

qa::H2D* cbm::algo::sts::DigiQa::fvphFebAsic = nullptr
private

hist: digi FEB vs ASIC

Definition at line 64 of file StsDigiQa.h.

◆ fvppAddressChannelMissedEvt

std::vector<qa::Prof1D*> cbm::algo::sts::DigiQa::fvppAddressChannelMissedEvt
private

prof: missed event ratio vs. channel (AUX)

Definition at line 61 of file StsDigiQa.h.

Referenced by Exec(), and Init().

◆ fvppAddressTimeMissedEvt

std::vector<qa::Prof1D*> cbm::algo::sts::DigiQa::fvppAddressTimeMissedEvt
private

prof: missed event ratio vs. time (AUX)

Definition at line 62 of file StsDigiQa.h.

Referenced by Exec(), and Init().


The documentation for this class was generated from the following files: