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;
std::vector< float > const & sVector() const
SiPixel2DTemplateDBObject const & object_
SiPixel2DTemplateDBObject & operator>>(int &i)
Log< level::Error, false > LogError
void push_back(float entry)
virtual ~SiPixel2DTemplateDBObject()
SiPixel2DTemplateDBObject()
void setMaxIndex(int maxIndex)
void putTemplateIDs(std::map< unsigned int, short > &t_ID)
void setNumOfTempl(int numOfTempl)
void setVersion(float version)
friend std::ostream & operator<<(std::ostream &s, const SiPixel2DTemplateDBObject &dbobject)
Reader & operator>>(int &i)
void incrementIndex(int i)
#define COND_SERIALIZABLE
short getTemplateID(const uint32_t &detid) const
std::map< unsigned int, short > templ_ID
Reader(SiPixel2DTemplateDBObject const &object)
bool putTemplateID(const uint32_t &detid, short &value)
SiPixel2DTemplateDBObject & operator>>(float &f)
Reader & operator>>(float &f)
std::vector< float > sVector_
const std::map< unsigned int, short > & getTemplateIDs() const
void incrementIndex(int i)