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
 
template<typename PROD >
bool getByToken (EDGetToken token, Handle< PROD > &result) const
 
BasicHandle getByToken (EDGetToken token, TypeID const &typeID) 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()) {}

◆ ~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

Definition at line 35 of file ProcessBlockForOutput.h.

35 { return *processName_; }

References processName_.

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

Member Data Documentation

◆ processName_

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

Definition at line 38 of file ProcessBlockForOutput.h.

Referenced by processName().

edm::OccurrenceForOutput::OccurrenceForOutput
OccurrenceForOutput(Principal const &ep, ModuleDescription const &md, ModuleCallingContext const *, bool isAtEnd)
Definition: OccurrenceForOutput.cc:14
edm::ProcessBlockForOutput::processName_
std::string const * processName_
Definition: ProcessBlockForOutput.h:38