1 #ifndef CondFormats_SiPixelObjects_SiPixelGenErrorDBObject_h 2 #define CondFormats_SiPixelObjects_SiPixelGenErrorDBObject_h 1 43 f = (*this).sVector_[
index_];
85 std::map<unsigned int,short>::const_iterator
id=
templ_ID.find(detid);
87 edm::LogError(
"SiPixelGenErrorDBObject") <<
"GenError ID for DetID " << detid
88 <<
" is already stored. Skipping this put" << std::endl;
97 std::map<unsigned int,short>::const_iterator
id=
templ_ID.find(detid);
98 if(
id!=
templ_ID.end())
return id->second;
99 else edm::LogError(
"SiPixelGenErrorDBObject") <<
"GenError ID for DetID " << detid
100 <<
" is not stored" << std::endl;
void putGenErrorIDs(std::map< unsigned int, short > &t_ID)
friend std::ostream & operator<<(std::ostream &s, const SiPixelGenErrorDBObject &dbobject)
SiPixelGenErrorDBObject & operator>>(int &i)
void setNumOfTempl(int numOfTempl)
virtual ~SiPixelGenErrorDBObject()
short getGenErrorID(const uint32_t &detid) const
bool putGenErrorID(const uint32_t &detid, short &value)
SiPixelGenErrorDBObject & operator>>(float &f)
const std::map< unsigned int, short > & getGenErrorIDs() const
std::vector< float > sVector() const
void push_back(float entry)
void incrementIndex(int i)
#define COND_SERIALIZABLE
std::map< unsigned int, short > templ_ID
void setVersion(float version)
SiPixelGenErrorDBObject()
std::vector< float > sVector_
void setMaxIndex(int maxIndex)