CMS 3D CMS Logo

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

#include <EventForTransformer.h>

Public Member Functions

 EventForTransformer (EventPrincipal const &, ModuleCallingContext)
 
BasicHandle get (edm::TypeID const &iTypeID, ProductResolverIndex iIndex) const
 
ModuleCallingContext const & moduleCallingContext () const
 
void put (ProductResolverIndex index, std::unique_ptr< WrapperBase > edp, BasicHandle const &iGetHandle)
 

Private Attributes

EventPrincipal const & eventPrincipal_
 
ModuleCallingContext mcc_
 

Detailed Description

Definition at line 29 of file EventForTransformer.h.

Constructor & Destructor Documentation

◆ EventForTransformer()

edm::EventForTransformer::EventForTransformer ( EventPrincipal const &  ep,
ModuleCallingContext  moduleCallingContext 
)

Member Function Documentation

◆ get()

BasicHandle edm::EventForTransformer::get ( edm::TypeID const &  iTypeID,
ProductResolverIndex  iIndex 
) const

◆ moduleCallingContext()

ModuleCallingContext const& edm::EventForTransformer::moduleCallingContext ( ) const
inline

Definition at line 37 of file EventForTransformer.h.

References mcc_.

37 { return mcc_; }
ModuleCallingContext mcc_

◆ put()

void edm::EventForTransformer::put ( ProductResolverIndex  index,
std::unique_ptr< WrapperBase edp,
BasicHandle const &  iGetHandle 
)

Definition at line 22 of file EventForTransformer.cc.

References eventPrincipal_, eostools::move(), edm::ProductProvenance::parentageID(), edm::Provenance::productProvenance(), edm::BasicHandle::provenance(), and edm::EventPrincipal::put().

24  {
25  eventPrincipal_.put(index, std::move(edp), iGetHandle.provenance()->productProvenance()->parentageID());
26  }
void put(BranchDescription const &bd, std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) const
EventPrincipal const & eventPrincipal_
def move(src, dest)
Definition: eostools.py:511

Member Data Documentation

◆ eventPrincipal_

EventPrincipal const& edm::EventForTransformer::eventPrincipal_
private

Definition at line 40 of file EventForTransformer.h.

Referenced by get(), and put().

◆ mcc_

ModuleCallingContext edm::EventForTransformer::mcc_
private

Definition at line 41 of file EventForTransformer.h.

Referenced by get(), and moduleCallingContext().