#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.
|
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_, nbad128, and digitizers_cfi::strip.
|
inline |
Definition at line 93 of file TkMeasurementDetSet.h.
References badStripBlocks_, and mps_fire::i.
|
inline |
Definition at line 83 of file TkMeasurementDetSet.h.
References badStripCuts_, mps_fire::i, and subId_.
|
inline |
Definition at line 73 of file TkMeasurementDetSet.h.
References mps_fire::i, id_, and pfDeepBoostedJetPreprocessParams_cfi::lower_bound.
Referenced by StMeasurementDetSet::find().
|
inline |
Definition at line 92 of file TkMeasurementDetSet.h.
References badStripBlocks_, and mps_fire::i.
Referenced by MeasurementTrackerImpl::initializeStripStatus().
|
inline |
Definition at line 86 of file TkMeasurementDetSet.h.
References hasAny128StripBad_, and mps_fire::i.
|
inline |
Definition at line 70 of file TkMeasurementDetSet.h.
References mps_fire::i, and id_.
Referenced by StMeasurementDetSet::id(), MeasurementTrackerImpl::initialize(), and MeasurementTrackerImpl::initializeStripStatus().
void StMeasurementConditionSet::init | ( | int | size | ) |
Definition at line 3 of file TkMeasurementDetSet.cc.
References activeThisPeriod_, bad128Strip_, badStripBlocks_, hasAny128StripBad_, id_, findQualityFiles::size, subId_, and totalStrips_.
Referenced by MeasurementTrackerImpl::initStMeasurementConditionSet().
|
inline |
Definition at line 75 of file TkMeasurementDetSet.h.
References activeThisPeriod_, and mps_fire::i.
Referenced by StMeasurementDetSet::isActive().
|
inline |
Definition at line 95 of file TkMeasurementDetSet.h.
References SiStripCluster::amplitudes(), bad128Strip_, SiStripCluster::barycenter(), SiStripCluster::firstStrip(), mps_fire::i, nbad128, hltrates_dqm_sourceclient-live_cfg::offset, and SiStripCluster::size().
|
inline |
Definition at line 85 of file TkMeasurementDetSet.h.
References 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(), and StMeasurementDetSet::size().
void StMeasurementConditionSet::set128StripStatus | ( | int | i, |
bool | good, | ||
int | idx = -1 |
||
) |
Definition at line 14 of file TkMeasurementDetSet.cc.
References bad128Strip_, ntuplemaker::fill, good, hasAny128StripBad_, mps_fire::i, heavyIonCSV_trainingSettings::idx, dqmiolumiharvest::j, nbad128, and hltrates_dqm_sourceclient-live_cfg::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 78 of file TkMeasurementDetSet.h.
References activeThisPeriod_, and mps_fire::i.
Referenced by MeasurementTrackerImpl::initializeStripStatus().
|
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().
|
inline |
Definition at line 71 of file TkMeasurementDetSet.h.
References mps_fire::i, and subId_.
|
inline |
Definition at line 80 of file TkMeasurementDetSet.h.
References mps_fire::i, and totalStrips_.
|
friend |
Definition at line 114 of file TkMeasurementDetSet.h.
|
private |
Definition at line 135 of file TkMeasurementDetSet.h.
Referenced by init(), isActiveThisPeriod(), and 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(), id(), init(), MeasurementTrackerImpl::initStMeasurementConditionSet(), and 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 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().