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