#include <CaloRecHitMetaCollectionV.h>
Classes | |
class | Iterator |
Public Types | |
typedef Iterator | const_iterator |
Public Member Functions | |
virtual const CaloRecHit * | at (const_iterator::offset_type i) const =0 |
get an item by index More... | |
const_iterator | begin () const |
get the starting iterator More... | |
const_iterator | end () const |
get the ending iterator More... | |
virtual const_iterator | find (const DetId &id) const |
find by id (default version is very slow unsorted find) More... | |
unsigned int | size () const |
get the size of the collection More... | |
virtual | ~CaloRecHitMetaCollectionV () |
Protected Member Functions | |
CaloRecHitMetaCollectionV () | |
Protected Attributes | |
unsigned int | size_ |
Virtual base class for a "meta collection" which references CaloRecHit-derived objects in their base collections.
Definition at line 18 of file CaloRecHitMetaCollectionV.h.
Definition at line 69 of file CaloRecHitMetaCollectionV.h.
|
inlinevirtual |
Definition at line 68 of file CaloRecHitMetaCollectionV.h.
|
protected |
Definition at line 3 of file CaloRecHitMetaCollectionV.cc.
|
pure virtual |
get an item by index
Implemented in CaloRecHitMetaCollectionFast, CaloRecHitMetaCollection, and SimpleCaloRecHitMetaCollection< C >.
Referenced by CaloRecHitMetaCollectionV::Iterator::operator*().
|
inline |
get the starting iterator
Definition at line 75 of file CaloRecHitMetaCollectionV.h.
Referenced by find().
|
inline |
get the ending iterator
Definition at line 77 of file CaloRecHitMetaCollectionV.h.
References size_.
Referenced by SimpleCaloRecHitMetaCollection< C >::find(), CaloRecHitMetaCollection::find(), CaloRecHitMetaCollectionFast::find(), find(), HoECalculator::getHoE(), EgammaRecHitIsolation::getSum_(), CaloDualConeSelector::select(), and CaloConeSelector::select().
|
virtual |
find by id (default version is very slow unsorted find)
Reimplemented in CaloRecHitMetaCollectionFast, CaloRecHitMetaCollection, and SimpleCaloRecHitMetaCollection< C >.
Definition at line 6 of file CaloRecHitMetaCollectionV.cc.
References begin(), CaloRecHit::detid(), alignCSCRings::e, end(), i, and errorMatrix2Lands_multiChannel::id.
Referenced by EgammaRecHitIsolation::getSum_(), CaloConeSelector::select(), and CaloDualConeSelector::select().
|
inline |
get the size of the collection
Definition at line 79 of file CaloRecHitMetaCollectionV.h.
References size_.
|
protected |
Definition at line 86 of file CaloRecHitMetaCollectionV.h.
Referenced by CaloRecHitMetaCollection::add(), CaloRecHitMetaCollectionFast::add(), CaloRecHitMetaCollectionFast::at(), end(), SimpleCaloRecHitMetaCollection< C >::SimpleCaloRecHitMetaCollection(), and size().