#include <SiStripBadStrip.h>
Classes | |
struct | data |
struct | DetRegistry |
class | StrictWeakOrdering |
Public Types | |
typedef std::vector< unsigned int > | Container |
typedef std::vector< unsigned int >::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 | |
data | decode (const unsigned int &value) const |
data | decodePhase2 (const unsigned int &value) const |
unsigned int | encode (const unsigned short &first, const unsigned short &NconsecutiveBadStrips, const unsigned short &flag=0) |
unsigned int | encodePhase2 (const unsigned short &first, const unsigned short &NconsecutiveBadStrips, const unsigned short &flag=0) |
ContainerIterator | getDataVectorBegin () const |
ContainerIterator | getDataVectorEnd () const |
void | getDetIds (std::vector< uint32_t > &DetIds_) const |
const Range | getRange (const uint32_t detID) const |
Range | getRangeByPos (unsigned short pos) const |
RegistryIterator | getRegistryVectorBegin () const |
RegistryIterator | getRegistryVectorEnd () const |
void | printDebug (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
void | printSummary (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
bool | put (const uint32_t &detID, const InputVector &vect) |
bool | put (const uint32_t &detID, Range input) |
SiStripBadStrip () | |
SiStripBadStrip (const SiStripBadStrip &orig) | |
virtual | ~SiStripBadStrip () |
Protected Attributes | |
Registry | indexes |
Container | v_badstrips |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Holds the list of bad components.
The bad components can be filled with two put methods, that receive a DetId and either a range of bad strips or a vector of bad strips.
The information is stored in two vectors:
Definition at line 30 of file SiStripBadStrip.h.
typedef std::vector<unsigned int> SiStripBadStrip::Container |
Definition at line 51 of file SiStripBadStrip.h.
typedef std::vector<unsigned int>::const_iterator SiStripBadStrip::ContainerIterator |
Definition at line 52 of file SiStripBadStrip.h.
Definition at line 56 of file SiStripBadStrip.h.
typedef std::pair<ContainerIterator, ContainerIterator> SiStripBadStrip::Range |
Definition at line 53 of file SiStripBadStrip.h.
typedef std::vector<DetRegistry> SiStripBadStrip::Registry |
Definition at line 54 of file SiStripBadStrip.h.
typedef Registry::const_iterator SiStripBadStrip::RegistryIterator |
Definition at line 55 of file SiStripBadStrip.h.
|
inline |
Definition at line 58 of file SiStripBadStrip.h.
|
inline |
|
inlinevirtual |
Definition at line 63 of file SiStripBadStrip.h.
|
inline |
Definition at line 78 of file SiStripBadStrip.h.
References a, sistrip::FirstBadStripMask_, sistrip::FirstBadStripShift_, sistrip::FlagBadStripMask_, sistrip::FlagBadStripShift_, sistrip::RangeBadStripMask_, and sistrip::RangeBadStripShift_.
Referenced by SiStripQuality::add(), SiStripPopConFEDErrorsHandlerFromDQM::addErrors(), SiStripHitEffFromCalibTree::algoAnalyze(), SiStripMonitorQuality::analyze(), SiStripQuality::compact(), SiStripQuality::difference(), PreMixingSiStripWorker::DMinitializeDetUnit(), SiStripBadComponentInfo::fillBadComponentMaps(), SiStripQuality::fillBadComponents(), SiStripPI::fillBCArrays(), SiStripQualityDQM::fillGrandSummaryMEs(), ztail.Decoder::follow(), ztail.Decoder::initial_synchronize(), SiStripDigitizerAlgorithm::initializeDetUnit(), SiStripQuality::IsStripBad(), SiStripCorrelateBadStripAndNoise::iterateOnBadStrips(), SiStripQuality::nBadStripsOnTheLeft(), SiStripQuality::nBadStripsOnTheRight(), printDebug(), SiStripQuality::ReduceGranularity(), DigiSimLinkAlgorithm::run(), SiStripQuality::subtraction(), and SiStripQualityStatistics::updateAndSave().
|
inline |
Definition at line 95 of file SiStripBadStrip.h.
References a, siPhase2strip::FirstBadStripMask_, siPhase2strip::FirstBadStripShift_, siPhase2strip::FlagBadStripMask_, siPhase2strip::FlagBadStripShift_, siPhase2strip::RangeBadStripMask_, and siPhase2strip::RangeBadStripShift_.
Referenced by PSSDigitizerAlgorithm::module_killing_DB(), and SSDigitizerAlgorithm::module_killing_DB().
|
inline |
Definition at line 86 of file SiStripBadStrip.h.
References first, sistrip::FirstBadStripMask_, sistrip::FirstBadStripShift_, RemoveAddSevLevel::flag, sistrip::FlagBadStripMask_, sistrip::FlagBadStripShift_, sistrip::RangeBadStripMask_, and sistrip::RangeBadStripShift_.
Referenced by SiStripQuality::add(), SiStripPopConFEDErrorsHandlerFromDQM::addBadStrips(), SiStripPopConFEDErrorsHandlerFromDQM::addErrors(), SiStripQuality::addInvalidConnectionFromCabling(), SiStripQuality::addNotConnectedConnectionFromCabling(), SiStripBadAPVAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripQuality::compact(), SiStripPopConBadComponentsHandlerFromDQM::dqmEndJob(), SiStripHotStripAlgorithmFromClusterOccupancy::iterativeSearch(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::iterativeSearch(), SiStripQuality::ReduceGranularity(), SiStripCondObjBuilderFromDb::setDefaultValuesCabling(), SiStripCondObjBuilderFromDb::setValuesCabling(), SiStripQuality::subtraction(), and SiStripQuality::turnOffFeds().
|
inline |
Definition at line 103 of file SiStripBadStrip.h.
References first, siPhase2strip::FirstBadStripMask_, siPhase2strip::FirstBadStripShift_, RemoveAddSevLevel::flag, siPhase2strip::FlagBadStripMask_, siPhase2strip::FlagBadStripShift_, siPhase2strip::RangeBadStripMask_, and siPhase2strip::RangeBadStripShift_.
|
inline |
Definition at line 73 of file SiStripBadStrip.h.
References v_badstrips.
Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripMonitorQuality::analyze(), SiStripBadComponentInfo::fillBadComponentMaps(), SiStripPI::fillBCArrays(), SiStripQualityDQM::fillGrandSummaryMEs(), SiStripHitEffFromCalibTree::getNewObject(), SiStripCorrelateBadStripAndNoise::iterateOnDets(), SiStripQuality::ReduceGranularity(), and SiStripQualityStatistics::updateAndSave().
|
inline |
void SiStripBadStrip::getDetIds | ( | std::vector< uint32_t > & | DetIds_ | ) | const |
Definition at line 51 of file SiStripBadStrip.cc.
References mps_fire::end, indexes, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by SiStripQualityDQM::getActiveDetIds().
const SiStripBadStrip::Range SiStripBadStrip::getRange | ( | const uint32_t | detID | ) | const |
Definition at line 27 of file SiStripBadStrip.cc.
References indexes, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, AlCaHLTBitMon_ParallelJobs::p, and v_badstrips.
Referenced by SiStripAPVRestorer::abnormalBaselineInspect(), SiStripQuality::add(), SiStripMonitorCluster::analyze(), SiStripDB2Tree::analyze(), SiStripMonitorTrack::clusterInfos(), SiStripQuality::difference(), PreMixingSiStripWorker::DMinitializeDetUnit(), SiStripQualityDQM::fillMEsForDet(), SiStripQualityDQM::fillMEsForLayer(), SiStripDigitizerAlgorithm::initializeDetUnit(), SiStripQuality::IsStripBad(), PSSDigitizerAlgorithm::module_killing_DB(), SSDigitizerAlgorithm::module_killing_DB(), SiStripAPVRestorer::nullInspect(), printDebug(), DigiSimLinkAlgorithm::run(), TT6CMNSubtractor::subtract_(), and IteratedMedianCMNSubtractor::subtract_().
SiStripBadStrip::Range SiStripBadStrip::getRangeByPos | ( | unsigned short | pos | ) | const |
Definition at line 41 of file SiStripBadStrip.cc.
References indexes, AlCaHLTBitMon_ParallelJobs::p, and v_badstrips.
|
inline |
Definition at line 75 of file SiStripBadStrip.h.
References indexes.
Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripMonitorQuality::analyze(), SiStripMonitorQuality::bookHistograms(), SiStripBadComponentInfo::fillBadComponentMaps(), SiStripPI::fillBCArrays(), SiStripQualityDQM::fillGrandSummaryMEs(), SiStripHitEffFromCalibTree::getNewObject(), SiStripCorrelateBadStripAndNoise::iterateOnDets(), SiStripQuality::ReduceGranularity(), and SiStripQualityStatistics::updateAndSave().
|
inline |
Definition at line 76 of file SiStripBadStrip.h.
References indexes.
Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripMonitorQuality::analyze(), SiStripMonitorQuality::bookHistograms(), SiStripBadComponentInfo::fillBadComponentMaps(), SiStripPI::fillBCArrays(), SiStripQualityDQM::fillGrandSummaryMEs(), SiStripHitEffFromCalibTree::getNewObject(), SiStripCorrelateBadStripAndNoise::iterateOnDets(), SiStripQuality::ReduceGranularity(), and SiStripQualityStatistics::updateAndSave().
void SiStripBadStrip::printDebug | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Definition at line 76 of file SiStripBadStrip.cc.
References decode(), SiStripBadStrip::data::firstStrip, SiStripBadStrip::data::flag, getRange(), indexes, SiStripBadStrip::data::range, FastTimerService_cff::range, and contentValuesCheck::ss.
Referenced by SiStripQuality::printActiveFedsInfo(), SiStripQuality::setPrintDebugOutput(), and SiStripQuality::turnOffFeds().
void SiStripBadStrip::printSummary | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Definition at line 60 of file SiStripBadStrip.cc.
References indexes, and contentValuesCheck::ss.
Referenced by SiStripPopConBadComponentsHandlerFromDQM::getMetaDataString().
|
inline |
Definition at line 65 of file SiStripBadStrip.h.
References put().
Referenced by SiStripPopConFEDErrorsHandlerFromDQM::addErrors(), SiStripQuality::cleanUp(), SiStripPopConBadComponentsHandlerFromDQM::dqmEndJob(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripHitEffFromCalibTree::makeSQLite(), put(), and SiStripCondObjBuilderFromDb::storeQuality().
bool SiStripBadStrip::put | ( | const uint32_t & | detID, |
Range | input | ||
) |
Definition at line 7 of file SiStripBadStrip.cc.
References SiStripBadStrip::DetRegistry::detid, SiStripBadStrip::DetRegistry::ibegin, SiStripBadStrip::DetRegistry::iend, indexes, input, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, AlCaHLTBitMon_ParallelJobs::p, and v_badstrips.
|
private |
|
friend |
Definition at line 115 of file SiStripBadStrip.h.
|
friend |
Definition at line 115 of file SiStripBadStrip.h.
|
protected |
Definition at line 113 of file SiStripBadStrip.h.
Referenced by SiStripQuality::cleanUp(), SiStripQuality::clear(), SiStripQuality::fillBadComponents(), getDetIds(), getRange(), getRangeByPos(), getRegistryVectorBegin(), getRegistryVectorEnd(), printDebug(), printSummary(), put(), SiStripQuality::put_replace(), and SiStripBadStrip().
|
protected |
Definition at line 112 of file SiStripBadStrip.h.
Referenced by SiStripQuality::cleanUp(), SiStripQuality::clear(), SiStripQuality::fillBadComponents(), getDataVectorBegin(), getDataVectorEnd(), getRange(), getRangeByPos(), put(), SiStripQuality::put_replace(), and SiStripBadStrip().