1 #ifndef art_Framework_Core_EmptyEventTimestampPlugin_h 2 #define art_Framework_Core_EmptyEventTimestampPlugin_h 49 #define DEFINE_ART_EMPTYEVENTTIMESTAMP_PLUGIN(klass) \ 50 CET_PROVIDE_FILE_PATH() \ 51 FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass) \ 52 DEFINE_BASIC_PLUGIN(klass, art::EmptyEventTimestampPlugin) 55 class EmptyEventTimestampPlugin;
71 void doBeginRun(
Run const&
r);
73 void doBeginSubRun(
SubRun const&
sr);
97 return lastEventTimestamp_;
105 return lastEventTimestamp_;
110 virtual void rewind() = 0;
136 return beginRunTimestamp(rid);
148 return beginSubRunTimestamp(srid);
154 lastEventTimestamp_ = eventTimestamp(eid);
155 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 &)
static constexpr double sr
virtual Timestamp beginRunTimestamp(RunID const &)
virtual void beginSubRun(SubRun const &)
Timestamp lastEventTimestamp_