1 #ifndef CondFormats_SiPixelObjects_SiPixelTemplateDBObject_h 2 #define CondFormats_SiPixelObjects_SiPixelTemplateDBObject_h 1 92 f = (*this).sVector_[
index_];
134 std::map<unsigned int,short>::const_iterator
id=
templ_ID.find(detid);
136 edm::LogError(
"SiPixelTemplateDBObject") <<
"Template ID for DetID " << detid
137 <<
" is already stored. Skipping this put" << std::endl;
146 std::map<unsigned int,short>::const_iterator
id=
templ_ID.find(detid);
147 if(
id!=
templ_ID.end())
return id->second;
148 else edm::LogError(
"SiPixelTemplateDBObject") <<
"Template ID for DetID " << detid
149 <<
" 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()
virtual ~SiPixelTemplateDBObject()
void setMaxIndex(int maxIndex)
SiPixelTemplateDBObject const & db
Reader(SiPixelTemplateDBObject const &idb)
SiPixelTemplateDBObject & operator>>(float &f)
void incrementIndex(int i)
std::map< unsigned int, short > templ_ID
void setVersion(float version)
void setNumOfTempl(int numOfTempl)
std::vector< float > sVector_
const std::map< unsigned int, short > & getTemplateIDs() const
#define COND_SERIALIZABLE
SiPixelTemplateDBObject & operator>>(int &i)
std::vector< float > const & sVector() const
friend std::ostream & operator<<(std::ostream &s, const SiPixelTemplateDBObject &dbobject)
std::vector< float > const & sVector() const