#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 |
unsigned int | encode (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 |
void | printSummary (std::stringstream &ss) 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 29 of file SiStripBadStrip.h.
typedef std::vector<unsigned int> SiStripBadStrip::Container |
Definition at line 52 of file SiStripBadStrip.h.
typedef std::vector<unsigned int>::const_iterator SiStripBadStrip::ContainerIterator |
Definition at line 53 of file SiStripBadStrip.h.
Definition at line 57 of file SiStripBadStrip.h.
typedef std::pair<ContainerIterator, ContainerIterator> SiStripBadStrip::Range |
Definition at line 54 of file SiStripBadStrip.h.
typedef std::vector<DetRegistry> SiStripBadStrip::Registry |
Definition at line 55 of file SiStripBadStrip.h.
typedef Registry::const_iterator SiStripBadStrip::RegistryIterator |
Definition at line 56 of file SiStripBadStrip.h.
|
inline |
Definition at line 59 of file SiStripBadStrip.h.
|
inline |
|
inlinevirtual |
Definition at line 64 of file SiStripBadStrip.h.
|
inline |
Definition at line 80 of file SiStripBadStrip.h.
References a, sistrip::FirstBadStripMask_, sistrip::FirstBadStripShift_, SiStripBadStrip::data::firstStrip, SiStripBadStrip::data::flag, sistrip::FlagBadStripMask_, sistrip::FlagBadStripShift_, SiStripBadStrip::data::range, sistrip::RangeBadStripMask_, and sistrip::RangeBadStripShift_.
Referenced by SiStripQuality::add(), SiStripFEDErrorsDQM::addErrors(), SiStripHitEffFromCalibTree::algoAnalyze(), SiStripQuality::compact(), SiStripQuality::fillBadComponents(), ztail.Decoder::follow(), ztail.Decoder::initial_synchronize(), MeasurementTrackerImpl::initializeStripStatus(), SiStripQuality::IsStripBad(), SiStripQuality::nBadStripsOnTheLeft(), SiStripQuality::nBadStripsOnTheRight(), SiStripQuality::operator-=(), printDebug(), SiStripQuality::ReduceGranularity(), and SiStripQuality::subtraction().
|
inline |
Definition at line 88 of file SiStripBadStrip.h.
References sistrip::FirstBadStripMask_, sistrip::FirstBadStripShift_, sistrip::FlagBadStripMask_, sistrip::FlagBadStripShift_, sistrip::RangeBadStripMask_, and sistrip::RangeBadStripShift_.
Referenced by SiStripQuality::add(), SiStripFEDErrorsDQM::addBadStrips(), SiStripFEDErrorsDQM::addErrors(), SiStripQuality::addInvalidConnectionFromCabling(), SiStripQuality::addNotConnectedConnectionFromCabling(), SiStripBadFiberBuilder::algoAnalyze(), SiStripBadChannelBuilder::algoAnalyze(), SiStripBadAPVAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripQuality::compact(), SiStripBadModuleGenerator::createObject(), SiStripBadStripFromASCIIFile::getNewObject(), SiStripBadModuleByHandBuilder::getNewObject(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::iterativeSearch(), SiStripHotStripAlgorithmFromClusterOccupancy::iterativeSearch(), SiStripHitEffFromCalibTree::makeSQLite(), SiStripBadComponentsDQMService::readBadComponents(), SiStripQuality::ReduceGranularity(), SiStripCondObjBuilderFromDb::setDefaultValuesCabling(), SiStripCondObjBuilderFromDb::setValuesCabling(), SiStripQuality::subtraction(), and SiStripQuality::turnOffFeds().
|
inline |
Definition at line 74 of file SiStripBadStrip.h.
References v_badstrips.
Referenced by SiStripQuality::add(), SiStripHitEffFromCalibTree::algoAnalyze(), SiStripQualityHotStripIdentifier::getNewObject(), SiStripQualityHotStripIdentifierRoot::getNewObject(), SiStripHitEffFromCalibTree::getNewObject(), SiStripQuality::operator-=(), and SiStripQuality::ReduceGranularity().
|
inline |
void SiStripBadStrip::getDetIds | ( | std::vector< uint32_t > & | DetIds_ | ) | const |
Definition at line 50 of file SiStripBadStrip.cc.
References begin, end, indexes, and AlCaHLTBitMon_ParallelJobs::p.
const SiStripBadStrip::Range SiStripBadStrip::getRange | ( | const uint32_t | detID | ) | const |
Definition at line 26 of file SiStripBadStrip.cc.
References indexes, AlCaHLTBitMon_ParallelJobs::p, and v_badstrips.
Referenced by SiStripQuality::add(), MeasurementTrackerImpl::initializeStripStatus(), SiStripQuality::IsStripBad(), SiStripQuality::operator-=(), and printDebug().
SiStripBadStrip::Range SiStripBadStrip::getRangeByPos | ( | unsigned short | pos | ) | const |
Definition at line 40 of file SiStripBadStrip.cc.
References indexes, AlCaHLTBitMon_ParallelJobs::p, and v_badstrips.
|
inline |
Definition at line 76 of file SiStripBadStrip.h.
References indexes.
Referenced by SiStripQuality::add(), SiStripHitEffFromCalibTree::algoAnalyze(), SiStripQualityHotStripIdentifier::getNewObject(), SiStripQualityHotStripIdentifierRoot::getNewObject(), SiStripHitEffFromCalibTree::getNewObject(), SiStripQuality::operator-=(), SiStripQuality::operator==(), and SiStripQuality::ReduceGranularity().
|
inline |
Definition at line 77 of file SiStripBadStrip.h.
References indexes.
Referenced by SiStripQuality::add(), SiStripHitEffFromCalibTree::algoAnalyze(), SiStripQualityHotStripIdentifier::getNewObject(), SiStripQualityHotStripIdentifierRoot::getNewObject(), SiStripHitEffFromCalibTree::getNewObject(), SiStripQuality::operator-=(), SiStripQuality::operator==(), and SiStripQuality::ReduceGranularity().
void SiStripBadStrip::printDebug | ( | std::stringstream & | ss | ) | const |
Definition at line 75 of file SiStripBadStrip.cc.
References decode(), SiStripBadStrip::data::firstStrip, SiStripBadStrip::data::flag, getRange(), indexes, and SiStripBadStrip::data::range.
Referenced by SiStripQuality::setPrintDebugOutput().
void SiStripBadStrip::printSummary | ( | std::stringstream & | ss | ) | const |
Definition at line 59 of file SiStripBadStrip.cc.
References SiStripDetSummary::add(), indexes, and SiStripDetSummary::print().
Referenced by SiStripBadComponentsDQMService::getMetaDataString().
|
inline |
Definition at line 66 of file SiStripBadStrip.h.
References put().
Referenced by SiStripFEDErrorsDQM::addErrors(), SiStripBadFiberBuilder::algoAnalyze(), SiStripBadChannelBuilder::algoAnalyze(), SiStripBadAPVAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripQuality::cleanUp(), SiStripBadModuleGenerator::createObject(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripBadStripFromASCIIFile::getNewObject(), SiStripBadModuleByHandBuilder::getNewObject(), SiStripQualityHotStripIdentifier::getNewObject(), SiStripQualityHotStripIdentifierRoot::getNewObject(), SiStripHitEffFromCalibTree::getNewObject(), SiStripHitEffFromCalibTree::makeSQLite(), put(), SiStripBadComponentsDQMService::readBadComponents(), 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, AlCaHLTBitMon_ParallelJobs::p, sd, and v_badstrips.
|
private |
|
friend |
Definition at line 96 of file SiStripBadStrip.h.
|
friend |
Definition at line 96 of file SiStripBadStrip.h.
|
protected |
Definition at line 94 of file SiStripBadStrip.h.
Referenced by SiStripQuality::cleanUp(), SiStripQuality::clear(), SiStripQuality::fillBadComponents(), getDetIds(), getRange(), getRangeByPos(), getRegistryVectorBegin(), getRegistryVectorEnd(), printDebug(), printSummary(), put(), SiStripQuality::put_replace(), SiStripBadStrip(), and SiStripQuality::SiStripQuality().
|
protected |
Definition at line 93 of file SiStripBadStrip.h.
Referenced by SiStripQuality::cleanUp(), SiStripQuality::clear(), SiStripQuality::fillBadComponents(), getDataVectorBegin(), getDataVectorEnd(), getRange(), getRangeByPos(), put(), SiStripQuality::put_replace(), SiStripBadStrip(), and SiStripQuality::SiStripQuality().