LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Information about a RawDigit; may contain uncompressed duplicate of data. More...
Classes | |
struct | SampleInfo_t |
Public Member Functions | |
art::Ptr< raw::RawDigit > | DigitPtr () const |
Returns an art pointer to the actual digit. More... | |
raw::RawDigit const & | Digit () const |
Returns an art pointer to the actual digit. More... | |
raw::ChannelID_t | Channel () const |
Returns the channel of this digit (for convenience) More... | |
short | MinCharge () const |
minimum charge More... | |
short | MaxCharge () const |
maximum charge More... | |
raw::RawDigit::ADCvector_t const & | Data () const |
average charge More... | |
void | Fill (art::Ptr< raw::RawDigit > const &src) |
Parses the specified digit. More... | |
void | Clear () |
Deletes the data. More... | |
template<typename Stream > | |
void | Dump (Stream &&out) const |
Dumps the content of the digit info. More... | |
Private Member Functions | |
void | UncompressData () const |
Fills the uncompressed data cache. More... | |
void | CollectSampleInfo () const |
Fills the sample info cache. More... | |
SampleInfo_t const & | SampleInfo () const |
Returns the uncompressed data. More... | |
Private Attributes | |
art::Ptr< raw::RawDigit > | digit |
a pointer to the actual digit More... | |
mutable::details::PointerToData_t< raw::RawDigit::ADCvector_t const > | data |
Uncompressed data. More... | |
std::unique_ptr< SampleInfo_t > | sample_info |
Information collected from the uncompressed data. More... | |
Information about a RawDigit; may contain uncompressed duplicate of data.
Definition at line 175 of file RawDataDrawer.cxx.
|
inline |
Returns the channel of this digit (for convenience)
Definition at line 184 of file RawDataDrawer.cxx.
References raw::InvalidChannelID.
void evd::details::RawDigitInfo_t::Clear | ( | ) |
Deletes the data.
Definition at line 1581 of file RawDataDrawer.cxx.
|
private |
Fills the sample info cache.
Definition at line 1617 of file RawDataDrawer.cxx.
References lar::util::MinMaxCollector< T >::min().
raw::RawDigit::ADCvector_t const & evd::details::RawDigitInfo_t::Data | ( | ) | const |
average charge
Returns the uncompressed data
Definition at line 1569 of file RawDataDrawer.cxx.
Referenced by evd::RawDataDrawer::FillTQHisto().
|
inline |
Returns an art pointer to the actual digit.
Definition at line 181 of file RawDataDrawer.cxx.
Referenced by evd::details::RawDigitCacheDataClass::CheckUpToDate().
|
inline |
Returns an art pointer to the actual digit.
Definition at line 178 of file RawDataDrawer.cxx.
Referenced by evd::RawDataDrawer::FillTQHisto().
void evd::details::RawDigitInfo_t::Dump | ( | Stream && | out | ) | const |
Dumps the content of the digit info.
Definition at line 1641 of file RawDataDrawer.cxx.
References raw::kNone.
void evd::details::RawDigitInfo_t::Fill | ( | art::Ptr< raw::RawDigit > const & | src | ) |
Parses the specified digit.
Definition at line 1575 of file RawDataDrawer.cxx.
|
inline |
maximum charge
Definition at line 190 of file RawDataDrawer.cxx.
References details::PointerToData_t< T >::Clear(), and Fill().
|
inline |
minimum charge
Definition at line 187 of file RawDataDrawer.cxx.
|
private |
Returns the uncompressed data.
Definition at line 1634 of file RawDataDrawer.cxx.
|
private |
Fills the uncompressed data cache.
Definition at line 1587 of file RawDataDrawer.cxx.
References evd::RawDrawingOptions::fUncompressWithPed, raw::kNone, and raw::Uncompress().
|
private |
Uncompressed data.
Definition at line 217 of file RawDataDrawer.cxx.
|
private |
a pointer to the actual digit
Definition at line 214 of file RawDataDrawer.cxx.
|
mutableprivate |
Information collected from the uncompressed data.
Definition at line 220 of file RawDataDrawer.cxx.