#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 | |
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 35 of file TkMeasurementDetSet.h.
Enumerator | |
---|---|
BadModules | |
BadAPVFibers | |
BadStrips | |
MaskBad128StripBlocks | |
BadROCs |
Definition at line 37 of file TkMeasurementDetSet.h.
|
inline |
Definition at line 56 of file TkMeasurementDetSet.h.
|
inline |
Definition at line 90 of file TkMeasurementDetSet.h.
References badStripBlocks_, and i.
Referenced by TkStripMeasurementDet::badStripBlocks().
|
inline |
Definition at line 84 of file TkMeasurementDetSet.h.
References badStripCuts_, i, and subId_.
Referenced by TkStripMeasurementDet::badStripCuts().
|
inline |
|
inline |
Definition at line 89 of file TkMeasurementDetSet.h.
References badStripBlocks_, and i.
Referenced by TkStripMeasurementDet::getBadStripBlocks(), and MeasurementTrackerImpl::initializeStripStatus().
|
inline |
Definition at line 87 of file TkMeasurementDetSet.h.
References hasAny128StripBad_, and i.
Referenced by TkStripMeasurementDet::hasAny128StripBad().
|
inline |
Definition at line 68 of file TkMeasurementDetSet.h.
Referenced by StMeasurementDetSet::id(), MeasurementTrackerImpl::initialize(), MeasurementTrackerImpl::initializeStripStatus(), and TkStripMeasurementDet::rawId().
void StMeasurementConditionSet::init | ( | int | size | ) |
Definition at line 7 of file TkMeasurementDetSet.cc.
References activeThisPeriod_, bad128Strip_, badStripBlocks_, hasAny128StripBad_, id_, subId_, and totalStrips_.
Referenced by MeasurementTrackerImpl::initStMeasurementConditionSet().
|
inline |
Definition at line 75 of file TkMeasurementDetSet.h.
References activeThisPeriod_, and i.
Referenced by StMeasurementDetSet::isActive().
|
inline |
Definition at line 92 of file TkMeasurementDetSet.h.
References SiStripCluster::amplitudes(), bad128Strip_, SiStripCluster::barycenter(), SiStripCluster::firstStrip(), i, nbad128, and evf::evtn::offset().
Referenced by TkStripMeasurementDet::isMasked().
|
inline |
Definition at line 86 of file TkMeasurementDetSet.h.
References maskBad128StripBlocks_.
Referenced by TkStripMeasurementDet::maskBad128StripBlocks().
|
inline |
Definition at line 63 of file TkMeasurementDetSet.h.
References theMatcher.
Referenced by MeasurementTrackerImpl::addGluedDet().
|
inline |
Definition at line 67 of file TkMeasurementDetSet.h.
References id_.
Referenced by MeasurementTrackerImpl::initializeStripStatus(), and StMeasurementDetSet::size().
void StMeasurementConditionSet::set128StripStatus | ( | int | i, |
bool | good, | ||
int | idx = -1 |
||
) |
Definition at line 19 of file TkMeasurementDetSet.cc.
References bad128Strip_, lumiContext::fill, hasAny128StripBad_, i, customizeTrackingMonitorSeedNumber::idx, j, nbad128, and evf::evtn::offset().
Referenced by MeasurementTrackerImpl::initializeStripStatus(), 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 79 of file TkMeasurementDetSet.h.
References activeThisPeriod_, and i.
Referenced by MeasurementTrackerImpl::initializeStripStatus(), and TkStripMeasurementDet::setActiveThisPeriod().
|
inline |
Definition at line 83 of file TkMeasurementDetSet.h.
References maskBad128StripBlocks_.
Referenced by MeasurementTrackerImpl::initializeStripStatus().
|
inline |
Definition at line 64 of file TkMeasurementDetSet.h.
References theCPE.
Referenced by MeasurementTrackerImpl::addGluedDet(), and TkStripMeasurementDet::cpe().
|
inline |
Definition at line 69 of file TkMeasurementDetSet.h.
Referenced by TkStripMeasurementDet::subId().
|
inline |
Definition at line 81 of file TkMeasurementDetSet.h.
References i, and totalStrips_.
Referenced by TkStripMeasurementDet::totalStrips().
|
friend |
Definition at line 113 of file TkMeasurementDetSet.h.
|
private |
Definition at line 134 of file TkMeasurementDetSet.h.
Referenced by init(), isActiveThisPeriod(), and setActive().
|
private |
Definition at line 129 of file TkMeasurementDetSet.h.
Referenced by init(), isMasked(), and set128StripStatus().
|
private |
Definition at line 132 of file TkMeasurementDetSet.h.
Referenced by badStripBlocks(), getBadStripBlocks(), and init().
|
private |
Definition at line 120 of file TkMeasurementDetSet.h.
Referenced by badStripCuts(), and MeasurementTrackerImpl::initializeStripStatus().
|
private |
Definition at line 130 of file TkMeasurementDetSet.h.
Referenced by hasAny128StripBad(), init(), and set128StripStatus().
|
private |
Definition at line 123 of file TkMeasurementDetSet.h.
Referenced by find(), id(), init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), and nDet().
|
private |
Definition at line 119 of file TkMeasurementDetSet.h.
Referenced by maskBad128StripBlocks(), and setMaskBad128StripBlocks().
|
staticprivate |
Definition at line 128 of file TkMeasurementDetSet.h.
Referenced by isMasked(), and set128StripStatus().
|
private |
Definition at line 124 of file TkMeasurementDetSet.h.
Referenced by badStripCuts(), init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), and subId().
|
private |
Definition at line 117 of file TkMeasurementDetSet.h.
Referenced by stripCPE().
|
private |
Definition at line 116 of file TkMeasurementDetSet.h.
Referenced by matcher().
|
private |
Definition at line 126 of file TkMeasurementDetSet.h.
Referenced by init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), and totalStrips().