1 #ifndef ECAL_CONDTOWER_OBJECT_CONTAINER_HH
2 #define ECAL_CONDTOWER_OBJECT_CONTAINER_HH
11 template <
typename T >
17 typedef typename std::vector<Item>
Items;
19 typedef typename std::vector<Item>::iterator
iterator;
24 size_t eesize=(size_t)632;
45 inline void insert( std::pair<uint32_t, Item>
const &
a ) {
52 std::cout <<
"*** ERROR it is not barrel nor endcap tower"<< std::endl;
EcalCondTowerObjectContainer()
const_iterator begin() const
void insert(std::pair< uint32_t, Item > const &a)
const_iterator end() const
const Item & endcap(size_t hashedIndex) const
const Item & item(size_t hashid) const
const_iterator begin() const
const Items & items() const
const_iterator end() const
std::vector< Item > Items
EcalContainer< EcalTrigTowerDetId, Item > eb_
const Items & endcapItems() const
void setValue(const uint32_t id, const Item &item)
const_iterator find(uint32_t rawId) const
EcalCondTowerObjectContainer< float > EcalTowerFloatCondObjectContainer
int hashedIndex(int ieta, int iphi)
const self & getMap() const
const_iterator find(uint32_t rawId) const
const Items & barrelItems() const
EcalContainer< EcalScDetId, Item > ee_
Item & operator[](uint32_t rawId)
~EcalCondTowerObjectContainer()
const Item & barrel(size_t hashedIndex) const
void insert(std::pair< uint32_t, Item > const &a)
Item const & operator[](uint32_t rawId) const
std::vector< Item >::iterator iterator
std::vector< Item >::const_iterator const_iterator
static const int kEBTowersPerSM