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.

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

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

◆ bad()

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

◆ noise()

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

Definition at line 18 of file SiStripClusterizerConditions.h.

References SiStripNoises::getNoise(), noiseRange, and nano_mu_digi_cff::strip.

static float getNoise(uint16_t strip, const Range &range)
Definition: SiStripNoises.h:72

◆ rawNoise()

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

Definition at line 17 of file SiStripClusterizerConditions.h.

References SiStripNoises::getRawNoise(), noiseRange, and nano_mu_digi_cff::strip.

static float getRawNoise(const uint16_t &strip, const Range &range)
Definition: SiStripNoises.h:65

◆ valid()

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

Definition at line 16 of file SiStripClusterizerConditions.h.

References ind, and SiStripClusterizerConditions::invalidI.

16 { return ind != invalidI; }
static constexpr unsigned short invalidI

◆ weight()

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

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().