CMS 3D CMS Logo

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

#include <ProcessBlockForOutput.h>

Inheritance diagram for edm::ProcessBlockForOutput:
edm::OccurrenceForOutput

Public Member Functions

 ProcessBlockForOutput (ProcessBlockPrincipal const &, ModuleDescription const &, ModuleCallingContext const *, bool isAtEnd)
 
std::string const & processName () const
 
 ~ProcessBlockForOutput () 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 Attributes

std::string const * processName_
 

Additional Inherited Members

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

Detailed Description

Description: This is the primary interface for output modules writing ProcessBlock products

Author
W. David Dagenhart, created 29 October 2020

Definition at line 27 of file ProcessBlockForOutput.h.

Constructor & Destructor Documentation

◆ ProcessBlockForOutput()

edm::ProcessBlockForOutput::ProcessBlockForOutput ( ProcessBlockPrincipal const &  pbp,
ModuleDescription const &  md,
ModuleCallingContext const *  mcc,
bool  isAtEnd 
)

Definition at line 5 of file ProcessBlockForOutput.cc.

9  : OccurrenceForOutput(pbp, md, mcc, isAtEnd), processName_(&pbp.processName()) {}
OccurrenceForOutput(Principal const &ep, ModuleDescription const &md, ModuleCallingContext const *, bool isAtEnd)
std::string const * processName_

◆ ~ProcessBlockForOutput()

edm::ProcessBlockForOutput::~ProcessBlockForOutput ( )
override

Definition at line 11 of file ProcessBlockForOutput.cc.

11 {}

Member Function Documentation

◆ processName()

std::string const& edm::ProcessBlockForOutput::processName ( ) const
inline

Member Data Documentation

◆ processName_

std::string const* edm::ProcessBlockForOutput::processName_
private

Definition at line 38 of file ProcessBlockForOutput.h.

Referenced by processName().