CbmRoot
|
Collection of digis from all detector systems. More...
#include <DigiData.h>
Public Member Functions | |
DigiData () | |
~DigiData () | |
DigiData (const CbmDigiData &storable) | |
size_t | Size (ECbmModuleId system) const |
Get the number of digis for a given subsystem. | |
size_t | TotalSize () const |
Get the total number of digis across all subsystems. | |
size_t | TotalSizeBytes () const |
Get the total number of bytes used by all digis. | |
CbmDigiData | ToStorable () const |
Convert to CbmDigiData for file storage. | |
Public Attributes | |
PODVector< CbmStsDigi > | fSts |
Unpacked STS digis. | |
PODVector< CbmMuchDigi > | fMuch |
Unpacked MUCH digis. | |
PODVector< CbmTofDigi > | fTof |
Unpacked TOF digis. | |
PODVector< CbmBmonDigi > | fBmon |
Unpacked Bmon digis. | |
PODVector< CbmTrdDigi > | fTrd |
Unpacked TRD digis. | |
PODVector< CbmTrdDigi > | fTrd2d |
Unpacked TRD2D digis. | |
PODVector< CbmRichDigi > | fRich |
Unpacked RICH digis. | |
PODVector< CbmPsdDigi > | fPsd |
Unpacked PSD digis. | |
PODVector< CbmFsdDigi > | fFsd |
Unpacked FSD digis. | |
Collection of digis from all detector systems.
Very similar to CbmDigiData. CbmDigiData is meant for file storage, while this is used for the actual processing. Seperate classes allow for more flexibility and easier optimization.
Definition at line 31 of file DigiData.h.
DigiData::DigiData | ( | ) |
Definition at line 10 of file DigiData.cxx.
DigiData::~DigiData | ( | ) |
Definition at line 12 of file DigiData.cxx.
|
explicit |
Definition at line 14 of file DigiData.cxx.
size_t DigiData::Size | ( | ECbmModuleId | system | ) | const |
Get the number of digis for a given subsystem.
system | Subsystem to get the number of digis for |
Definition at line 27 of file DigiData.cxx.
References fBmon, fFsd, fMuch, fPsd, fRich, fSts, fTof, fTrd, fTrd2d, kBmon, kFsd, kMuch, kPsd, kRich, kSts, kTof, kTrd, and kTrd2d.
Referenced by cbm::algo::evbuild::DigiEventSelector::operator()().
CbmDigiData DigiData::ToStorable | ( | ) | const |
Convert to CbmDigiData for file storage.
Definition at line 56 of file DigiData.cxx.
References fBmon, fFsd, fMuch, fPsd, fRich, fSts, fTof, fTrd, fTrd2d, and cbm::algo::ToStdVector().
Referenced by CbmTaskUnpack::Exec(), and cbm::algo::DigiEvent::ToStorable().
size_t DigiData::TotalSize | ( | ) | const |
size_t DigiData::TotalSizeBytes | ( | ) | const |
PODVector<CbmBmonDigi> cbm::algo::DigiData::fBmon |
Unpacked Bmon digis.
Definition at line 35 of file DigiData.h.
Referenced by cbm::algo::evbuild::EventBuilder::BuildEvent(), CbmTaskUnpack::Exec(), cbm::algo::evbuild::EventbuildChain::GetDigiTimes(), cbm::algo::evbuild::EventBuilder::operator()(), cbm::algo::evbuild::DigiEventQa::QaDigiTimeInEvent(), cbm::algo::Reco::Run(), Size(), TEST(), TEST(), ToStorable(), TotalSize(), and TotalSizeBytes().
PODVector<CbmFsdDigi> cbm::algo::DigiData::fFsd |
Unpacked FSD digis.
Definition at line 40 of file DigiData.h.
Referenced by cbm::algo::evbuild::EventBuilder::BuildEvent(), cbm::algo::evbuild::EventbuildChain::GetDigiTimes(), cbm::algo::evbuild::EventBuilder::operator()(), cbm::algo::evbuild::DigiEventQa::QaDigiTimeInEvent(), cbm::algo::Reco::Run(), Size(), TEST(), TEST(), ToStorable(), TotalSize(), and TotalSizeBytes().
PODVector<CbmMuchDigi> cbm::algo::DigiData::fMuch |
Unpacked MUCH digis.
Definition at line 33 of file DigiData.h.
Referenced by cbm::algo::evbuild::EventBuilder::BuildEvent(), CbmTaskUnpack::Exec(), cbm::algo::evbuild::EventbuildChain::GetDigiTimes(), cbm::algo::evbuild::EventBuilder::operator()(), cbm::algo::evbuild::DigiEventQa::QaDigiTimeInEvent(), cbm::algo::Reco::Run(), Size(), TEST(), TEST(), ToStorable(), TotalSize(), and TotalSizeBytes().
PODVector<CbmPsdDigi> cbm::algo::DigiData::fPsd |
Unpacked PSD digis.
Definition at line 39 of file DigiData.h.
Referenced by cbm::algo::evbuild::EventBuilder::BuildEvent(), cbm::algo::evbuild::EventbuildChain::GetDigiTimes(), cbm::algo::evbuild::EventBuilder::operator()(), cbm::algo::evbuild::DigiEventQa::QaDigiTimeInEvent(), cbm::algo::Reco::Run(), Size(), TEST(), TEST(), ToStorable(), TotalSize(), and TotalSizeBytes().
PODVector<CbmRichDigi> cbm::algo::DigiData::fRich |
Unpacked RICH digis.
Definition at line 38 of file DigiData.h.
Referenced by cbm::algo::evbuild::EventBuilder::BuildEvent(), CbmTaskUnpack::Exec(), cbm::algo::evbuild::EventbuildChain::GetDigiTimes(), cbm::algo::evbuild::EventBuilder::operator()(), cbm::algo::evbuild::DigiEventQa::QaDigiTimeInEvent(), cbm::algo::Reco::Run(), Size(), TEST(), TEST(), ToStorable(), TotalSize(), and TotalSizeBytes().
PODVector<CbmStsDigi> cbm::algo::DigiData::fSts |
Unpacked STS digis.
Definition at line 32 of file DigiData.h.
Referenced by cbm::algo::evbuild::EventBuilder::BuildEvent(), CbmTaskUnpack::Exec(), cbm::algo::evbuild::EventbuildChain::GetDigiTimes(), cbm::algo::evbuild::DigiEventSelector::operator()(), cbm::algo::evbuild::EventBuilder::operator()(), cbm::algo::evbuild::DigiEventQa::QaDigiTimeInEvent(), cbm::algo::Reco::Run(), Size(), TEST(), TEST(), ToStorable(), TotalSize(), and TotalSizeBytes().
PODVector<CbmTofDigi> cbm::algo::DigiData::fTof |
Unpacked TOF digis.
Definition at line 34 of file DigiData.h.
Referenced by cbm::algo::evbuild::EventBuilder::BuildEvent(), CbmTaskUnpack::Exec(), cbm::algo::evbuild::EventbuildChain::GetDigiTimes(), cbm::algo::evbuild::DigiEventSelector::operator()(), cbm::algo::evbuild::EventBuilder::operator()(), cbm::algo::evbuild::DigiEventQa::QaDigiTimeInEvent(), cbm::algo::Reco::Run(), Size(), TEST(), TEST(), ToStorable(), TotalSize(), and TotalSizeBytes().
PODVector<CbmTrdDigi> cbm::algo::DigiData::fTrd |
Unpacked TRD digis.
Definition at line 36 of file DigiData.h.
Referenced by cbm::algo::evbuild::EventBuilder::BuildEvent(), CbmTaskUnpack::Exec(), cbm::algo::evbuild::EventbuildChain::GetDigiTimes(), cbm::algo::evbuild::EventBuilder::operator()(), cbm::algo::evbuild::DigiEventQa::QaDigiTimeInEvent(), cbm::algo::Reco::Run(), Size(), TEST(), TEST(), ToStorable(), TotalSize(), and TotalSizeBytes().
PODVector<CbmTrdDigi> cbm::algo::DigiData::fTrd2d |
Unpacked TRD2D digis.
Definition at line 37 of file DigiData.h.
Referenced by cbm::algo::evbuild::EventBuilder::BuildEvent(), CbmTaskUnpack::Exec(), cbm::algo::evbuild::EventBuilder::operator()(), cbm::algo::evbuild::DigiEventQa::QaDigiTimeInEvent(), cbm::algo::Reco::Run(), Size(), TEST(), ToStorable(), TotalSize(), and TotalSizeBytes().