1 #ifndef ES_COND_OBJECT_CONTAINER_HH 2 #define ES_COND_OBJECT_CONTAINER_HH 16 typedef typename std::vector<Item>
Items;
18 typedef typename std::vector<Item>::iterator
iterator;
27 inline void insert(std::pair<uint32_t, Item>
const &
a) {
33 inline const_iterator
find(uint32_t rawId)
const {
return es_.
find(rawId); }
37 inline const_iterator
end()
const {
return es_.
end(); }
41 inline const self &
getMap()
const {
return *
this; }
48 inline Item
const &
operator[](uint32_t rawId)
const {
return es_[rawId]; }
const_iterator begin() const
ESCondObjectContainer< float > ESFloatCondObjectContainer
const Item & item(size_t hashid) const
std::vector< Item > Items
const Items & items() const
const_iterator end() const
const_iterator end() const
const self & getMap() const
Item & operator[](uint32_t rawId)
int hashedIndex(int ieta, int iphi)
const_iterator find(uint32_t rawId) const
void insert(std::pair< uint32_t, Item > const &a)
void setValue(const uint32_t id, const Item &item)
const_iterator find(uint32_t rawId) const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
const Item & preshower(size_t hashedIndex) const
#define COND_SERIALIZABLE
std::vector< Item >::const_iterator const_iterator
void insert(std::pair< uint32_t, Item > const &a)
std::vector< Item >::iterator iterator
const_iterator begin() const
Item const & operator[](uint32_t rawId) const
EcalContainer< ESDetId, Item > es_
const Items & preshowerItems() const