1 #ifndef SiStripApvGain_h
2 #define SiStripApvGain_h
9 #include<boost/cstdint.hpp>
27 typedef std::pair<ContainerIterator, ContainerIterator>
Range;
69 void getDetIds(std::vector<uint32_t>& DetIds_)
const;
76 static float getStripGain (uint16_t strip,
const Range& range) {uint16_t apv = strip/128;
return *(range.first+apv);}
77 static float getApvGain (uint16_t apv,
const Range& range) {
return *(range.first+apv);}
ContainerIterator getFirstElement(RegistryConstIterator &idet)
RegistryConstIterator iend_end
RegistryConstIterator iend_begin
Registry::const_iterator RegistryConstIterator
static float getApvGain(uint16_t apv, const Range &range)
Registry::iterator RegistryIterator
RegistryConstIterator detid_end
RegistryConstIterator detid_begin
Range getRangeByPos(unsigned short pos) const
std::vector< unsigned int > Registry
void getDetIds(std::vector< uint32_t > &DetIds_) const
static std::string const input
bool put(const uint32_t &detID, Range input)
RegistryConstIterator ibegin_begin
void printDebug(std::stringstream &ss) const
std::vector< float > v_gains
void printSummary(std::stringstream &ss) const
std::pair< ContainerIterator, ContainerIterator > Range
std::vector< unsigned int > v_iend
std::vector< float >::const_iterator ContainerIterator
std::vector< unsigned int > v_detids
ContainerIterator getLastElement(RegistryConstIterator &idet)
#define COND_SERIALIZABLE
std::vector< float > InputVector
static float getStripGain(uint16_t strip, const Range &range)
std::vector< unsigned int > v_ibegin
const Range getRange(const uint32_t detID) const
RegistryConstIterator ibegin_end
RegistryPointers getRegistryPointers() const
ContainerIterator v_begin