CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends
edm::RunForOutput Class Reference

#include <RunForOutput.h>

Inheritance diagram for edm::RunForOutput:
edm::OccurrenceForOutput

Public Member Functions

Timestamp const & beginTime () const
 
Timestamp const & endTime () const
 
RunID const & id () const
 
RunNumber_t run () const
 
RunAuxiliary const & runAuxiliary () const
 
 RunForOutput (RunPrincipal const &rp, ModuleDescription const &md, ModuleCallingContext const *)
 
 ~RunForOutput () override
 
- Public Member Functions inherited from edm::OccurrenceForOutput
void getAllProvenance (std::vector< Provenance const * > &provenances) const
 
void getAllStableProvenance (std::vector< StableProvenance const * > &provenances) const
 
bool getByToken (EDGetToken token, TypeID const &typeID, BasicHandle &result) const
 
template<typename PROD >
bool getByToken (EDGetToken token, Handle< PROD > &result) const
 
template<typename PROD >
bool getByToken (EDGetTokenT< PROD > token, Handle< PROD > &result) const
 
Provenance getProvenance (BranchID const &theID) const
 
 OccurrenceForOutput (Principal const &ep, ModuleDescription const &md, ModuleCallingContext const *)
 
virtual ProcessHistory const & processHistory () const
 
ProcessHistoryID const & processHistoryID () const
 
void setConsumer (EDConsumerBase const *iConsumer)
 
size_t size () const
 
virtual ~OccurrenceForOutput ()
 

Private Member Functions

RunPrincipal const & runPrincipal () const
 

Private Attributes

RunAuxiliary const & aux_
 

Static Private Attributes

static const std::string emptyString_
 

Friends

class edmtest::TestOutputModule
 

Additional Inherited Members

- Protected Member Functions inherited from edm::OccurrenceForOutput
Principal const & principal () const
 

Detailed Description

Definition at line 38 of file RunForOutput.h.

Constructor & Destructor Documentation

RunForOutput::RunForOutput ( RunPrincipal const &  rp,
ModuleDescription const &  md,
ModuleCallingContext const *  moduleCallingContext 
)

Definition at line 9 of file RunForOutput.cc.

10  :
12  aux_(rp.aux()) {
13  }
ModuleCallingContext const * moduleCallingContext() const
RunAuxiliary const & aux_
Definition: RunForOutput.h:56
OccurrenceForOutput(Principal const &ep, ModuleDescription const &md, ModuleCallingContext const *)
RunForOutput::~RunForOutput ( )
override

Definition at line 15 of file RunForOutput.cc.

15  {
16  }

Member Function Documentation

Timestamp const& edm::RunForOutput::beginTime ( ) const
inline

Definition at line 47 of file RunForOutput.h.

Referenced by DQMRootOutputModule::writeRun().

47 {return aux_.beginTime();}
Timestamp const & beginTime() const
Definition: RunAuxiliary.h:39
RunAuxiliary const & aux_
Definition: RunForOutput.h:56
Timestamp const& edm::RunForOutput::endTime ( ) const
inline

Definition at line 48 of file RunForOutput.h.

Referenced by DQMRootOutputModule::writeRun().

48 {return aux_.endTime();}
Timestamp const & endTime() const
Definition: RunAuxiliary.h:40
RunAuxiliary const & aux_
Definition: RunForOutput.h:56
RunID const& edm::RunForOutput::id ( void  ) const
inline

Definition at line 45 of file RunForOutput.h.

Referenced by edm::GetProductCheckerOutputModule::writeRun(), NanoAODOutputModule::writeRun(), and DQMRootOutputModule::writeRun().

45 {return aux_.id();}
RunID const & id() const
Definition: RunAuxiliary.h:37
RunAuxiliary const & aux_
Definition: RunForOutput.h:56
RunNumber_t edm::RunForOutput::run ( ) const
inline

Definition at line 46 of file RunForOutput.h.

Referenced by Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), and edm::RootOutputFile::writeRun().

46 {return aux_.run();}
RunAuxiliary const & aux_
Definition: RunForOutput.h:56
RunNumber_t run() const
Definition: RunAuxiliary.h:41
RunAuxiliary const& edm::RunForOutput::runAuxiliary ( ) const
inline

Definition at line 44 of file RunForOutput.h.

Referenced by edm::RootOutputFile::writeRun().

44 {return aux_;}
RunAuxiliary const & aux_
Definition: RunForOutput.h:56
RunPrincipal const & RunForOutput::runPrincipal ( ) const
private

Definition at line 19 of file RunForOutput.cc.

References edm::OccurrenceForOutput::principal().

19  {
20  return dynamic_cast<RunPrincipal const&>(principal());
21  }
Principal const & principal() const

Friends And Related Function Documentation

friend class edmtest::TestOutputModule
friend

Definition at line 51 of file RunForOutput.h.

Member Data Documentation

RunAuxiliary const& edm::RunForOutput::aux_
private

Definition at line 56 of file RunForOutput.h.

const std::string edm::RunForOutput::emptyString_
staticprivate

Definition at line 58 of file RunForOutput.h.