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
 
LuminosityBlockNumber_t luminosityBlock () const
 
LuminosityBlockAuxiliary const & luminosityBlockAuxiliary () const
 
 LuminosityBlockForOutput (LuminosityBlockPrincipal const &lbp, ModuleDescription const &md, ModuleCallingContext const *)
 
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
 
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

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 39 of file LuminosityBlockForOutput.h.

Constructor & Destructor Documentation

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

Definition at line 10 of file LuminosityBlockForOutput.cc.

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

Definition at line 17 of file LuminosityBlockForOutput.cc.

17  {
18  }

Member Function Documentation

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

Definition at line 49 of file LuminosityBlockForOutput.h.

Referenced by DQMRootOutputModule::writeLuminosityBlock().

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

Definition at line 50 of file LuminosityBlockForOutput.h.

Referenced by DQMRootOutputModule::writeLuminosityBlock().

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

Definition at line 53 of file LuminosityBlockForOutput.h.

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

53  {
54  return *run_;
55  }
std::shared_ptr< RunForOutput const > const run_
LuminosityBlockID const& edm::LuminosityBlockForOutput::id ( void  ) const
inline
LuminosityBlockNumber_t edm::LuminosityBlockForOutput::luminosityBlock ( ) const
inline
LuminosityBlockAuxiliary const& edm::LuminosityBlockForOutput::luminosityBlockAuxiliary ( ) const
inline

Definition at line 45 of file LuminosityBlockForOutput.h.

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

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

Definition at line 21 of file LuminosityBlockForOutput.cc.

References edm::OccurrenceForOutput::principal().

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

Definition at line 48 of file LuminosityBlockForOutput.h.

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

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

Friends And Related Function Documentation

friend class edmtest::TestOutputModule
friend

Definition at line 58 of file LuminosityBlockForOutput.h.

Member Data Documentation

LuminosityBlockAuxiliary const& edm::LuminosityBlockForOutput::aux_
private

Definition at line 63 of file LuminosityBlockForOutput.h.

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

Definition at line 64 of file LuminosityBlockForOutput.h.