CbmRoot
|
Event data with event number and trigger time. More...
#include <DigiData.h>
Public Member Functions | |
DigiEvent ()=default | |
DigiEvent (const CbmDigiEvent &storable) | |
CbmDigiEvent | ToStorable () const |
Convert to CbmDigiEvent for file storage. | |
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. | |
Static Public Member Functions | |
static std::vector< DigiEvent > | FromCbmDigiEvents (const std::vector< CbmDigiEvent > &events) |
static std::vector< CbmDigiEvent > | ToCbmDigiEvents (const std::vector< DigiEvent > &events) |
Public Attributes | |
uint64_t | fNumber = -1 |
Event identifier. | |
double | fTime = 0 |
Event trigger time [ns]. | |
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. | |
Event data with event number and trigger time.
Definition at line 79 of file DigiData.h.
|
default |
|
explicit |
Definition at line 118 of file DigiData.cxx.
|
static |
Definition at line 98 of file DigiData.cxx.
Referenced by CbmTaskDigiEventQa::Exec().
|
inherited |
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 cbm::algo::DigiData::fBmon, cbm::algo::DigiData::fFsd, cbm::algo::DigiData::fMuch, cbm::algo::DigiData::fPsd, cbm::algo::DigiData::fRich, cbm::algo::DigiData::fSts, cbm::algo::DigiData::fTof, cbm::algo::DigiData::fTrd, cbm::algo::DigiData::fTrd2d, kBmon, kFsd, kMuch, kPsd, kRich, kSts, kTof, kTrd, and kTrd2d.
Referenced by cbm::algo::evbuild::DigiEventSelector::operator()().
|
static |
Definition at line 108 of file DigiData.cxx.
Referenced by CbmTaskBuildEvents::Exec().
CbmDigiEvent DigiEvent::ToStorable | ( | ) | const |
Convert to CbmDigiEvent for file storage.
Definition at line 125 of file DigiData.cxx.
References fNumber, fTime, and cbm::algo::DigiData::ToStorable().
|
inherited |
Get the total number of digis across all subsystems.
Definition at line 43 of file DigiData.cxx.
References cbm::algo::DigiData::fBmon, cbm::algo::DigiData::fFsd, cbm::algo::DigiData::fMuch, cbm::algo::DigiData::fPsd, cbm::algo::DigiData::fRich, cbm::algo::DigiData::fSts, cbm::algo::DigiData::fTof, cbm::algo::DigiData::fTrd, and cbm::algo::DigiData::fTrd2d.
|
inherited |
Get the total number of bytes used by all digis.
Definition at line 49 of file DigiData.cxx.
References cbm::algo::DigiData::fBmon, cbm::algo::DigiData::fFsd, cbm::algo::DigiData::fMuch, cbm::algo::DigiData::fPsd, cbm::algo::DigiData::fRich, cbm::algo::DigiData::fSts, cbm::algo::DigiData::fTof, cbm::algo::DigiData::fTrd, and cbm::algo::DigiData::fTrd2d.
Referenced by cbm::algo::evbuild::EventBuilder::operator()().
|
inherited |
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(), cbm::algo::DigiData::Size(), TEST(), TEST(), cbm::algo::DigiData::ToStorable(), cbm::algo::DigiData::TotalSize(), and cbm::algo::DigiData::TotalSizeBytes().
|
inherited |
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(), cbm::algo::DigiData::Size(), TEST(), TEST(), cbm::algo::DigiData::ToStorable(), cbm::algo::DigiData::TotalSize(), and cbm::algo::DigiData::TotalSizeBytes().
|
inherited |
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(), cbm::algo::DigiData::Size(), TEST(), TEST(), cbm::algo::DigiData::ToStorable(), cbm::algo::DigiData::TotalSize(), and cbm::algo::DigiData::TotalSizeBytes().
uint64_t cbm::algo::DigiEvent::fNumber = -1 |
|
inherited |
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(), cbm::algo::DigiData::Size(), TEST(), TEST(), cbm::algo::DigiData::ToStorable(), cbm::algo::DigiData::TotalSize(), and cbm::algo::DigiData::TotalSizeBytes().
|
inherited |
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(), cbm::algo::DigiData::Size(), TEST(), TEST(), cbm::algo::DigiData::ToStorable(), cbm::algo::DigiData::TotalSize(), and cbm::algo::DigiData::TotalSizeBytes().
|
inherited |
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(), cbm::algo::DigiData::Size(), TEST(), TEST(), cbm::algo::DigiData::ToStorable(), cbm::algo::DigiData::TotalSize(), and cbm::algo::DigiData::TotalSizeBytes().
double cbm::algo::DigiEvent::fTime = 0 |
Event trigger time [ns].
Definition at line 82 of file DigiData.h.
Referenced by cbm::algo::evbuild::EventBuilder::BuildEvent(), cbm::algo::evbuild::DigiEventQa::QaDigiTimeInEvent(), and ToStorable().
|
inherited |
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(), cbm::algo::DigiData::Size(), TEST(), TEST(), cbm::algo::DigiData::ToStorable(), cbm::algo::DigiData::TotalSize(), and cbm::algo::DigiData::TotalSizeBytes().
|
inherited |
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(), cbm::algo::DigiData::Size(), TEST(), TEST(), cbm::algo::DigiData::ToStorable(), cbm::algo::DigiData::TotalSize(), and cbm::algo::DigiData::TotalSizeBytes().
|
inherited |
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(), cbm::algo::DigiData::Size(), TEST(), cbm::algo::DigiData::ToStorable(), cbm::algo::DigiData::TotalSize(), and cbm::algo::DigiData::TotalSizeBytes().