CMS 3D CMS Logo

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

#include <SiStripClusterizerConditions.h>

Public Member Functions

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

Public Attributes

uint32_t detId = 0
 
unsigned short ind = invalidI
 
float m_weight [6]
 
SiStripNoises::Range noiseRange
 
SiStripQuality const * quality
 
SiStripQuality::Range qualityRange
 

Detailed Description

Definition at line 15 of file SiStripClusterizerConditions.h.

Member Function Documentation

◆ allBadBetween()

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

Definition at line 21 of file SiStripClusterizerConditions.h.

21  {
22  while (++L < R && bad(L)) {
23  };
24  return L == R;
25  }

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

◆ bad()

bool SiStripClusterizerConditions::Det::bad ( const uint16_t  strip) const
inline

◆ noise()

float SiStripClusterizerConditions::Det::noise ( const uint16_t  strip) const
inline

◆ rawNoise()

uint16_t SiStripClusterizerConditions::Det::rawNoise ( const uint16_t  strip) const
inline

◆ valid()

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

Definition at line 16 of file SiStripClusterizerConditions.h.

16 { return ind != invalidI; }

References ind, and SiStripClusterizerConditions::invalidI.

◆ weight()

float SiStripClusterizerConditions::Det::weight ( const uint16_t  strip) const
inline

Definition at line 19 of file SiStripClusterizerConditions.h.

19 { return m_weight[strip / 128]; }

References m_weight, and digitizers_cfi::strip.

Member Data Documentation

◆ detId

uint32_t SiStripClusterizerConditions::Det::detId = 0

Definition at line 30 of file SiStripClusterizerConditions.h.

◆ ind

unsigned short SiStripClusterizerConditions::Det::ind = invalidI

◆ m_weight

float SiStripClusterizerConditions::Det::m_weight[6]

Definition at line 29 of file SiStripClusterizerConditions.h.

Referenced by weight().

◆ noiseRange

SiStripNoises::Range SiStripClusterizerConditions::Det::noiseRange

Definition at line 27 of file SiStripClusterizerConditions.h.

Referenced by noise(), and rawNoise().

◆ quality

SiStripQuality const* SiStripClusterizerConditions::Det::quality

Definition at line 26 of file SiStripClusterizerConditions.h.

Referenced by bad().

◆ qualityRange

SiStripQuality::Range SiStripClusterizerConditions::Det::qualityRange

Definition at line 28 of file SiStripClusterizerConditions.h.

Referenced by bad().

SiStripClusterizerConditions::Det::quality
SiStripQuality const * quality
Definition: SiStripClusterizerConditions.h:26
dttmaxenums::L
Definition: DTTMax.h:29
SiStripClusterizerConditions::Det::noiseRange
SiStripNoises::Range noiseRange
Definition: SiStripClusterizerConditions.h:27
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
SiStripClusterizerConditions::Det::qualityRange
SiStripQuality::Range qualityRange
Definition: SiStripClusterizerConditions.h:28
SiStripClusterizerConditions::Det::m_weight
float m_weight[6]
Definition: SiStripClusterizerConditions.h:29
SiStripClusterizerConditions::invalidI
static constexpr unsigned short invalidI
Definition: SiStripClusterizerConditions.h:13
SiStripNoises::getRawNoise
static float getRawNoise(const uint16_t &strip, const Range &range)
Definition: SiStripNoises.h:66
SiStripQuality::IsStripBad
bool IsStripBad(const uint32_t &detid, const short &strip) const
Definition: SiStripQuality.cc:582
SiStripClusterizerConditions::Det::bad
bool bad(const uint16_t strip) const
Definition: SiStripClusterizerConditions.h:20
SiStripClusterizerConditions::Det::ind
unsigned short ind
Definition: SiStripClusterizerConditions.h:31
SiStripNoises::getNoise
static float getNoise(uint16_t strip, const Range &range)
Definition: SiStripNoises.h:73
dttmaxenums::R
Definition: DTTMax.h:29