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 const *)
 
BasicHandle get (edm::TypeID const &iTypeID, ProductResolverIndex iIndex) const
 
void put (ProductResolverIndex index, std::unique_ptr< WrapperBase > edp, BasicHandle const &iGetHandle)
 

Private Attributes

EventPrincipal const & eventPrincipal_
 
ModuleCallingContext const * mcc_
 

Detailed Description

Definition at line 29 of file EventForTransformer.h.

Constructor & Destructor Documentation

◆ EventForTransformer()

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

Member Function Documentation

◆ get()

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

◆ 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 38 of file EventForTransformer.h.

Referenced by get(), and put().

◆ mcc_

ModuleCallingContext const* edm::EventForTransformer::mcc_
private

Definition at line 39 of file EventForTransformer.h.

Referenced by get().