CMS 3D CMS Logo

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

◆ ref_type

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

Definition at line 23 of file MasterCollectionHelper.h.

Constructor & Destructor Documentation

◆ MasterCollection()

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 : handle_(handle) {}

Member Function Documentation

◆ get()

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

◆ getConcreteRef()

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

◆ getRef()

template<typename C1 >
ref_type helper::MasterCollection< C1 >::getRef ( size_t  idx) const
inline

◆ index()

template<typename C1 >
size_t helper::MasterCollection< C1 >::index ( size_t  i) const
inline

Definition at line 26 of file MasterCollectionHelper.h.

References mps_fire::i.

26 { return i; }

◆ size()

template<typename C1 >
size_t helper::MasterCollection< C1 >::size ( void  ) const
inline

Member Data Documentation

◆ handle_

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