#include <LazyFrameSource.h>
Definition at line 24 of file LazyFrameSource.h.
LazyFrameSource::LazyFrameSource |
( |
| ) |
|
LazyFrameSource::~LazyFrameSource |
( |
| ) |
|
|
virtual |
void LazyFrameSource::configure |
( |
const WireCell::Configuration & |
config | ) |
|
|
virtual |
Definition at line 137 of file LazyFrameSource.cxx.
139 const std::string art_tag = cfg[
"art_tag"].asString();
140 if (art_tag.empty()) {
141 THROW(ValueError() << errmsg{
"LazyFrameSource requires a source_label"});
145 m_tick = cfg[
"tick"].asDouble();
146 for (
auto jtag : cfg[
"frame_tags"]) {
std::vector< std::string > m_frame_tags
WireCell::Configuration LazyFrameSource::default_configuration |
( |
| ) |
const |
|
virtual |
IConfigurable.
Definition at line 127 of file LazyFrameSource.cxx.
132 cfg[
"frame_tags"][0] =
"orig";
static constexpr double us
bool LazyFrameSource::operator() |
( |
WireCell::IFrame::pointer & |
frame | ) |
|
|
virtual |
IFrameSource.
Definition at line 184 of file LazyFrameSource.cxx.
std::deque< WireCell::IFrame::pointer > m_frames
IArtEventVisitor.
Implements wcls::IArtEventVisitor.
Definition at line 163 of file LazyFrameSource.cxx.
169 bool okay =
event.getByLabel(
m_inputTag, rdvh);
173 THROW(RuntimeError() << errmsg{msg});
175 else if (rdvh->size() == 0)
return;
178 std::cerr <<
"LazyFrameSource: got " << rdvh->size() <<
" raw::RawDigit objects\n";
EventNumber_t event() const
void msg(const char *fmt,...)
std::deque< WireCell::IFrame::pointer > m_frames
static double tdiff(const art::Timestamp &ts1, const art::Timestamp &ts2)
tick_as<> tick
Tick number, represented by std::ptrdiff_t.
Run const & getRun() const
std::vector< std::string > m_frame_tags
Timestamp const & beginTime() const
QTextStream & endl(QTextStream &s)
std::deque<WireCell::IFrame::pointer> wcls::LazyFrameSource::m_frames |
|
private |
int wcls::LazyFrameSource::m_nticks |
|
private |
double wcls::LazyFrameSource::m_tick |
|
private |
The documentation for this class was generated from the following files: