1 #ifndef ECAL_COND_OBJECT_CONTAINER_HH 2 #define ECAL_COND_OBJECT_CONTAINER_HH 10 template <
typename T >
16 typedef typename std::vector<Item>
Items;
18 typedef typename std::vector<Item>::iterator
iterator;
40 void insert( std::pair<uint32_t, Item>
const &
a ) {
42 switch (
id.subdetId()) {
60 const_iterator
find( uint32_t rawId )
const {
62 switch (
id.subdetId()) {
65 const_iterator it =
eb_.
find(rawId);
90 const_iterator
end()
const {
95 void setValue(
const uint32_t
id,
const Item &item) {
121 switch (
id.subdetId()) {
const_iterator begin() const
std::vector< Item >::iterator iterator
const Item & item(size_t hashid) const
const self & getMap() const
const Items & items() const
const_iterator end() const
const Items & barrelItems() const
Item & operator[](uint32_t rawId)
Item operator[](uint32_t rawId) const
~EcalCondObjectContainer()
void setValue(const uint32_t id, const Item &item)
int hashedIndex(int ieta, int iphi)
EcalContainer< EBDetId, Item > eb_
const_iterator find(uint32_t rawId) const
const_iterator begin() const
void insert(std::pair< uint32_t, Item > const &a)
std::vector< Item >::const_iterator const_iterator
std::vector< Item > Items
#define COND_SERIALIZABLE
void insert(std::pair< uint32_t, Item > const &a)
const_iterator find(uint32_t rawId) const
EcalCondObjectContainer()
EcalContainer< EEDetId, Item > ee_
const_iterator end() const
const Item & barrel(size_t hashedIndex) const
const Items & endcapItems() const
const Item & endcap(size_t hashedIndex) const
EcalCondObjectContainer< float > EcalFloatCondObjectContainer