Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::EmptyEventTimestampPlugin Class Referenceabstract

#include <EmptyEventTimestampPlugin.h>

Public Member Functions

 EmptyEventTimestampPlugin (fhicl::ParameterSet const &pset)
 
void doBeginJob ()
 
void doEndJob ()
 
void doBeginRun (Run const &r)
 
Timestamp doBeginRunTimestamp (RunID const &rid)
 
void doBeginSubRun (SubRun const &sr)
 
Timestamp doBeginSubRunTimestamp (SubRunID const &srid)
 
Timestamp doEventTimestamp (EventID const &e)
 
void doRewind ()
 
virtual ~EmptyEventTimestampPlugin ()=default
 

Private Member Functions

virtual void beginJob ()
 
virtual void endJob ()
 
virtual void beginRun (Run const &)
 
virtual Timestamp beginRunTimestamp (RunID const &)
 
virtual void beginSubRun (SubRun const &)
 
virtual Timestamp beginSubRunTimestamp (SubRunID const &)
 
virtual Timestamp eventTimestamp (EventID const &)=0
 
virtual void rewind ()=0
 

Private Attributes

Timestamp lastEventTimestamp_
 

Detailed Description

Definition at line 65 of file EmptyEventTimestampPlugin.h.

Constructor & Destructor Documentation

art::EmptyEventTimestampPlugin::EmptyEventTimestampPlugin ( fhicl::ParameterSet const &  pset)

Definition at line 7 of file EmptyEventTimestampPlugin.cc.

10 {}
static constexpr Timestamp invalidTimestamp()
Definition: Timestamp.h:82
virtual art::EmptyEventTimestampPlugin::~EmptyEventTimestampPlugin ( )
virtualdefault

Member Function Documentation

virtual void art::EmptyEventTimestampPlugin::beginJob ( )
inlineprivatevirtual

Definition at line 86 of file EmptyEventTimestampPlugin.h.

87  {}
virtual void art::EmptyEventTimestampPlugin::beginRun ( Run const &  )
inlineprivatevirtual

Definition at line 92 of file EmptyEventTimestampPlugin.h.

93  {}
virtual Timestamp art::EmptyEventTimestampPlugin::beginRunTimestamp ( RunID const &  )
inlineprivatevirtual

Definition at line 95 of file EmptyEventTimestampPlugin.h.

96  {
97  return lastEventTimestamp_;
98  }
virtual void art::EmptyEventTimestampPlugin::beginSubRun ( SubRun const &  )
inlineprivatevirtual

Definition at line 100 of file EmptyEventTimestampPlugin.h.

101  {}
virtual Timestamp art::EmptyEventTimestampPlugin::beginSubRunTimestamp ( SubRunID const &  )
inlineprivatevirtual

Definition at line 103 of file EmptyEventTimestampPlugin.h.

104  {
105  return lastEventTimestamp_;
106  }
void art::EmptyEventTimestampPlugin::doBeginJob ( )
inline

Definition at line 116 of file EmptyEventTimestampPlugin.h.

117 {
118  beginJob();
119 }
void art::EmptyEventTimestampPlugin::doBeginRun ( Run const &  r)
inline

Definition at line 128 of file EmptyEventTimestampPlugin.h.

129 {
130  beginRun(r);
131 }
art::Timestamp art::EmptyEventTimestampPlugin::doBeginRunTimestamp ( RunID const &  rid)
inline

Definition at line 134 of file EmptyEventTimestampPlugin.h.

135 {
136  return beginRunTimestamp(rid);
137 }
virtual Timestamp beginRunTimestamp(RunID const &)
void art::EmptyEventTimestampPlugin::doBeginSubRun ( SubRun const &  sr)
inline

Definition at line 140 of file EmptyEventTimestampPlugin.h.

141 {
142  beginSubRun(sr);
143 }
static constexpr double sr
Definition: Units.h:166
virtual void beginSubRun(SubRun const &)
art::Timestamp art::EmptyEventTimestampPlugin::doBeginSubRunTimestamp ( SubRunID const &  srid)
inline

Definition at line 146 of file EmptyEventTimestampPlugin.h.

147 {
148  return beginSubRunTimestamp(srid);
149 }
virtual Timestamp beginSubRunTimestamp(SubRunID const &)
void art::EmptyEventTimestampPlugin::doEndJob ( )
inline

Definition at line 122 of file EmptyEventTimestampPlugin.h.

123 {
124  endJob();
125 }
art::Timestamp art::EmptyEventTimestampPlugin::doEventTimestamp ( EventID const &  e)
inline

Definition at line 152 of file EmptyEventTimestampPlugin.h.

153 {
155  return lastEventTimestamp_;
156 }
virtual Timestamp eventTimestamp(EventID const &)=0
void art::EmptyEventTimestampPlugin::doRewind ( )
inline

Definition at line 159 of file EmptyEventTimestampPlugin.h.

160 {
161  rewind();
162 }
virtual void art::EmptyEventTimestampPlugin::endJob ( )
inlineprivatevirtual

Definition at line 89 of file EmptyEventTimestampPlugin.h.

90  {}
virtual Timestamp art::EmptyEventTimestampPlugin::eventTimestamp ( EventID const &  )
privatepure virtual
virtual void art::EmptyEventTimestampPlugin::rewind ( )
privatepure virtual

Member Data Documentation

Timestamp art::EmptyEventTimestampPlugin::lastEventTimestamp_
private

Definition at line 83 of file EmptyEventTimestampPlugin.h.


The documentation for this class was generated from the following files: