1 #ifndef SiStripPedestals_h 2 #define SiStripPedestals_h 9 #include<boost/cstdint.hpp> 52 typedef std::pair<ContainerIterator, ContainerIterator>
Range;
61 bool put(
const uint32_t& detID,InputVector &
input);
62 const Range
getRange(
const uint32_t& detID)
const;
63 void getDetIds(std::vector<uint32_t>& DetIds_)
const;
70 void setData(
float ped, InputVector& vped);
71 float getPed (
const uint16_t&
strip,
const Range& range)
const;
72 void allPeds (std::vector<int> & pefs,
const Range& range)
const;
81 void encode(InputVector& Vi, std::vector<unsigned char>& Vo_CHAR);
82 uint16_t
decode (
const uint16_t& strip,
const Range& range)
const;
83 inline uint16_t
get10bits(
const uint8_t * &ptr, int8_t
skip)
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)
#define COND_SERIALIZABLE
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