1 #ifndef SiStripPedestals_h
2 #define SiStripPedestals_h
7 #include<boost/cstdint.hpp>
48 typedef std::pair<ContainerIterator, ContainerIterator>
Range;
59 void getDetIds(std::vector<uint32_t>& DetIds_)
const;
67 float getPed (
const uint16_t& strip,
const Range& range)
const;
68 void allPeds (std::vector<int> & pefs,
const Range& range)
const;
78 uint16_t
decode (
const uint16_t& strip,
const Range& range)
const;
79 inline uint16_t
get10bits(
const uint8_t * &ptr, int8_t
skip)
const ;
bool operator()(const DetRegistry &p, const uint32_t &i) const
std::vector< DetRegistry > Registry
std::pair< ContainerIterator, ContainerIterator > Range
void encode(InputVector &Vi, std::vector< unsigned char > &Vo_CHAR)
void printDebug(std::stringstream &ss) const
Prints all pedestals.
uint16_t decode(const uint16_t &strip, const Range &range) const
static std::string const input
float getPed(const uint16_t &strip, const Range &range) const
std::vector< uint16_t > InputVector
ContainerIterator getDataVectorEnd() const
RegistryIterator getRegistryVectorEnd() const
void printSummary(std::stringstream &ss) const
Prints mean pedestal value divided for subdet, layer and mono/stereo.
RegistryIterator getRegistryVectorBegin() const
ContainerIterator getDataVectorBegin() const
void allPeds(std::vector< int > &pefs, const Range &range) const
void getDetIds(std::vector< uint32_t > &DetIds_) const
bool put(const uint32_t &detID, InputVector &input)
void setData(float ped, InputVector &vped)
std::vector< char > Container
std::vector< char >::const_iterator ContainerIterator
uint16_t get10bits(const uint8_t *&ptr, int8_t skip) const
const Range getRange(const uint32_t &detID) const
Registry::const_iterator RegistryIterator