1 #ifndef CondFormats_SiPixelObjects_SiPixelGenErrorDBObject_h 2 #define CondFormats_SiPixelObjects_SiPixelGenErrorDBObject_h 1 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()
Log< level::Error, false > LogError
bool putGenErrorID(const uint32_t &detid, short &value)
std::map< unsigned int, short > templ_ID
SiPixelGenErrorDBObject & operator>>(float &f)
short getGenErrorID(const uint32_t &detid) const
void push_back(float entry)
void incrementIndex(int i)
std::vector< float > sVector() const
#define COND_SERIALIZABLE
void setVersion(float version)
const std::map< unsigned int, short > & getGenErrorIDs() const
SiPixelGenErrorDBObject()
std::vector< float > sVector_
void setMaxIndex(int maxIndex)