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

Definition at line 30 of file MasterCollectionHelper.h.

30  {
31  return getRef(idx);
32  }

References helper::MasterCollection< C1 >::getRef(), and heavyIonCSV_trainingSettings::idx.

◆ 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.

26 { return i; }

References mps_fire::i.

Referenced by BeautifulSoup.PageElement::insert().

◆ 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
mps_fire.i
i
Definition: mps_fire.py:428
helper::MasterCollection::get
const edm::Handle< C1 > & get() const
Definition: MasterCollectionHelper.h:27
helper::MasterCollection::getRef
ref_type getRef(size_t idx) const
Definition: MasterCollectionHelper.h:28
patZpeak.handle
handle
Definition: patZpeak.py:23
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
helper::MasterCollection::handle_
edm::Handle< C1 > handle_
Definition: MasterCollectionHelper.h:35
helper::MasterCollection::ref_type
edm::Ref< C1 > ref_type
Definition: MasterCollectionHelper.h:23