CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SiStripDigi Class Reference

A Digi for the silicon strip detector, containing both strip and adc information, and suitable for storing zero-suppresed hit information. More...

#include <SiStripDigi.h>

Public Member Functions

const uint16_t & adc () const
 
const uint16_t & channel () const
 
bool operator< (const SiStripDigi &other) const
 
 SiStripDigi (const uint16_t &strip, const uint16_t &adc)
 
 SiStripDigi ()
 
const uint16_t & strip () const
 
 ~SiStripDigi ()
 

Private Attributes

uint16_t adc_
 
uint16_t strip_
 

Detailed Description

A Digi for the silicon strip detector, containing both strip and adc information, and suitable for storing zero-suppresed hit information.

Definition at line 12 of file SiStripDigi.h.

Constructor & Destructor Documentation

SiStripDigi::SiStripDigi ( const uint16_t &  strip,
const uint16_t &  adc 
)
inline

Definition at line 14 of file SiStripDigi.h.

14 : strip_(strip), adc_(adc) { ; }
const uint16_t & strip() const
Definition: SiStripDigi.h:33
uint16_t strip_
Definition: SiStripDigi.h:26
uint16_t adc_
Definition: SiStripDigi.h:27
const uint16_t & adc() const
Definition: SiStripDigi.h:34
SiStripDigi::SiStripDigi ( )
inline

Definition at line 16 of file SiStripDigi.h.

16 : strip_(0), adc_(0) { ; }
uint16_t strip_
Definition: SiStripDigi.h:26
uint16_t adc_
Definition: SiStripDigi.h:27
SiStripDigi::~SiStripDigi ( )
inline

Definition at line 17 of file SiStripDigi.h.

References adc(), channel(), operator<(), trackingPlots::other, and strip().

17 { ; }

Member Function Documentation

const uint16_t & SiStripDigi::adc ( ) const
inline
const uint16_t & SiStripDigi::channel ( ) const
inline

Definition at line 35 of file SiStripDigi.h.

References strip().

Referenced by LaserDQM::fillAdcCounts(), and ~SiStripDigi().

35 { return strip(); }
const uint16_t & strip() const
Definition: SiStripDigi.h:33
bool SiStripDigi::operator< ( const SiStripDigi other) const
inline

Definition at line 36 of file SiStripDigi.h.

References strip().

Referenced by ~SiStripDigi().

36 { return strip() < other.strip(); }
const uint16_t & strip() const
Definition: SiStripDigi.h:33
const uint16_t & SiStripDigi::strip ( ) const
inline

Member Data Documentation

uint16_t SiStripDigi::adc_
private

Definition at line 27 of file SiStripDigi.h.

Referenced by adc().

uint16_t SiStripDigi::strip_
private

Definition at line 26 of file SiStripDigi.h.

Referenced by strip().