test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 7 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 8 of file MakePtrFromCollection.h.

8  {
10  return edm::Ptr<OutPhysObj>(temp);
11  }
JetCorrectorParametersCollection coll
Definition: classes.h:10
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...