Go to the documentation of this file.
13 #include <boost/lexical_cast.hpp>
18 : printdebug_(iConfig.getUntrackedParameter<
bool>(
"printDebug",
true)) {}
28 uint32_t FedErrorMask = 1;
29 uint32_t DigiErrorMask = 2;
30 uint32_t ClusterErrorMask = 4;
35 <<
"[SiStripBadComponentsDQMServiceReader::analyze] End Reading SiStripBadStrip" << std::endl;
37 std::vector<uint32_t> detid;
44 ss <<
"subdet layer stereo side \t detId \t\t Errors" << std::endl;
46 for (
size_t id = 0;
id < detid.size();
id++) {
49 for (
int it = 0; it <
range.second -
range.first; it++) {
57 printError(
ss, ((
flag & ClusterErrorMask) == ClusterErrorMask),
"Cluster error");
62 <<
" NconsecutiveBadStrips " << SiStripBadStrip_->
decode(
value).
range <<
"\t "
64 <<
" packed integer " << std::hex <<
value <<
std::dec <<
"\t " << std::endl;
76 ss << errorText <<
"\t ";
122 }
else if (side == 2) {
T const * product() const
const Range getRange(const uint32_t detID) const
SiStripBadComponentsDQMServiceReader(const edm::ParameterSet &)
data decode(const unsigned int &value) const
uint32_t tobStereo(const DetId &id) const
unsigned int tidWheel(const DetId &id) const
std::pair< ContainerIterator, ContainerIterator > Range
static constexpr auto TIB
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
uint32_t tibStereo(const DetId &id) const
void printError(std::stringstream &ss, const bool error, const std::string &errorText)
std::string detIdToString(const DetId &detid, const TrackerTopology *tTopo)
uint32_t tidStereo(const DetId &id) const
unsigned int tidSide(const DetId &id) const
unsigned short firstStrip
void getDetIds(std::vector< uint32_t > &DetIds_) const
unsigned int tobLayer(const DetId &id) const
constexpr uint32_t rawId() const
get the raw id
static constexpr auto TEC
static constexpr auto TOB
void analyze(const edm::Event &, const edm::EventSetup &) override
~SiStripBadComponentsDQMServiceReader() override
unsigned int tecWheel(const DetId &id) const
static constexpr auto TID
uint32_t tecStereo(const DetId &id) const
unsigned int tibLayer(const DetId &id) const
unsigned int tecSide(const DetId &id) const