test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
helper::MasterCollection< C1 > Struct Template Reference

#include <MasterCollectionHelper.h>

Public Types

typedef edm::Ref< C1 > ref_type
 

Public Member Functions

const edm::Handle< C1 > & get () const
 
template<typename R >
getConcreteRef (size_t idx) const
 
ref_type getRef (size_t idx) const
 
size_t index (size_t i) const
 
 MasterCollection (const edm::Handle< C1 > &handle, edm::Event const &event)
 
size_t size () const
 

Private Attributes

edm::Handle< C1 > handle_
 

Detailed Description

template<typename C1>
struct helper::MasterCollection< C1 >

Definition at line 22 of file MasterCollectionHelper.h.

Member Typedef Documentation

template<typename C1>
typedef edm::Ref<C1> helper::MasterCollection< C1 >::ref_type

Definition at line 23 of file MasterCollectionHelper.h.

Constructor & Destructor Documentation

template<typename C1>
helper::MasterCollection< C1 >::MasterCollection ( const edm::Handle< C1 > &  handle,
edm::Event const &  event 
)
inlineexplicit

Definition at line 24 of file MasterCollectionHelper.h.

24  :
25  handle_(handle) { }

Member Function Documentation

template<typename C1>
const edm::Handle<C1>& helper::MasterCollection< C1 >::get ( ) const
inline
template<typename C1>
template<typename R >
R helper::MasterCollection< C1 >::getConcreteRef ( size_t  idx) const
inline

Definition at line 31 of file MasterCollectionHelper.h.

References helper::MasterCollection< C1 >::getRef().

31 { return getRef(idx); }
ref_type getRef(size_t idx) const
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
template<typename C1>
ref_type helper::MasterCollection< C1 >::getRef ( size_t  idx) const
inline

Definition at line 29 of file MasterCollectionHelper.h.

Referenced by helper::MasterCollection< C1 >::getConcreteRef(), and helper::MasterCollection< edm::View< T > >::getConcreteRef().

29 { return ref_type(get(), idx); }
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
template<typename C1>
size_t helper::MasterCollection< C1 >::index ( size_t  i) const
inline
template<typename C1>
size_t helper::MasterCollection< C1 >::size ( void  ) const
inline

Member Data Documentation

template<typename C1>
edm::Handle<C1> helper::MasterCollection< C1 >::handle_
private