1 #ifndef art_Framework_Core_EmptyEventTimestampPlugin_h 2 #define art_Framework_Core_EmptyEventTimestampPlugin_h 42 #include "cetlib/PluginTypeDeducer.h" 43 #include "cetlib/ProvideFilePathMacro.h" 47 #define DEFINE_ART_EMPTYEVENTTIMESTAMP_PLUGIN(klass) \ 48 CET_PROVIDE_FILE_PATH() \ 49 FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass) \ 50 DEFINE_BASIC_PLUGIN(klass, art::EmptyEventTimestampPlugin) 53 class EmptyEventTimestampPlugin;
66 struct PluginTypeDeducer<
art::EmptyEventTimestampPlugin> {
77 void doBeginRun(
Run const& r);
79 void doBeginSubRun(
SubRun const& sr);
97 return lastEventTimestamp_;
103 return lastEventTimestamp_;
108 virtual void rewind() = 0;
133 return beginRunTimestamp(rid);
145 return beginSubRunTimestamp(srid);
151 lastEventTimestamp_ = eventTimestamp(eid);
152 return lastEventTimestamp_;
Timestamp doEventTimestamp(EventID const &e)
static std::string const value
void doBeginRun(Run const &r)
Timestamp doBeginRunTimestamp(RunID const &rid)
void doBeginSubRun(SubRun const &sr)
virtual Timestamp beginSubRunTimestamp(SubRunID const &)
Timestamp doBeginSubRunTimestamp(SubRunID const &srid)
virtual void beginRun(Run const &)
virtual Timestamp beginRunTimestamp(RunID const &)
virtual void beginSubRun(SubRun const &)
Timestamp lastEventTimestamp_