1 #ifndef CondFormats_SiPixelObjects_SiPixel2DTemplateDBObject_h
2 #define CondFormats_SiPixelObjects_SiPixel2DTemplateDBObject_h 1
31 i = (int)(*this).sVector_[
index_];
41 f = (*this).sVector_[
index_];
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;
std::vector< float > sVector() const
SiPixel2DTemplateDBObject & operator>>(int &i)
Log< level::Error, false > LogError
void push_back(float entry)
const std::map< unsigned int, short > & getTemplateIDs() const
virtual ~SiPixel2DTemplateDBObject()
SiPixel2DTemplateDBObject()
void setMaxIndex(int maxIndex)
void putTemplateIDs(std::map< unsigned int, short > &t_ID)
void setNumOfTempl(int numOfTempl)
void setVersion(float version)
short getTemplateID(const uint32_t &detid) const
friend std::ostream & operator<<(std::ostream &s, const SiPixel2DTemplateDBObject &dbobject)
void incrementIndex(int i)
#define COND_SERIALIZABLE
std::map< unsigned int, short > templ_ID
bool putTemplateID(const uint32_t &detid, short &value)
SiPixel2DTemplateDBObject & operator>>(float &f)
std::vector< float > sVector_