CMS 3D CMS Logo

List of all members | Public Member Functions
MakePtrFromCollection< Collection, InPhysObj, OutPhysObj > Struct Template Reference

#include <MakePtrFromCollection.h>

Public Member Functions

edm::Ptr< OutPhysObj > operator() (const Collection &coll, unsigned idx)
 

Detailed Description

template<class Collection, class InPhysObj = typename Collection::value_type, class OutPhysObj = typename Collection::value_type>
struct MakePtrFromCollection< Collection, InPhysObj, OutPhysObj >

Definition at line 9 of file MakePtrFromCollection.h.

Member Function Documentation

◆ operator()()

template<class Collection, class InPhysObj = typename Collection::value_type, class OutPhysObj = typename Collection::value_type>
edm::Ptr<OutPhysObj> MakePtrFromCollection< Collection, InPhysObj, OutPhysObj >::operator() ( const Collection &  coll,
unsigned  idx 
)
inline

Definition at line 10 of file MakePtrFromCollection.h.

10  {
12  return edm::Ptr<OutPhysObj>(temp);
13  }
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
training_settings.idx
idx
Definition: training_settings.py:16
edm::Ptr
Definition: AssociationVector.h:31