CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
 
RunIndex index () const
 
MergeableRunProductMetadata const * mergeableRunProductMetadata () const
 
RunNumber_t run () const
 
RunAuxiliary const & runAuxiliary () const
 
 RunForOutput (RunTransitionInfo const &, ModuleDescription const &, ModuleCallingContext const *, bool isAtEnd, MergeableRunProductMetadata const *=nullptr)
 
 RunForOutput (RunPrincipal const &, ModuleDescription const &, ModuleCallingContext const *, bool isAtEnd, MergeableRunProductMetadata const *=nullptr)
 
 ~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
 
BasicHandle getByToken (EDGetToken token, TypeID const &typeID) const
 
template<typename PROD >
bool getByToken (EDGetToken token, Handle< PROD > &result) const
 
template<typename PROD >
bool getByToken (EDGetTokenT< PROD > token, Handle< PROD > &result) const
 
template<typename PROD >
Handle< PRODgetHandle (EDGetTokenT< PROD > token) const
 
Provenance getProvenance (BranchID const &theID) const
 
 OccurrenceForOutput (Principal const &ep, ModuleDescription const &md, ModuleCallingContext const *, bool isAtEnd)
 
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_
 
MergeableRunProductMetadata const * mergeableRunProductMetadata_
 

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 40 of file RunForOutput.h.

Constructor & Destructor Documentation

RunForOutput::RunForOutput ( RunTransitionInfo const &  info,
ModuleDescription const &  md,
ModuleCallingContext const *  mcc,
bool  isAtEnd,
MergeableRunProductMetadata const *  mrpm = nullptr 
)

Definition at line 10 of file RunForOutput.cc.

15  : RunForOutput(info.principal(), md, mcc, isAtEnd, mrpm) {}
static const TGPicture * info(bool iBackgroundIsBlack)
RunForOutput(RunTransitionInfo const &, ModuleDescription const &, ModuleCallingContext const *, bool isAtEnd, MergeableRunProductMetadata const *=nullptr)
Definition: RunForOutput.cc:10
RunForOutput::RunForOutput ( RunPrincipal const &  rp,
ModuleDescription const &  md,
ModuleCallingContext const *  moduleCallingContext,
bool  isAtEnd,
MergeableRunProductMetadata const *  mrpm = nullptr 
)

Definition at line 17 of file RunForOutput.cc.

22  : OccurrenceForOutput(rp, md, moduleCallingContext, isAtEnd),
23  aux_(rp.aux()),
ModuleCallingContext const * moduleCallingContext() const
OccurrenceForOutput(Principal const &ep, ModuleDescription const &md, ModuleCallingContext const *, bool isAtEnd)
MergeableRunProductMetadata const * mergeableRunProductMetadata_
Definition: RunForOutput.h:72
RunAuxiliary const & aux_
Definition: RunForOutput.h:70
RunForOutput::~RunForOutput ( )
override

Definition at line 26 of file RunForOutput.cc.

26 {}

Member Function Documentation

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

Definition at line 57 of file RunForOutput.h.

References aux_, and edm::RunAuxiliary::beginTime().

Referenced by DQMRootOutputModule::writeRun().

57 { return aux_.beginTime(); }
Timestamp const & beginTime() const
Definition: RunAuxiliary.h:29
RunAuxiliary const & aux_
Definition: RunForOutput.h:70
Timestamp const& edm::RunForOutput::endTime ( ) const
inline

Definition at line 58 of file RunForOutput.h.

References aux_, and edm::RunAuxiliary::endTime().

Referenced by DQMRootOutputModule::writeRun().

58 { return aux_.endTime(); }
Timestamp const & endTime() const
Definition: RunAuxiliary.h:30
RunAuxiliary const & aux_
Definition: RunForOutput.h:70
RunID const& edm::RunForOutput::id ( void  ) const
inline

Definition at line 55 of file RunForOutput.h.

References aux_, and edm::RunAuxiliary::id().

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

55 { return aux_.id(); }
RunID const & id() const
Definition: RunAuxiliary.h:27
RunAuxiliary const & aux_
Definition: RunForOutput.h:70
RunIndex RunForOutput::index ( ) const
Returns
Reusable index which can be used to separate data for different simultaneous Runs.

Definition at line 32 of file RunForOutput.cc.

References edm::RunPrincipal::index(), and runPrincipal().

Referenced by BeautifulSoup.PageElement::_invert(), and evf::GlobalEvFOutputModule::globalEndLuminosityBlock().

32 { return runPrincipal().index(); }
RunPrincipal const & runPrincipal() const
Definition: RunForOutput.cc:28
RunIndex index() const
Definition: RunPrincipal.h:57
MergeableRunProductMetadata const* edm::RunForOutput::mergeableRunProductMetadata ( ) const
inline

Definition at line 59 of file RunForOutput.h.

References mergeableRunProductMetadata_.

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

MergeableRunProductMetadata const * mergeableRunProductMetadata_
Definition: RunForOutput.h:72
RunNumber_t edm::RunForOutput::run ( ) const
inline

Definition at line 56 of file RunForOutput.h.

References aux_, and edm::RunAuxiliary::run().

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

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

Definition at line 54 of file RunForOutput.h.

References aux_.

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

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

Definition at line 28 of file RunForOutput.cc.

References runTheMatrix::const, and edm::OccurrenceForOutput::principal().

Referenced by index().

28 { return dynamic_cast<RunPrincipal const&>(principal()); }
Principal const & principal() const

Friends And Related Function Documentation

friend class edmtest::TestOutputModule
friend

Definition at line 66 of file RunForOutput.h.

Member Data Documentation

RunAuxiliary const& edm::RunForOutput::aux_
private

Definition at line 70 of file RunForOutput.h.

Referenced by beginTime(), endTime(), id(), run(), and runAuxiliary().

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

Definition at line 74 of file RunForOutput.h.

MergeableRunProductMetadata const* edm::RunForOutput::mergeableRunProductMetadata_
private

Definition at line 72 of file RunForOutput.h.

Referenced by mergeableRunProductMetadata().