#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 40 of file TkMeasurementDetSet.h.
Enumerator | |
---|---|
BadModules | |
BadAPVFibers | |
BadStrips | |
MaskBad128StripBlocks | |
BadROCs |
Definition at line 42 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 95 of file TkMeasurementDetSet.h.
References bad128Strip_, and PFRecoTauDiscriminationByIsolation_cfi::offset.
|
inline |
Definition at line 96 of file TkMeasurementDetSet.h.
References bad128Strip_, and nbad128.
|
inline |
Definition at line 99 of file TkMeasurementDetSet.h.
References badStripBlocks_, and mps_fire::i.
Referenced by TkStripMeasurementDet::badStripBlocks().
|
inline |
Definition at line 89 of file TkMeasurementDetSet.h.
References badStripCuts_, mps_fire::i, and subId_.
Referenced by TkStripMeasurementDet::badStripCuts().
|
inline |
|
inline |
Definition at line 98 of file TkMeasurementDetSet.h.
References badStripBlocks_, and mps_fire::i.
Referenced by TkStripMeasurementDet::getBadStripBlocks(), and MeasurementTrackerImpl::initializeStripStatus().
|
inline |
Definition at line 92 of file TkMeasurementDetSet.h.
References hasAny128StripBad_, and mps_fire::i.
Referenced by TkStripMeasurementDet::hasAny128StripBad().
|
inline |
Definition at line 73 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 80 of file TkMeasurementDetSet.h.
References activeThisPeriod_, and mps_fire::i.
|
inline |
Definition at line 101 of file TkMeasurementDetSet.h.
References SiStripCluster::amplitudes(), bad128Strip_, SiStripCluster::barycenter(), SiStripCluster::firstStrip(), mps_fire::i, training_settings::idx, nbad128, PFRecoTauDiscriminationByIsolation_cfi::offset, and set128StripStatus().
Referenced by TkStripMeasurementDet::isMasked().
|
inline |
Definition at line 91 of file TkMeasurementDetSet.h.
References maskBad128StripBlocks_.
Referenced by TkStripMeasurementDet::maskBad128StripBlocks().
|
inline |
Definition at line 68 of file TkMeasurementDetSet.h.
References theMatcher.
Referenced by MeasurementTrackerImpl::addGluedDet().
|
inline |
Definition at line 72 of file TkMeasurementDetSet.h.
References id_.
Referenced by MeasurementTrackerImpl::initializeStripStatus().
void StMeasurementConditionSet::set128StripStatus | ( | int | i, |
bool | good, | ||
int | idx = -1 |
||
) |
Definition at line 15 of file TkMeasurementDetSet.cc.
References bad128Strip_, lumiContext::fill, hasAny128StripBad_, mps_fire::i, training_settings::idx, nbad128, and PFRecoTauDiscriminationByIsolation_cfi::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 84 of file TkMeasurementDetSet.h.
References activeThisPeriod_, and mps_fire::i.
Referenced by MeasurementTrackerImpl::initializeStripStatus(), and TkStripMeasurementDet::setActiveThisPeriod().
|
inline |
Definition at line 88 of file TkMeasurementDetSet.h.
References maskBad128StripBlocks_.
Referenced by MeasurementTrackerImpl::initializeStripStatus().
|
inline |
Definition at line 69 of file TkMeasurementDetSet.h.
References theCPE.
Referenced by MeasurementTrackerImpl::addGluedDet(), and TkStripMeasurementDet::cpe().
|
inline |
Definition at line 74 of file TkMeasurementDetSet.h.
References mps_fire::i, and subId_.
Referenced by TkStripMeasurementDet::subId().
|
inline |
Definition at line 86 of file TkMeasurementDetSet.h.
References mps_fire::i, and totalStrips_.
Referenced by TkStripMeasurementDet::totalStrips().
|
friend |
Definition at line 122 of file TkMeasurementDetSet.h.
|
private |
Definition at line 143 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 138 of file TkMeasurementDetSet.h.
Referenced by bad128Strip(), init(), isMasked(), and set128StripStatus().
|
private |
Definition at line 141 of file TkMeasurementDetSet.h.
Referenced by badStripBlocks(), getBadStripBlocks(), and init().
|
private |
Definition at line 129 of file TkMeasurementDetSet.h.
Referenced by badStripCuts(), and MeasurementTrackerImpl::initializeStripStatus().
|
private |
Definition at line 139 of file TkMeasurementDetSet.h.
Referenced by hasAny128StripBad(), init(), and set128StripStatus().
|
private |
Definition at line 132 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 128 of file TkMeasurementDetSet.h.
Referenced by maskBad128StripBlocks(), and setMaskBad128StripBlocks().
|
staticprivate |
Definition at line 137 of file TkMeasurementDetSet.h.
Referenced by bad128Strip(), isMasked(), and set128StripStatus().
|
private |
Definition at line 133 of file TkMeasurementDetSet.h.
Referenced by badStripCuts(), init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), and subId().
|
private |
Definition at line 126 of file TkMeasurementDetSet.h.
Referenced by Phase2OTMeasurementConditionSet::cpe(), PxMeasurementConditionSet::pixelCPE(), and stripCPE().
|
private |
Definition at line 125 of file TkMeasurementDetSet.h.
Referenced by matcher().
|
private |
Definition at line 135 of file TkMeasurementDetSet.h.
Referenced by init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), and totalStrips().