#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 16 of file CaloRecHitMetaCollectionV.h.
Definition at line 67 of file CaloRecHitMetaCollectionV.h.
|
inlinevirtual |
Definition at line 66 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 73 of file CaloRecHitMetaCollectionV.h.
Referenced by find().
|
inline |
get the ending iterator
Definition at line 75 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(), and i.
Referenced by EgammaRecHitIsolation::getSum_(), CaloConeSelector::select(), and CaloDualConeSelector::select().
|
inline |
get the size of the collection
Definition at line 77 of file CaloRecHitMetaCollectionV.h.
References size_.
|
protected |
Definition at line 84 of file CaloRecHitMetaCollectionV.h.
Referenced by CaloRecHitMetaCollection::add(), CaloRecHitMetaCollectionFast::add(), CaloRecHitMetaCollectionFast::at(), end(), SimpleCaloRecHitMetaCollection< C >::SimpleCaloRecHitMetaCollection(), and size().