LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::EmptyEventTimestampPlugin Class Referenceabstract

#include "EmptyEventTimestampPlugin.h"

Inheritance diagram for art::EmptyEventTimestampPlugin:
evgen::GeneratedEventTimestamp

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)
 
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
 

Private Attributes

Timestamp lastEventTimestamp_
 

Detailed Description

Definition at line 62 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 81 of file EmptyEventTimestampPlugin.h.

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

Definition at line 87 of file EmptyEventTimestampPlugin.h.

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

Definition at line 90 of file EmptyEventTimestampPlugin.h.

91  {
92  return lastEventTimestamp_;
93  }
virtual void art::EmptyEventTimestampPlugin::beginSubRun ( SubRun const &  )
inlineprivatevirtual

Definition at line 95 of file EmptyEventTimestampPlugin.h.

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

Definition at line 98 of file EmptyEventTimestampPlugin.h.

99  {
100  return lastEventTimestamp_;
101  }
void art::EmptyEventTimestampPlugin::doBeginJob ( )
inline

Definition at line 107 of file EmptyEventTimestampPlugin.h.

References breakpoints::beginJob().

108 {
109  beginJob();
110 }
void art::EmptyEventTimestampPlugin::doBeginRun ( Run const &  r)
inline

Definition at line 119 of file EmptyEventTimestampPlugin.h.

120 {
121  beginRun(r);
122 }
TRandom r
Definition: spectrum.C:23
art::Timestamp art::EmptyEventTimestampPlugin::doBeginRunTimestamp ( RunID const &  rid)
inline

Definition at line 125 of file EmptyEventTimestampPlugin.h.

126 {
127  return beginRunTimestamp(rid);
128 }
virtual Timestamp beginRunTimestamp(RunID const &)
void art::EmptyEventTimestampPlugin::doBeginSubRun ( SubRun const &  sr)
inline

Definition at line 131 of file EmptyEventTimestampPlugin.h.

132 {
133  beginSubRun(sr);
134 }
virtual void beginSubRun(SubRun const &)
art::Timestamp art::EmptyEventTimestampPlugin::doBeginSubRunTimestamp ( SubRunID const &  srid)
inline

Definition at line 137 of file EmptyEventTimestampPlugin.h.

138 {
139  return beginSubRunTimestamp(srid);
140 }
virtual Timestamp beginSubRunTimestamp(SubRunID const &)
void art::EmptyEventTimestampPlugin::doEndJob ( )
inline

Definition at line 113 of file EmptyEventTimestampPlugin.h.

114 {
115  endJob();
116 }
art::Timestamp art::EmptyEventTimestampPlugin::doEventTimestamp ( EventID const &  e)
inline

Definition at line 143 of file EmptyEventTimestampPlugin.h.

144 {
146  return lastEventTimestamp_;
147 }
virtual Timestamp eventTimestamp(EventID const &)=0
virtual void art::EmptyEventTimestampPlugin::endJob ( )
inlineprivatevirtual

Definition at line 84 of file EmptyEventTimestampPlugin.h.

85  {}
virtual Timestamp art::EmptyEventTimestampPlugin::eventTimestamp ( EventID const &  )
privatepure virtual

Member Data Documentation

Timestamp art::EmptyEventTimestampPlugin::lastEventTimestamp_
private

Definition at line 78 of file EmptyEventTimestampPlugin.h.


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