CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
StripClusterizerAlgorithm::Det Struct Reference

#include <StripClusterizerAlgorithm.h>

Public Member Functions

bool allBadBetween (uint16_t L, const uint16_t &R) const
 
bool bad (const uint16_t &strip) const
 
float gain (const uint16_t &strip) const
 
float noise (const uint16_t &strip) const
 
bool valid () const
 

Public Attributes

uint32_t detId = 0
 
SiStripApvGain::Range gainRange
 
unsigned short ind = invalidI
 
SiStripNoises::Range noiseRange
 
SiStripQuality const * quality
 
SiStripQuality::Range qualityRange
 

Detailed Description

Definition at line 25 of file StripClusterizerAlgorithm.h.

Member Function Documentation

◆ allBadBetween()

bool StripClusterizerAlgorithm::Det::allBadBetween ( uint16_t  L,
const uint16_t &  R 
) const
inline

Definition at line 30 of file StripClusterizerAlgorithm.h.

30  {
31  while (++L < R && bad(L)) {
32  };
33  return L == R;
34  }

References bad(), dttmaxenums::L, and dttmaxenums::R.

Referenced by ThreeThresholdAlgorithm::candidateEnded().

◆ bad()

bool StripClusterizerAlgorithm::Det::bad ( const uint16_t &  strip) const
inline

◆ gain()

float StripClusterizerAlgorithm::Det::gain ( const uint16_t &  strip) const
inline

◆ noise()

float StripClusterizerAlgorithm::Det::noise ( const uint16_t &  strip) const
inline

◆ valid()

bool StripClusterizerAlgorithm::Det::valid ( ) const
inline

Definition at line 26 of file StripClusterizerAlgorithm.h.

26 { return ind != invalidI; }

References ind, and StripClusterizerAlgorithm::invalidI.

Member Data Documentation

◆ detId

uint32_t StripClusterizerAlgorithm::Det::detId = 0

◆ gainRange

SiStripApvGain::Range StripClusterizerAlgorithm::Det::gainRange

Definition at line 36 of file StripClusterizerAlgorithm.h.

Referenced by StripClusterizerAlgorithm::findDetId(), and gain().

◆ ind

unsigned short StripClusterizerAlgorithm::Det::ind = invalidI

◆ noiseRange

SiStripNoises::Range StripClusterizerAlgorithm::Det::noiseRange

Definition at line 37 of file StripClusterizerAlgorithm.h.

Referenced by StripClusterizerAlgorithm::findDetId(), and noise().

◆ quality

SiStripQuality const* StripClusterizerAlgorithm::Det::quality

Definition at line 35 of file StripClusterizerAlgorithm.h.

Referenced by bad(), and StripClusterizerAlgorithm::findDetId().

◆ qualityRange

SiStripQuality::Range StripClusterizerAlgorithm::Det::qualityRange

Definition at line 38 of file StripClusterizerAlgorithm.h.

Referenced by bad(), and StripClusterizerAlgorithm::findDetId().

dttmaxenums::L
Definition: DTTMax.h:29
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
StripClusterizerAlgorithm::Det::noiseRange
SiStripNoises::Range noiseRange
Definition: StripClusterizerAlgorithm.h:37
SiStripGain::getStripGain
static float getStripGain(const uint16_t &strip, const SiStripApvGain::Range &range)
Definition: SiStripGain.h:73
StripClusterizerAlgorithm::Det::quality
SiStripQuality const * quality
Definition: StripClusterizerAlgorithm.h:35
StripClusterizerAlgorithm::Det::gainRange
SiStripApvGain::Range gainRange
Definition: StripClusterizerAlgorithm.h:36
StripClusterizerAlgorithm::Det::ind
unsigned short ind
Definition: StripClusterizerAlgorithm.h:40
SiStripQuality::IsStripBad
bool IsStripBad(const uint32_t &detid, const short &strip) const
Definition: SiStripQuality.cc:628
StripClusterizerAlgorithm::invalidI
static constexpr unsigned short invalidI
Definition: StripClusterizerAlgorithm.h:22
StripClusterizerAlgorithm::Det::bad
bool bad(const uint16_t &strip) const
Definition: StripClusterizerAlgorithm.h:29
SiStripNoises::getNoise
static float getNoise(uint16_t strip, const Range &range)
Definition: SiStripNoises.h:71
dttmaxenums::R
Definition: DTTMax.h:29
StripClusterizerAlgorithm::Det::qualityRange
SiStripQuality::Range qualityRange
Definition: StripClusterizerAlgorithm.h:38