1 #ifndef CondFormats_SiPixelObjects_SiPixelTemplateDBObject_h
2 #define CondFormats_SiPixelObjects_SiPixelTemplateDBObject_h 1
31 i = (int) (*this).sVector_[
index_];
43 f = (*this).sVector_[
index_];
85 std::map<unsigned int,short>::const_iterator
id=
templ_ID.find(detid);
87 edm::LogError(
"SiPixelTemplateDBObject") <<
"Template 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(
"SiPixelTemplateDBObject") <<
"Template ID for DetID " << detid
100 <<
" is not stored" << std::endl;
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 push_back(float entry)
SiPixelTemplateDBObject()
virtual ~SiPixelTemplateDBObject()
void setMaxIndex(int maxIndex)
SiPixelTemplateDBObject & operator>>(float &f)
void incrementIndex(int i)
std::vector< float > sVector() const
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)
volatile std::atomic< bool > shutdown_flag false
friend std::ostream & operator<<(std::ostream &s, const SiPixelTemplateDBObject &dbobject)