Public Member Functions | Private Attributes | List of all members
arttest::TestEmptyEventTimestamp Class Reference
Inheritance diagram for arttest::TestEmptyEventTimestamp:
art::EmptyEventTimestampPlugin art::EmptyEventTimestampPlugin

Public Member Functions

 TestEmptyEventTimestamp (fhicl::ParameterSet const &p)
 
 TestEmptyEventTimestamp (TestEmptyEventTimestamp const &)=delete
 
 TestEmptyEventTimestamp (TestEmptyEventTimestamp &&)=delete
 
TestEmptyEventTimestampoperator= (TestEmptyEventTimestamp const &)=delete
 
TestEmptyEventTimestampoperator= (TestEmptyEventTimestamp &&)=delete
 
art::Timestamp eventTimestamp (art::EventID const &eid) override
 
void rewind () override
 
void beginJob () override
 
void beginRun (art::Run const &r) override
 
art::Timestamp beginRunTimestamp (art::RunID const &rid) override
 
void beginSubRun (art::SubRun const &sr) override
 
art::Timestamp beginSubRunTimestamp (art::SubRunID const &srid) override
 
void endJob () override
 
 TestEmptyEventTimestamp (fhicl::ParameterSet const &p)
 
 TestEmptyEventTimestamp (TestEmptyEventTimestamp const &)=delete
 
 TestEmptyEventTimestamp (TestEmptyEventTimestamp &&)=delete
 
TestEmptyEventTimestampoperator= (TestEmptyEventTimestamp const &)=delete
 
TestEmptyEventTimestampoperator= (TestEmptyEventTimestamp &&)=delete
 
art::Timestamp eventTimestamp (art::EventID const &eid) override
 
void rewind () override
 
void beginJob () override
 
void beginRun (art::Run const &r) override
 
art::Timestamp beginRunTimestamp (art::RunID const &rid) override
 
void beginSubRun (art::SubRun const &sr) override
 
art::Timestamp beginSubRunTimestamp (art::SubRunID const &srid) override
 
void endJob () override
 
- Public Member Functions inherited from art::EmptyEventTimestampPlugin
 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 Attributes

art::TimeValue_t timeCount_
 

Detailed Description

Definition at line 24 of file TestEmptyEventTimestamp_plugin.cc.

Constructor & Destructor Documentation

arttest::TestEmptyEventTimestamp::TestEmptyEventTimestamp ( fhicl::ParameterSet const &  p)
explicit

Definition at line 65 of file TestEmptyEventTimestamp_plugin.cc.

68 {
69  announce("constructor");
70 }
p
Definition: test.py:228
EmptyEventTimestampPlugin(fhicl::ParameterSet const &pset)
arttest::TestEmptyEventTimestamp::TestEmptyEventTimestamp ( TestEmptyEventTimestamp const &  )
delete
arttest::TestEmptyEventTimestamp::TestEmptyEventTimestamp ( TestEmptyEventTimestamp &&  )
delete
arttest::TestEmptyEventTimestamp::TestEmptyEventTimestamp ( fhicl::ParameterSet const &  p)
explicit
arttest::TestEmptyEventTimestamp::TestEmptyEventTimestamp ( TestEmptyEventTimestamp const &  )
delete
arttest::TestEmptyEventTimestamp::TestEmptyEventTimestamp ( TestEmptyEventTimestamp &&  )
delete

Member Function Documentation

void arttest::TestEmptyEventTimestamp::beginJob ( )
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

Definition at line 87 of file TestEmptyEventTimestamp_plugin.cc.

88 {
89  announce("beginJob");
90 }
void arttest::TestEmptyEventTimestamp::beginJob ( )
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

void arttest::TestEmptyEventTimestamp::beginRun ( art::Run const &  r)
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

void arttest::TestEmptyEventTimestamp::beginRun ( art::Run const &  r)
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

Definition at line 93 of file TestEmptyEventTimestamp_plugin.cc.

94 {
95  announce("beginRun");
96  std::cout << "r.beginTime() = " << r.beginTime().value() << std::endl;
97 }
art::Timestamp arttest::TestEmptyEventTimestamp::beginRunTimestamp ( art::RunID const &  rid)
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

art::Timestamp arttest::TestEmptyEventTimestamp::beginRunTimestamp ( art::RunID const &  rid)
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

Definition at line 101 of file TestEmptyEventTimestamp_plugin.cc.

102 {
103  announce("beginRunTimestamp");
104  return (timeCount_ - 1);
105 }
void arttest::TestEmptyEventTimestamp::beginSubRun ( art::SubRun const &  sr)
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

Definition at line 109 of file TestEmptyEventTimestamp_plugin.cc.

110 {
111  announce("beginSubRun");
112  std::cout << "sr.beginTime() = " << sr.beginTime().value() << std::endl;
113 }
static const double sr
Definition: Units.h:167
void arttest::TestEmptyEventTimestamp::beginSubRun ( art::SubRun const &  sr)
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

art::Timestamp arttest::TestEmptyEventTimestamp::beginSubRunTimestamp ( art::SubRunID const &  srid)
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

art::Timestamp arttest::TestEmptyEventTimestamp::beginSubRunTimestamp ( art::SubRunID const &  srid)
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

Definition at line 117 of file TestEmptyEventTimestamp_plugin.cc.

118 {
119  announce("beginSubRunTimestamp");
120  return (timeCount_ - 1);
121 }
void arttest::TestEmptyEventTimestamp::endJob ( )
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

Definition at line 125 of file TestEmptyEventTimestamp_plugin.cc.

126 {
127  announce("endJob");
128 }
void arttest::TestEmptyEventTimestamp::endJob ( )
overridevirtual

Reimplemented from art::EmptyEventTimestampPlugin.

art::Timestamp arttest::TestEmptyEventTimestamp::eventTimestamp ( art::EventID const &  eid)
overridevirtual
art::Timestamp arttest::TestEmptyEventTimestamp::eventTimestamp ( art::EventID const &  eid)
overridevirtual

Implements art::EmptyEventTimestampPlugin.

Definition at line 73 of file TestEmptyEventTimestamp_plugin.cc.

74 {
75  announce("eventTimestamp");
76  return timeCount_++;
77 }
TestEmptyEventTimestamp& arttest::TestEmptyEventTimestamp::operator= ( TestEmptyEventTimestamp const &  )
delete
TestEmptyEventTimestamp& arttest::TestEmptyEventTimestamp::operator= ( TestEmptyEventTimestamp const &  )
delete
TestEmptyEventTimestamp& arttest::TestEmptyEventTimestamp::operator= ( TestEmptyEventTimestamp &&  )
delete
TestEmptyEventTimestamp& arttest::TestEmptyEventTimestamp::operator= ( TestEmptyEventTimestamp &&  )
delete
void arttest::TestEmptyEventTimestamp::rewind ( )
overridevirtual

Implements art::EmptyEventTimestampPlugin.

Definition at line 80 of file TestEmptyEventTimestamp_plugin.cc.

81 {
82  announce("rewind");
83  timeCount_ = 0;
84 }
void arttest::TestEmptyEventTimestamp::rewind ( )
overridevirtual

Member Data Documentation

art::TimeValue_t arttest::TestEmptyEventTimestamp::timeCount_
private

Definition at line 54 of file TestEmptyEventTimestamp_plugin.cc.


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