Go to the documentation of this file. 1 #ifndef SiStripThreshold_h
2 #define SiStripThreshold_h
46 inline void encode(
const uint16_t&
strip,
const float& lTh,
const float& hTh) {
54 inline void encode(
const uint16_t&
strip,
const float& lTh,
const float& hTh,
const float& cTh) {
56 clusTh = (uint8_t)(cTh * 10 + .5);
72 <<
" " <<
getLth() <<
" \t"
74 <<
" " <<
getHth() <<
" \t"
106 typedef std::pair<ContainerIterator, ContainerIterator>
Range;
120 void getDetIds(std::vector<uint32_t>& DetIds_)
const;
128 void setData(
const uint16_t&
strip,
const float& lTh,
const float& hTh,
const float& cTh,
Container& vthr);
std::vector< DetRegistry > Registry
void allThresholds(std::vector< float > &lowThs, std::vector< float > &highThs, const Range &range) const
static const std::string input
Container::iterator compact(Container &input)
bool operator<(const Data &d) const
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints all the thresholds for all DetIds.
uint16_t FirstStrip_and_Hth
#define COND_SERIALIZABLE
RegistryIterator getRegistryVectorEnd() const
void getDetIds(std::vector< uint32_t > &DetIds_) const
std::vector< Data > Container
uint16_t getFirstStrip() const
ContainerIterator getDataVectorEnd() const
Registry::const_iterator RegistryIterator
SiStripThreshold(const SiStripThreshold &orig)
bool operator()(const DetRegistry &p, const uint32_t &i) const
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints mean, rms, min and max threshold values for each DetId.
void addToStat(float value, uint16_t &range, float &sum, float &sum2, float &min, float &max) const
ContainerIterator getDataVectorBegin() const
const Range getRange(const uint32_t &detID) const
SiStripThreshold::Data getData(const uint16_t &strip, const Range &range) const
bool put(const uint32_t &detID, const InputVector &vect)
bool operator()(const uint16_t &i, const Data &p) const
std::pair< ContainerIterator, ContainerIterator > Range
RegistryIterator getRegistryVectorBegin() const
bool operator==(const Data &d) const
static const uint32_t HighThStripMask_
void encode(const uint16_t &strip, const float &lTh, const float &hTh, const float &cTh)
static const uint32_t LowThStripMask_
void encode(const uint16_t &strip, const float &lTh, const float &hTh)
static const uint32_t FirstThStripShift_
void print(std::stringstream &ss) const
virtual ~SiStripThreshold()
Container::const_iterator ContainerIterator
void setData(const uint16_t &strip, const float &lTh, const float &hTh, Container &vthr)
static const uint32_t FirstThStripMask_