1 #ifndef CondFormats_SiPixelObjects_SiPixelGenErrorDBObject_h
2 #define CondFormats_SiPixelObjects_SiPixelGenErrorDBObject_h 1
30 i = (int)(*this).sVector_[
index_];
40 f = (*this).sVector_[
index_];
79 std::map<unsigned int, short>::const_iterator
id =
templ_ID.find(detid);
82 <<
"GenError ID for DetID " << detid <<
" is already stored. Skipping this put" << std::endl;
90 std::map<unsigned int, short>::const_iterator
id =
templ_ID.find(detid);
94 edm::LogError(
"SiPixelGenErrorDBObject") <<
"GenError ID for DetID " << detid <<
" 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
Log< level::Error, false > LogError
bool putGenErrorID(const uint32_t &detid, short &value)
std::map< unsigned int, short > templ_ID
SiPixelGenErrorDBObject & operator>>(float &f)
std::vector< float > sVector() const
void push_back(float entry)
void incrementIndex(int i)
const std::map< unsigned int, short > & getGenErrorIDs() const
#define COND_SERIALIZABLE
void setVersion(float version)
SiPixelGenErrorDBObject()
std::vector< float > sVector_
void setMaxIndex(int maxIndex)