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

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  }
JetCorrectorParametersCollection coll
Definition: classes.h:10