#include <TkMeasurementDetSet.h>
Classes | |
struct | BadStripBlock |
struct | BadStripCuts |
Public Types | |
enum | QualityFlags { BadModules = 1, BadAPVFibers = 2, BadStrips = 4, MaskBad128StripBlocks = 8, BadROCs = 2 } |
Public Member Functions | |
bool | bad128Strip (int offset) const |
note: index is 6*detector index + offset! More... | |
bool | bad128Strip (int index, int strip) const |
std::vector< BadStripBlock > const & | badStripBlocks (int i) const |
const BadStripCuts & | badStripCuts (int i) const |
int | find (unsigned int jd, int i=0) const |
std::vector< BadStripBlock > & | getBadStripBlocks (int i) |
bool | hasAny128StripBad (int i) const |
unsigned int | id (int i) const |
void | init (int size) |
bool | isActiveThisPeriod (int i) const |
bool | isMasked (int i, const SiStripCluster &cluster) const |
bool | maskBad128StripBlocks () const |
const SiStripRecHitMatcher * | matcher () const |
int | nDet () const |
void | set128StripStatus (int i, bool good, int idx=-1) |
void | setActive (int i, bool active) |
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB, usually) More... | |
void | setMaskBad128StripBlocks (bool maskThem) |
StMeasurementConditionSet (const SiStripRecHitMatcher *matcher, const StripClusterParameterEstimator *cpe) | |
const StripClusterParameterEstimator * | stripCPE () const |
unsigned char | subId (int i) const |
int | totalStrips (int i) const |
Private Attributes | |
std::vector< bool > | activeThisPeriod_ |
std::vector< bool > | bad128Strip_ |
std::vector< std::vector< BadStripBlock > > | badStripBlocks_ |
BadStripCuts | badStripCuts_ [4] |
std::vector< bool > | hasAny128StripBad_ |
std::vector< unsigned int > | id_ |
bool | maskBad128StripBlocks_ |
std::vector< unsigned char > | subId_ |
const StripClusterParameterEstimator * | theCPE |
const SiStripRecHitMatcher * | theMatcher |
std::vector< int > | totalStrips_ |
Static Private Attributes | |
static const int | nbad128 = 6 |
Friends | |
class | MeasurementTrackerImpl |
Definition at line 38 of file TkMeasurementDetSet.h.
Enumerator | |
---|---|
BadModules | |
BadAPVFibers | |
BadStrips | |
MaskBad128StripBlocks | |
BadROCs |
Definition at line 40 of file TkMeasurementDetSet.h.
|
inline |
Definition at line 61 of file TkMeasurementDetSet.h.
References init(), and findQualityFiles::size.
|
inline |
note: index is 6*detector index + offset!
Definition at line 89 of file TkMeasurementDetSet.h.
References bad128Strip_, and hltrates_dqm_sourceclient-live_cfg::offset.
|
inline |
Definition at line 90 of file TkMeasurementDetSet.h.
References bad128Strip_, and nbad128.
|
inline |
Definition at line 93 of file TkMeasurementDetSet.h.
References badStripBlocks_, and mps_fire::i.
Referenced by TkStripMeasurementDet::badStripBlocks().
|
inline |
Definition at line 83 of file TkMeasurementDetSet.h.
References badStripCuts_, mps_fire::i, and subId_.
Referenced by TkStripMeasurementDet::badStripCuts().
|
inline |
|
inline |
Definition at line 92 of file TkMeasurementDetSet.h.
References badStripBlocks_, and mps_fire::i.
Referenced by TkStripMeasurementDet::getBadStripBlocks(), and MeasurementTrackerImpl::initializeStripStatus().
|
inline |
Definition at line 86 of file TkMeasurementDetSet.h.
References hasAny128StripBad_, and mps_fire::i.
Referenced by TkStripMeasurementDet::hasAny128StripBad().
|
inline |
Definition at line 70 of file TkMeasurementDetSet.h.
References mps_fire::i, and id_.
Referenced by MeasurementTrackerImpl::initialize(), MeasurementTrackerImpl::initializeStripStatus(), and TkStripMeasurementDet::rawId().
void StMeasurementConditionSet::init | ( | int | size | ) |
Definition at line 3 of file TkMeasurementDetSet.cc.
References activeThisPeriod_, bad128Strip_, badStripBlocks_, hasAny128StripBad_, id_, subId_, and totalStrips_.
Referenced by MeasurementTrackerImpl::initStMeasurementConditionSet(), Phase2OTMeasurementConditionSet::Phase2OTMeasurementConditionSet(), PxMeasurementConditionSet::PxMeasurementConditionSet(), and StMeasurementConditionSet().
|
inline |
Definition at line 75 of file TkMeasurementDetSet.h.
References activeThisPeriod_, and mps_fire::i.
|
inline |
Definition at line 95 of file TkMeasurementDetSet.h.
References SiStripCluster::amplitudes(), bad128Strip_, SiStripCluster::barycenter(), SiStripCluster::firstStrip(), mps_fire::i, training_settings::idx, nbad128, hltrates_dqm_sourceclient-live_cfg::offset, and set128StripStatus().
Referenced by TkStripMeasurementDet::isMasked().
|
inline |
Definition at line 85 of file TkMeasurementDetSet.h.
References maskBad128StripBlocks_.
Referenced by TkStripMeasurementDet::maskBad128StripBlocks().
|
inline |
Definition at line 66 of file TkMeasurementDetSet.h.
References theMatcher.
Referenced by MeasurementTrackerImpl::addGluedDet().
|
inline |
Definition at line 69 of file TkMeasurementDetSet.h.
References id_.
Referenced by MeasurementTrackerImpl::initializeStripStatus().
void StMeasurementConditionSet::set128StripStatus | ( | int | i, |
bool | good, | ||
int | idx = -1 |
||
) |
Definition at line 14 of file TkMeasurementDetSet.cc.
References bad128Strip_, ntuplemaker::fill, hasAny128StripBad_, mps_fire::i, training_settings::idx, dqmiolumiharvest::j, nbad128, and hltrates_dqm_sourceclient-live_cfg::offset.
Referenced by MeasurementTrackerImpl::initializeStripStatus(), isMasked(), and TkStripMeasurementDet::set128StripStatus().
|
inline |
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB, usually)
Definition at line 78 of file TkMeasurementDetSet.h.
References activeThisPeriod_, and mps_fire::i.
Referenced by MeasurementTrackerImpl::initializeStripStatus(), and TkStripMeasurementDet::setActiveThisPeriod().
|
inline |
Definition at line 82 of file TkMeasurementDetSet.h.
References maskBad128StripBlocks_.
Referenced by MeasurementTrackerImpl::initializeStripStatus().
|
inline |
Definition at line 67 of file TkMeasurementDetSet.h.
References theCPE.
Referenced by MeasurementTrackerImpl::addGluedDet(), and TkStripMeasurementDet::cpe().
|
inline |
Definition at line 71 of file TkMeasurementDetSet.h.
References mps_fire::i, and subId_.
Referenced by TkStripMeasurementDet::subId().
|
inline |
Definition at line 80 of file TkMeasurementDetSet.h.
References mps_fire::i, and totalStrips_.
Referenced by TkStripMeasurementDet::totalStrips().
|
friend |
Definition at line 114 of file TkMeasurementDetSet.h.
|
private |
Definition at line 135 of file TkMeasurementDetSet.h.
Referenced by init(), PxMeasurementConditionSet::init(), Phase2OTMeasurementConditionSet::init(), isActiveThisPeriod(), PxMeasurementConditionSet::isActiveThisPeriod(), Phase2OTMeasurementConditionSet::isActiveThisPeriod(), setActive(), PxMeasurementConditionSet::setActive(), and Phase2OTMeasurementConditionSet::setActive().
|
private |
Definition at line 130 of file TkMeasurementDetSet.h.
Referenced by bad128Strip(), init(), isMasked(), and set128StripStatus().
|
private |
Definition at line 133 of file TkMeasurementDetSet.h.
Referenced by badStripBlocks(), getBadStripBlocks(), and init().
|
private |
Definition at line 121 of file TkMeasurementDetSet.h.
Referenced by badStripCuts(), and MeasurementTrackerImpl::initializeStripStatus().
|
private |
Definition at line 131 of file TkMeasurementDetSet.h.
Referenced by hasAny128StripBad(), init(), and set128StripStatus().
|
private |
Definition at line 124 of file TkMeasurementDetSet.h.
Referenced by find(), PxMeasurementConditionSet::find(), Phase2OTMeasurementConditionSet::find(), id(), PxMeasurementConditionSet::id(), Phase2OTMeasurementConditionSet::id(), init(), PxMeasurementConditionSet::init(), Phase2OTMeasurementConditionSet::init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), nDet(), PxMeasurementConditionSet::nDet(), and Phase2OTMeasurementConditionSet::nDet().
|
private |
Definition at line 120 of file TkMeasurementDetSet.h.
Referenced by maskBad128StripBlocks(), and setMaskBad128StripBlocks().
|
staticprivate |
Definition at line 129 of file TkMeasurementDetSet.h.
Referenced by bad128Strip(), isMasked(), and set128StripStatus().
|
private |
Definition at line 125 of file TkMeasurementDetSet.h.
Referenced by badStripCuts(), init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), and subId().
|
private |
Definition at line 118 of file TkMeasurementDetSet.h.
Referenced by Phase2OTMeasurementConditionSet::cpe(), PxMeasurementConditionSet::pixelCPE(), and stripCPE().
|
private |
Definition at line 117 of file TkMeasurementDetSet.h.
Referenced by matcher().
|
private |
Definition at line 127 of file TkMeasurementDetSet.h.
Referenced by init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), and totalStrips().