10 int size = stripDets.size();
30 auto & mdet = stripDets[
i];
33 id_[
i] = mdet.specificGeomDet().geographicalId().rawId();
36 totalStrips_[
i] = mdet.specificGeomDet().specificTopology().nstrips();
54 for (
int j = 0; i < (totalStrips_[j] >> 7);
j++) {
72 if ((quality != 0) && (qualityFlags != 0)) {
73 edm::LogInfo(
"MeasurementTracker") <<
"qualityFlags = " << qualityFlags;
74 unsigned int on = 0, tot = 0;
75 unsigned int foff = 0, ftot = 0, aoff = 0, atot = 0;
81 tot++; on += (
unsigned int) isOn;
82 if (qualityDebugFlags & BadModules) {
83 edm::LogInfo(
"MeasurementTracker")<<
"MeasurementTrackerImpl::initializeStripStatus : detid " << detid <<
" is " << (isOn ?
"on" :
"off");
93 for (
int j = 0;
j < 6;
j++) {
95 if (badApvs & (1 <<
j)) {
100 for (
int j = 0;
j < 3;
j++) {
102 if (badFibers & (1 <<
j)) {
111 if (qualityFlags & BadStrips) {
114 badStrips.push_back(quality->
decode(*bit));
120 " Total modules: " << tot <<
", active " << on <<
", inactive " << (tot - on);
124 " Total APVs: " << atot <<
", active " << (atot-aoff) <<
", inactive " << (aoff);
126 " Total Fibers: " << ftot <<
", active " << (ftot-foff) <<
", inactive " << (foff);
129 for (
int i=0;
i!=
nDet();
i++) {
T getParameter(std::string const &) const
short getBadFibers(const uint32_t &detid) const
std::vector< unsigned int >::const_iterator ContainerIterator
std::vector< bool > activeThisPeriod_
std::vector< BadStripBlock > & getBadStripBlocks(int i)
std::vector< unsigned int > id_
void set128StripStatus(int i, bool good, int idx=-1)
std::vector< bool > bad128Strip_
unsigned int id(int i) const
BadStripCuts badStripCuts_[4]
std::vector< bool > hasAny128StripBad_
std::vector< std::vector< BadStripBlock > > badStripBlocks_
void initializeStripStatus(const SiStripQuality *quality, int qualityFlags, int qualityDebugFlags, edm::ParameterSet cutPset)
short getBadApvs(const uint32_t &detid) const
bool IsModuleUsable(const uint32_t &detid) const
std::vector< unsigned int > clusterI_
std::vector< unsigned char > subId_
unsigned int offset(bool)
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
Detector identifier class for the strip tracker.
void setMaskBad128StripBlocks(bool maskThem)
std::vector< bool > empty_
const Range getRange(const uint32_t &detID) const
std::vector< int > totalStrips_
void setActive(int i, bool active)
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB...
std::vector< StripDetset > detSet_
std::pair< ContainerIterator, ContainerIterator > Range
std::vector< bool > activeThisEvent_
void init(std::vector< TkStripMeasurementDet > &stripDets)
tuple size
Write out results.
data decode(const unsigned int &value) const