1 #ifndef CondFormats_SiPixelObjects_SiPixelTemplateDBObject_h 2 #define CondFormats_SiPixelObjects_SiPixelTemplateDBObject_h 1 121 std::map<unsigned int, short>::const_iterator
id =
templ_ID.find(
detid);
124 <<
"Template ID for DetID " <<
detid <<
" is already stored. Skipping this put" << std::endl;
132 std::map<unsigned int, short>::const_iterator
id =
templ_ID.find(
detid);
136 edm::LogError(
"SiPixelTemplateDBObject") <<
"Template ID for DetID " <<
detid <<
" is not stored" << std::endl;
Reader & operator>>(float &f)
void putTemplateIDs(std::map< unsigned int, short > &t_ID)
std::vector< float > const & sVector() const
bool putTemplateID(const uint32_t &detid, short &value)
void incrementIndex(int i)
Reader & operator>>(int &i)
void push_back(float entry)
SiPixelTemplateDBObject()
Log< level::Error, false > LogError
virtual ~SiPixelTemplateDBObject()
void setMaxIndex(int maxIndex)
SiPixelTemplateDBObject const & db
Reader(SiPixelTemplateDBObject const &idb)
SiPixelTemplateDBObject & operator>>(float &f)
void incrementIndex(int i)
std::vector< float > const & sVector() const
const std::map< unsigned int, short > & getTemplateIDs() const
void setVersion(float version)
void setNumOfTempl(int numOfTempl)
short getTemplateID(const uint32_t &detid) const
std::vector< float > sVector_
#define COND_SERIALIZABLE
SiPixelTemplateDBObject & operator>>(int &i)
friend std::ostream & operator<<(std::ostream &s, const SiPixelTemplateDBObject &dbobject)
std::map< unsigned int, short > templ_ID