Go to the documentation of this file. 1 #ifndef CondFormats_SiPixelObjects_SiPixel2DTemplateDBObject_h
2 #define CondFormats_SiPixelObjects_SiPixel2DTemplateDBObject_h 1
80 std::map<unsigned int, short>::const_iterator
id =
templ_ID.find(detid);
83 <<
"2Dtemplate ID for DetID " << detid <<
" is already stored. Skipping this put" << std::endl;
91 std::map<unsigned int, short>::const_iterator
id =
templ_ID.find(detid);
96 <<
"2Dtemplate ID for DetID " << detid <<
" is not stored" << std::endl;
SiPixel2DTemplateDBObject & operator>>(float &f)
friend std::ostream & operator<<(std::ostream &s, const SiPixel2DTemplateDBObject &dbobject)
const std::map< unsigned int, short > & getTemplateIDs() const
void push_back(float entry)
#define COND_SERIALIZABLE
void setMaxIndex(int maxIndex)
void incrementIndex(int i)
void putTemplateIDs(std::map< unsigned int, short > &t_ID)
void setVersion(float version)
bool putTemplateID(const uint32_t &detid, short &value)
short getTemplateID(const uint32_t &detid) const
std::vector< float > sVector() const
SiPixel2DTemplateDBObject & operator>>(int &i)
Log< level::Error, false > LogError
virtual ~SiPixel2DTemplateDBObject()
void setNumOfTempl(int numOfTempl)
std::vector< float > sVector_
SiPixel2DTemplateDBObject()
std::map< unsigned int, short > templ_ID