#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 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 |
note: index is 6*detector index + offset!
Definition at line 90 of file TkMeasurementDetSet.h.
References bad128Strip_, and unpackBuffers-CaloStage2::offset.
|
inline |
Definition at line 91 of file TkMeasurementDetSet.h.
References bad128Strip_, and nbad128.
|
inline |
Definition at line 94 of file TkMeasurementDetSet.h.
References badStripBlocks_, and i.
|
inline |
Definition at line 84 of file TkMeasurementDetSet.h.
References badStripCuts_, i, and subId_.
|
inline |
|
inline |
Definition at line 93 of file TkMeasurementDetSet.h.
References badStripBlocks_, and i.
Referenced by MeasurementTrackerImpl::initializeStripStatus().
|
inline |
Definition at line 87 of file TkMeasurementDetSet.h.
References hasAny128StripBad_, and i.
|
inline |
Definition at line 68 of file TkMeasurementDetSet.h.
Referenced by StMeasurementDetSet::id(), MeasurementTrackerImpl::initialize(), and MeasurementTrackerImpl::initializeStripStatus().
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 96 of file TkMeasurementDetSet.h.
References SiStripCluster::amplitudes(), bad128Strip_, SiStripCluster::barycenter(), SiStripCluster::firstStrip(), i, nbad128, and unpackBuffers-CaloStage2::offset.
|
inline |
Definition at line 86 of file TkMeasurementDetSet.h.
References 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 unpackBuffers-CaloStage2::offset.
Referenced by MeasurementTrackerImpl::initializeStripStatus().
|
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().
|
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().
|
inline |
Definition at line 69 of file TkMeasurementDetSet.h.
|
inline |
Definition at line 81 of file TkMeasurementDetSet.h.
References i, and totalStrips_.
|
friend |
Definition at line 117 of file TkMeasurementDetSet.h.
|
private |
Definition at line 138 of file TkMeasurementDetSet.h.
Referenced by init(), isActiveThisPeriod(), and setActive().
|
private |
Definition at line 133 of file TkMeasurementDetSet.h.
Referenced by bad128Strip(), init(), isMasked(), and set128StripStatus().
|
private |
Definition at line 136 of file TkMeasurementDetSet.h.
Referenced by badStripBlocks(), getBadStripBlocks(), and init().
|
private |
Definition at line 124 of file TkMeasurementDetSet.h.
Referenced by badStripCuts(), and MeasurementTrackerImpl::initializeStripStatus().
|
private |
Definition at line 134 of file TkMeasurementDetSet.h.
Referenced by hasAny128StripBad(), init(), and set128StripStatus().
|
private |
Definition at line 127 of file TkMeasurementDetSet.h.
Referenced by find(), id(), init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), and nDet().
|
private |
Definition at line 123 of file TkMeasurementDetSet.h.
Referenced by maskBad128StripBlocks(), and setMaskBad128StripBlocks().
|
staticprivate |
Definition at line 132 of file TkMeasurementDetSet.h.
Referenced by bad128Strip(), isMasked(), and set128StripStatus().
|
private |
Definition at line 128 of file TkMeasurementDetSet.h.
Referenced by badStripCuts(), init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), and subId().
|
private |
Definition at line 121 of file TkMeasurementDetSet.h.
Referenced by stripCPE().
|
private |
Definition at line 120 of file TkMeasurementDetSet.h.
Referenced by matcher().
|
private |
Definition at line 130 of file TkMeasurementDetSet.h.
Referenced by init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), and totalStrips().