1 #ifndef art_Framework_Core_EmptyEventTimestampPlugin_h 2 #define art_Framework_Core_EmptyEventTimestampPlugin_h 41 #include "cetlib/PluginTypeDeducer.h" 42 #include "cetlib/ProvideFilePathMacro.h" 46 #define DEFINE_ART_EMPTYEVENTTIMESTAMP_PLUGIN(klass) \ 47 CET_PROVIDE_FILE_PATH() \ 48 FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass) \ 49 DEFINE_BASIC_PLUGIN(klass, art::EmptyEventTimestampPlugin) 52 class EmptyEventTimestampPlugin;
57 struct PluginTypeDeducer<
art::EmptyEventTimestampPlugin> {
68 void doBeginRun(
Run const&
r);
70 void doBeginSubRun(
SubRun const& sr);
92 return lastEventTimestamp_;
100 return lastEventTimestamp_;
127 return beginRunTimestamp(rid);
139 return beginSubRunTimestamp(srid);
145 lastEventTimestamp_ = eventTimestamp(eid);
146 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_