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
 
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 *, 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.

11  :
12  OccurrenceForOutput(lbp, md, moduleCallingContext, isAtEnd),
13  aux_(lbp.aux()),
14  run_(new RunForOutput(lbp.runPrincipal(), md, moduleCallingContext, false)) {
15  }
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 17 of file LuminosityBlockForOutput.cc.

17  {
18  }

Member Function Documentation

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

Definition at line 50 of file LuminosityBlockForOutput.h.

Referenced by DQMRootOutputModule::writeLuminosityBlock().

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

Definition at line 51 of file LuminosityBlockForOutput.h.

Referenced by DQMRootOutputModule::writeLuminosityBlock().

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

Definition at line 58 of file LuminosityBlockForOutput.h.

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

58  {
59  return *run_;
60  }
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 27 of file LuminosityBlockForOutput.cc.

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

Referenced by BeautifulSoup.PageElement::insert().

27  {
29  }
LuminosityBlockPrincipal const & luminosityBlockPrincipal() const
LuminosityBlockIndex index() const
LuminosityBlockNumber_t edm::LuminosityBlockForOutput::luminosityBlock ( ) const
inline
LuminosityBlockAuxiliary const& edm::LuminosityBlockForOutput::luminosityBlockAuxiliary ( ) const
inline

Definition at line 46 of file LuminosityBlockForOutput.h.

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

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

Definition at line 21 of file LuminosityBlockForOutput.cc.

References edm::OccurrenceForOutput::principal().

Referenced by index().

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

Definition at line 49 of file LuminosityBlockForOutput.h.

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

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

Friends And Related Function Documentation

friend class edmtest::TestOutputModule
friend

Definition at line 63 of file LuminosityBlockForOutput.h.

Member Data Documentation

LuminosityBlockAuxiliary const& edm::LuminosityBlockForOutput::aux_
private

Definition at line 68 of file LuminosityBlockForOutput.h.

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

Definition at line 69 of file LuminosityBlockForOutput.h.