#include <CaloRecHitMetaCollection.h>
Public Types | |
typedef CaloRecHitMetaCollectionV::Iterator | const_iterator |
Public Types inherited from CaloRecHitMetaCollectionV | |
typedef Iterator | const_iterator |
Public Member Functions | |
void | add (const HBHERecHitCollection *hbhe) |
void | add (const HORecHitCollection *ho) |
void | add (const HFRecHitCollection *hf) |
void | add (const EcalRecHitCollection *ecal) |
virtual const CaloRecHit * | at (const_iterator::offset_type i) const |
get an item by index More... | |
virtual const_iterator | find (const DetId &id) const |
find by id (default version is very slow unsorted find) More... | |
virtual | ~CaloRecHitMetaCollection () |
Public Member Functions inherited from CaloRecHitMetaCollectionV | |
const_iterator | begin () const |
get the starting iterator More... | |
const_iterator | end () const |
get the ending iterator More... | |
unsigned int | size () const |
get the size of the collection More... | |
virtual | ~CaloRecHitMetaCollectionV () |
Private Member Functions | |
int | findIndex (const DetId &id) const |
Private Attributes | |
std::multimap< int, CaloRecHitMetaCollectionItem * > | m_findTool |
std::map< int, CaloRecHitMetaCollectionItem * > | m_items |
Additional Inherited Members | |
Protected Member Functions inherited from CaloRecHitMetaCollectionV | |
CaloRecHitMetaCollectionV () | |
Protected Attributes inherited from CaloRecHitMetaCollectionV | |
unsigned int | size_ |
Definition at line 15 of file CaloRecHitMetaCollection.h.
Definition at line 17 of file CaloRecHitMetaCollection.h.
|
virtual |
Definition at line 49 of file CaloRecHitMetaCollection.cc.
void CaloRecHitMetaCollection::add | ( | const HBHERecHitCollection * | hbhe | ) |
Definition at line 55 of file CaloRecHitMetaCollection.cc.
References findIndex(), DetId::Hcal, HcalBarrel, HcalEndcap, i, m_findTool, m_items, edm::SortedCollection< T, SORT >::size(), and CaloRecHitMetaCollectionV::size_.
Referenced by HoECalculator::getHoE().
void CaloRecHitMetaCollection::add | ( | const HORecHitCollection * | ho | ) |
Definition at line 64 of file CaloRecHitMetaCollection.cc.
References findIndex(), DetId::Hcal, HcalOuter, i, m_findTool, m_items, edm::SortedCollection< T, SORT >::size(), and CaloRecHitMetaCollectionV::size_.
void CaloRecHitMetaCollection::add | ( | const HFRecHitCollection * | hf | ) |
Definition at line 72 of file CaloRecHitMetaCollection.cc.
References findIndex(), DetId::Hcal, HcalForward, i, m_findTool, m_items, edm::SortedCollection< T, SORT >::size(), and CaloRecHitMetaCollectionV::size_.
void CaloRecHitMetaCollection::add | ( | const EcalRecHitCollection * | ecal | ) |
Definition at line 81 of file CaloRecHitMetaCollection.cc.
References DetId::Ecal, patCandidatesForDimuonsSequences_cff::ecal, EcalBarrel, EcalEndcap, findIndex(), i, m_findTool, m_items, edm::SortedCollection< T, SORT >::size(), and CaloRecHitMetaCollectionV::size_.
|
virtual |
get an item by index
Implements CaloRecHitMetaCollectionV.
Definition at line 44 of file CaloRecHitMetaCollection.cc.
References m_items, and lumiQueryAPI::q.
|
virtual |
find by id (default version is very slow unsorted find)
Reimplemented from CaloRecHitMetaCollectionV.
Definition at line 34 of file CaloRecHitMetaCollection.cc.
References CaloRecHitMetaCollectionV::end(), findIndex(), i, m_findTool, and AlCaHLTBitMon_ParallelJobs::options.
Referenced by HoECalculator::getHoE().
|
private |
Definition at line 30 of file CaloRecHitMetaCollection.cc.
|
private |
Definition at line 30 of file CaloRecHitMetaCollection.h.
|
private |
Definition at line 29 of file CaloRecHitMetaCollection.h.
Referenced by add(), at(), and ~CaloRecHitMetaCollection().