test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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

Definition at line 30 of file StripClusterizerAlgorithm.h.

References bad(), and dttmaxenums::R.

Referenced by ThreeThresholdAlgorithm::candidateEnded().

30 { while( ++L < R && bad(L) ); return L == R; }
bool bad(const uint16_t &strip) const
bool StripClusterizerAlgorithm::Det::bad ( const uint16_t &  strip) const
inline

Definition at line 29 of file StripClusterizerAlgorithm.h.

References SiStripQuality::IsStripBad(), quality, and qualityRange.

Referenced by ThreeThresholdAlgorithm::addToCandidate(), allBadBetween(), and ThreeThresholdAlgorithm::appendBadNeighbors().

29 { return quality->IsStripBad( qualityRange, strip ); }
bool IsStripBad(const uint32_t &detid, const short &strip) const
float StripClusterizerAlgorithm::Det::gain ( const uint16_t &  strip) const
inline

Definition at line 28 of file StripClusterizerAlgorithm.h.

References gainRange, and SiStripGain::getStripGain().

Referenced by ThreeThresholdAlgorithm::applyGains().

28 { return SiStripGain::getStripGain( strip, gainRange ); }
static float getStripGain(const uint16_t &strip, const SiStripApvGain::Range &range)
Definition: SiStripGain.h:68
float StripClusterizerAlgorithm::Det::noise ( const uint16_t &  strip) const
inline

Definition at line 27 of file StripClusterizerAlgorithm.h.

References SiStripNoises::getNoise(), and noiseRange.

Referenced by ThreeThresholdAlgorithm::addToCandidate().

27 { return SiStripNoises::getNoise( strip, noiseRange ); }
static float getNoise(uint16_t strip, const Range &range)
Definition: SiStripNoises.h:74
bool StripClusterizerAlgorithm::Det::valid ( ) const
inline

Definition at line 26 of file StripClusterizerAlgorithm.h.

References ind, and StripClusterizerAlgorithm::invalidI.

26 { return ind!=invalidI; }

Member Data Documentation

uint32_t StripClusterizerAlgorithm::Det::detId =0
SiStripApvGain::Range StripClusterizerAlgorithm::Det::gainRange

Definition at line 32 of file StripClusterizerAlgorithm.h.

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

unsigned short StripClusterizerAlgorithm::Det::ind =invalidI
SiStripNoises::Range StripClusterizerAlgorithm::Det::noiseRange

Definition at line 33 of file StripClusterizerAlgorithm.h.

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

SiStripQuality const* StripClusterizerAlgorithm::Det::quality

Definition at line 31 of file StripClusterizerAlgorithm.h.

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

SiStripQuality::Range StripClusterizerAlgorithm::Det::qualityRange

Definition at line 34 of file StripClusterizerAlgorithm.h.

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