#include <SiStripThreshold.h>
Classes | |
struct | Data |
class | dataStrictWeakOrdering |
struct | DetRegistry |
class | StrictWeakOrdering |
Public Types | |
typedef std::vector< Data > | Container |
typedef Container::const_iterator | ContainerIterator |
typedef Container | InputVector |
typedef std::pair< ContainerIterator, ContainerIterator > | Range |
typedef std::vector< DetRegistry > | Registry |
typedef Registry::const_iterator | RegistryIterator |
Public Member Functions | |
void | allThresholds (std::vector< float > &lowThs, std::vector< float > &highThs, const Range &range) const |
SiStripThreshold::Data | getData (const uint16_t &strip, const Range &range) const |
ContainerIterator | getDataVectorBegin () const |
ContainerIterator | getDataVectorEnd () const |
void | getDetIds (std::vector< uint32_t > &DetIds_) const |
const Range | getRange (const uint32_t &detID) const |
RegistryIterator | getRegistryVectorBegin () const |
RegistryIterator | getRegistryVectorEnd () const |
void | printDebug (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
Prints all the thresholds for all DetIds. More... | |
void | printSummary (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
Prints mean, rms, min and max threshold values for each DetId. More... | |
bool | put (const uint32_t &detID, const InputVector &vect) |
void | setData (const uint16_t &strip, const float &lTh, const float &hTh, Container &vthr) |
void | setData (const uint16_t &strip, const float &lTh, const float &hTh, const float &cTh, Container &vthr) |
SiStripThreshold () | |
SiStripThreshold (const SiStripThreshold &orig) | |
virtual | ~SiStripThreshold () |
Private Member Functions | |
void | addToStat (float value, uint16_t &range, float &sum, float &sum2, float &min, float &max) const |
Container::iterator | compact (Container &input) |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
Registry | indexes |
Container | v_threshold |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Holds the thresholds:
Definition at line 42 of file SiStripThreshold.h.
typedef std::vector<Data> SiStripThreshold::Container |
Definition at line 104 of file SiStripThreshold.h.
typedef Container::const_iterator SiStripThreshold::ContainerIterator |
Definition at line 105 of file SiStripThreshold.h.
Definition at line 109 of file SiStripThreshold.h.
typedef std::pair<ContainerIterator, ContainerIterator> SiStripThreshold::Range |
Definition at line 106 of file SiStripThreshold.h.
typedef std::vector<DetRegistry> SiStripThreshold::Registry |
Definition at line 107 of file SiStripThreshold.h.
typedef Registry::const_iterator SiStripThreshold::RegistryIterator |
Definition at line 108 of file SiStripThreshold.h.
|
inline |
Definition at line 111 of file SiStripThreshold.h.
|
inline |
|
inlinevirtual |
Definition at line 116 of file SiStripThreshold.h.
|
private |
Definition at line 177 of file SiStripThreshold.cc.
References SiStripPI::max, SiStripPI::min, FastTimerService_cff::range, and relativeConstraints::value.
Referenced by printSummary().
void SiStripThreshold::allThresholds | ( | std::vector< float > & | lowThs, |
std::vector< float > & | highThs, | ||
const Range & | range | ||
) | const |
Definition at line 82 of file SiStripThreshold.cc.
References cms::cuda::assert(), ntuplemaker::fill, LaserClient_cfi::high, LaserClient_cfi::low, FastTimerService_cff::range, and DigiDM_cff::strips.
|
private |
Definition at line 33 of file SiStripThreshold.cc.
References input, and tier0::unique().
Referenced by put().
SiStripThreshold::Data SiStripThreshold::getData | ( | const uint16_t & | strip, |
const Range & | range | ||
) | const |
Definition at line 70 of file SiStripThreshold.cc.
References Exception, sistrip::FirstThStripMask_, sistrip::FirstThStripShift_, sistrip::HighThStripMask_, AlCaHLTBitMon_ParallelJobs::p, FastTimerService_cff::range, nano_mu_digi_cff::strip, and pfDeepBoostedJetPreprocessParams_cfi::upper_bound.
Referenced by SiStripThresholdDQM::fillMEsForDet(), and SiStripThresholdDQM::fillMEsForLayer().
|
inline |
Definition at line 122 of file SiStripThreshold.h.
References v_threshold.
Referenced by printDebug(), and printSummary().
|
inline |
void SiStripThreshold::getDetIds | ( | std::vector< uint32_t > & | DetIds_ | ) | const |
Definition at line 48 of file SiStripThreshold.cc.
References indexes, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by SiStripThresholdDQM::fillMEsForDet(), and SiStripThresholdDQM::getActiveDetIds().
const SiStripThreshold::Range SiStripThreshold::getRange | ( | const uint32_t & | detID | ) | const |
Definition at line 38 of file SiStripThreshold.cc.
References indexes, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, AlCaHLTBitMon_ParallelJobs::p, and v_threshold.
Referenced by SiStripThresholdDQM::fillMEsForDet(), and SiStripThresholdDQM::fillMEsForLayer().
|
inline |
Definition at line 124 of file SiStripThreshold.h.
References indexes.
Referenced by printDebug(), and printSummary().
|
inline |
Definition at line 125 of file SiStripThreshold.h.
References indexes.
Referenced by printDebug(), and printSummary().
void SiStripThreshold::printDebug | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Prints all the thresholds for all DetIds.
Definition at line 105 of file SiStripThreshold.cc.
References getDataVectorBegin(), getRegistryVectorBegin(), getRegistryVectorEnd(), and contentValuesCheck::ss.
void SiStripThreshold::printSummary | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Prints mean, rms, min and max threshold values for each DetId.
Definition at line 119 of file SiStripThreshold.cc.
References addToStat(), getDataVectorBegin(), getRegistryVectorBegin(), getRegistryVectorEnd(), dqmiodumpmetadata::n, mathSSE::sqrt(), and contentValuesCheck::ss.
bool SiStripThreshold::put | ( | const uint32_t & | detID, |
const InputVector & | vect | ||
) |
Definition at line 8 of file SiStripThreshold.cc.
References compact(), SiStripThreshold::DetRegistry::detid, SiStripThreshold::DetRegistry::ibegin, SiStripThreshold::DetRegistry::iend, indexes, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, AlCaHLTBitMon_ParallelJobs::p, and v_threshold.
Referenced by SiStripCondObjBuilderFromDb::storeThreshold().
|
private |
void SiStripThreshold::setData | ( | const uint16_t & | strip, |
const float & | lTh, | ||
const float & | hTh, | ||
Container & | vthr | ||
) |
Definition at line 57 of file SiStripThreshold.cc.
References a, and nano_mu_digi_cff::strip.
Referenced by SiStripCondObjBuilderFromDb::setDefaultValuesCabling(), and SiStripCondObjBuilderFromDb::setValuesCabling().
void SiStripThreshold::setData | ( | const uint16_t & | strip, |
const float & | lTh, | ||
const float & | hTh, | ||
const float & | cTh, | ||
Container & | vthr | ||
) |
|
friend |
Definition at line 146 of file SiStripThreshold.h.
|
friend |
Definition at line 146 of file SiStripThreshold.h.
|
private |
Definition at line 144 of file SiStripThreshold.h.
Referenced by getDetIds(), getRange(), getRegistryVectorBegin(), getRegistryVectorEnd(), put(), and SiStripThreshold().
|
private |
Definition at line 143 of file SiStripThreshold.h.
Referenced by getDataVectorBegin(), getDataVectorEnd(), getRange(), put(), and SiStripThreshold().