1 #ifndef CondFormats_SiPixelObjects_SiPixelTemplateDBObject_h
2 #define CondFormats_SiPixelObjects_SiPixelTemplateDBObject_h 1
72 i = (int)(*this).sVector_[
index_];
82 f = (*this).sVector_[
index_];
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)
bool putTemplateID(const uint32_t &detid, short &value)
short getTemplateID(const uint32_t &detid) const
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)
const std::map< unsigned int, short > & getTemplateIDs() const
void incrementIndex(int i)
void setVersion(float version)
void setNumOfTempl(int numOfTempl)
std::vector< float > sVector_
#define COND_SERIALIZABLE
SiPixelTemplateDBObject & operator>>(int &i)
std::vector< float > const & sVector() const
friend std::ostream & operator<<(std::ostream &s, const SiPixelTemplateDBObject &dbobject)
std::map< unsigned int, short > templ_ID
std::vector< float > const & sVector() const