#include <EcalContainer.h>
Public Types | |
typedef std::vector< Item > ::const_iterator | const_iterator |
typedef T | Item |
typedef std::vector< Item > | Items |
typedef std::vector< Item > ::iterator | iterator |
typedef EcalContainer< DetId, T > | self |
typedef Item | value_type |
Public Member Functions | |
const_iterator | begin () const |
void | checkAndResize () |
void | checkAndResize (size_t priv_size) |
const_iterator | end () const |
const_iterator | find (uint32_t rawId) const |
void | insert (std::pair< uint32_t, Item > const &a) |
const Item & | item (size_t hashid) const |
const Items & | items () const |
Item & | operator[] (uint32_t rawId) |
Item const & | operator[] (uint32_t rawId) const |
size_t | size () const |
Private Member Functions | |
bool | isValidId (const DetId id) const |
Private Attributes | |
std::vector< Item > | m_items |
Definition at line 18 of file EcalContainer.h.
typedef std::vector<Item>::const_iterator EcalContainer< DetId, T >::const_iterator |
Definition at line 26 of file EcalContainer.h.
typedef T EcalContainer< DetId, T >::Item |
Definition at line 23 of file EcalContainer.h.
typedef std::vector<Item> EcalContainer< DetId, T >::Items |
Definition at line 25 of file EcalContainer.h.
typedef std::vector<Item>::iterator EcalContainer< DetId, T >::iterator |
Definition at line 27 of file EcalContainer.h.
typedef EcalContainer<DetId, T> EcalContainer< DetId, T >::self |
Definition at line 22 of file EcalContainer.h.
typedef Item EcalContainer< DetId, T >::value_type |
Definition at line 24 of file EcalContainer.h.
const_iterator EcalContainer< DetId, T >::begin | ( | void | ) | const [inline] |
Definition at line 83 of file EcalContainer.h.
Referenced by EcalCondTowerObjectContainer< T >::begin(), ESCondObjectContainer< T >::begin(), and EcalCondObjectContainer< EcalLaserAPDPNpair >::begin().
{ return m_items.begin(); }
void EcalContainer< DetId, T >::checkAndResize | ( | ) | [inline] |
Definition at line 50 of file EcalContainer.h.
Referenced by EcalCondTowerObjectContainer< T >::EcalCondTowerObjectContainer(), and EcalContainer< EcalTrigTowerDetId, Item >::operator[]().
void EcalContainer< DetId, T >::checkAndResize | ( | size_t | priv_size | ) | [inline] |
Definition at line 58 of file EcalContainer.h.
const_iterator EcalContainer< DetId, T >::end | ( | void | ) | const [inline] |
Definition at line 87 of file EcalContainer.h.
Referenced by EcalCondTowerObjectContainer< T >::end(), ESCondObjectContainer< T >::end(), EcalCondObjectContainer< EcalLaserAPDPNpair >::end(), ESCondObjectContainer< T >::find(), EcalCondTowerObjectContainer< T >::find(), and EcalCondObjectContainer< EcalLaserAPDPNpair >::find().
{ return m_items.end(); }
const_iterator EcalContainer< DetId, T >::find | ( | uint32_t | rawId | ) | const [inline] |
Definition at line 77 of file EcalContainer.h.
Referenced by ESCondObjectContainer< T >::find(), EcalCondTowerObjectContainer< T >::find(), and EcalCondObjectContainer< EcalLaserAPDPNpair >::find().
void EcalContainer< DetId, T >::insert | ( | std::pair< uint32_t, Item > const & | a | ) | [inline] |
Definition at line 29 of file EcalContainer.h.
Referenced by EcalCondObjectContainer< EcalLaserAPDPNpair >::insert(), EcalCondTowerObjectContainer< T >::insert(), and ESCondObjectContainer< T >::insert().
bool EcalContainer< DetId, T >::isValidId | ( | const DetId | id | ) | const [inline, private] |
Definition at line 98 of file EcalContainer.h.
Referenced by EcalContainer< EcalTrigTowerDetId, Item >::find(), and EcalContainer< EcalTrigTowerDetId, Item >::operator[]().
{ return id.det() == ::DetId::Ecal; };
const Item& EcalContainer< DetId, T >::item | ( | size_t | hashid | ) | const [inline] |
Definition at line 33 of file EcalContainer.h.
Referenced by EcalCondTowerObjectContainer< T >::barrel(), EcalCondObjectContainer< EcalLaserAPDPNpair >::barrel(), EcalCondTowerObjectContainer< T >::endcap(), EcalCondObjectContainer< EcalLaserAPDPNpair >::endcap(), and ESCondObjectContainer< T >::preshower().
{ return m_items[hashid]; }
const Items& EcalContainer< DetId, T >::items | ( | ) | const [inline] |
Definition at line 37 of file EcalContainer.h.
Referenced by EcalCondTowerObjectContainer< T >::barrelItems(), EcalCondObjectContainer< EcalLaserAPDPNpair >::barrelItems(), EcalCondTowerObjectContainer< T >::endcapItems(), EcalCondObjectContainer< EcalLaserAPDPNpair >::endcapItems(), and ESCondObjectContainer< T >::preshowerItems().
{ return m_items; }
Item& EcalContainer< DetId, T >::operator[] | ( | uint32_t | rawId | ) | [inline] |
Definition at line 41 of file EcalContainer.h.
Item const& EcalContainer< DetId, T >::operator[] | ( | uint32_t | rawId | ) | const [inline] |
Definition at line 66 of file EcalContainer.h.
size_t EcalContainer< DetId, T >::size | ( | void | ) | const [inline] |
Definition at line 91 of file EcalContainer.h.
Referenced by ESCondObjectContainer< T >::size(), EcalCondTowerObjectContainer< T >::size(), and EcalCondObjectContainer< EcalLaserAPDPNpair >::size().
{ return m_items.size(); }
std::vector<Item> EcalContainer< DetId, T >::m_items [private] |
Definition at line 100 of file EcalContainer.h.
Referenced by EcalContainer< EcalTrigTowerDetId, Item >::begin(), EcalContainer< EcalTrigTowerDetId, Item >::checkAndResize(), EcalContainer< EcalTrigTowerDetId, Item >::end(), EcalContainer< EcalTrigTowerDetId, Item >::find(), EcalContainer< EcalTrigTowerDetId, Item >::item(), EcalContainer< EcalTrigTowerDetId, Item >::items(), EcalContainer< EcalTrigTowerDetId, Item >::operator[](), and EcalContainer< EcalTrigTowerDetId, Item >::size().