CMS 3D CMS Logo

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

#include <LuminosityBlockForOutput.h>

Inheritance diagram for edm::LuminosityBlockForOutput:
edm::OccurrenceForOutput

Public Member Functions

Timestamp const & beginTime () const
 
Timestamp const & endTime () const
 
RunForOutput const & getRun () const
 
LuminosityBlockID const & id () const
 
LuminosityBlockIndex index () const
 
LuminosityBlockNumber_t luminosityBlock () const
 
LuminosityBlockAuxiliary const & luminosityBlockAuxiliary () const
 
 LuminosityBlockForOutput (LuminosityBlockPrincipal const &lbp, ModuleDescription const &md, ModuleCallingContext const *, bool isAtEnd)
 
RunNumber_t run () const
 
 ~LuminosityBlockForOutput () 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

LuminosityBlockPrincipal const & luminosityBlockPrincipal () const
 

Private Attributes

LuminosityBlockAuxiliary const & aux_
 
std::shared_ptr< RunForOutput const > const run_
 

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 LuminosityBlockForOutput.h.

Constructor & Destructor Documentation

LuminosityBlockForOutput::LuminosityBlockForOutput ( LuminosityBlockPrincipal const &  lbp,
ModuleDescription const &  md,
ModuleCallingContext const *  moduleCallingContext,
bool  isAtEnd 
)

Definition at line 10 of file LuminosityBlockForOutput.cc.

14  : OccurrenceForOutput(lbp, md, moduleCallingContext, isAtEnd),
15  aux_(lbp.aux()),
16  run_(new RunForOutput(lbp.runPrincipal(), md, moduleCallingContext, false)) {}
ModuleCallingContext const * moduleCallingContext() const
LuminosityBlockAuxiliary const & aux_
std::shared_ptr< RunForOutput const > const run_
OccurrenceForOutput(Principal const &ep, ModuleDescription const &md, ModuleCallingContext const *, bool isAtEnd)
LuminosityBlockForOutput::~LuminosityBlockForOutput ( )
override

Definition at line 18 of file LuminosityBlockForOutput.cc.

18 {}

Member Function Documentation

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

Definition at line 52 of file LuminosityBlockForOutput.h.

Referenced by DQMRootOutputModule::writeLuminosityBlock().

52 { return aux_.beginTime(); }
LuminosityBlockAuxiliary const & aux_
Timestamp const & beginTime() const
Timestamp const& edm::LuminosityBlockForOutput::endTime ( ) const
inline

Definition at line 53 of file LuminosityBlockForOutput.h.

Referenced by DQMRootOutputModule::writeLuminosityBlock().

53 { return aux_.endTime(); }
LuminosityBlockAuxiliary const & aux_
Timestamp const & endTime() const
RunForOutput const& edm::LuminosityBlockForOutput::getRun ( ) const
inline

Definition at line 59 of file LuminosityBlockForOutput.h.

Referenced by edm::EventForOutput::getRun().

59 { return *run_; }
std::shared_ptr< RunForOutput const > const run_
LuminosityBlockID const& edm::LuminosityBlockForOutput::id ( void  ) const
inline
LuminosityBlockIndex LuminosityBlockForOutput::index ( ) const
Returns
Reusable index which can be used to separate data for different simultaneous LuminosityBlocks.

Definition at line 26 of file LuminosityBlockForOutput.cc.

References edm::LuminosityBlockPrincipal::index(), and luminosityBlockPrincipal().

Referenced by evf::EvFOutputModule::globalEndLuminosityBlock(), BeautifulSoup.PageElement::insert(), and evf::EvFOutputModule::write().

26 { return luminosityBlockPrincipal().index(); }
LuminosityBlockPrincipal const & luminosityBlockPrincipal() const
LuminosityBlockIndex index() const
LuminosityBlockNumber_t edm::LuminosityBlockForOutput::luminosityBlock ( ) const
inline
LuminosityBlockAuxiliary const& edm::LuminosityBlockForOutput::luminosityBlockAuxiliary ( ) const
inline

Definition at line 48 of file LuminosityBlockForOutput.h.

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

48 { return aux_; }
LuminosityBlockAuxiliary const & aux_
LuminosityBlockPrincipal const & LuminosityBlockForOutput::luminosityBlockPrincipal ( ) const
private

Definition at line 20 of file LuminosityBlockForOutput.cc.

References edm::OccurrenceForOutput::principal().

Referenced by index().

20  {
21  return dynamic_cast<LuminosityBlockPrincipal const&>(principal());
22  }
Principal const & principal() const
RunNumber_t edm::LuminosityBlockForOutput::run ( ) const
inline

Definition at line 51 of file LuminosityBlockForOutput.h.

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

51 { return aux_.run(); }
LuminosityBlockAuxiliary const & aux_

Friends And Related Function Documentation

friend class edmtest::TestOutputModule
friend

Definition at line 62 of file LuminosityBlockForOutput.h.

Member Data Documentation

LuminosityBlockAuxiliary const& edm::LuminosityBlockForOutput::aux_
private

Definition at line 66 of file LuminosityBlockForOutput.h.

std::shared_ptr<RunForOutput const> const edm::LuminosityBlockForOutput::run_
private

Definition at line 67 of file LuminosityBlockForOutput.h.