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 | 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 16 of file SiStripDigi.h.

17  :
18  strip_(strip),
19  adc_(adc) {;}
const uint16_t & strip() const
Definition: SiStripDigi.h:40
uint16_t strip_
Definition: SiStripDigi.h:32
uint16_t adc_
Definition: SiStripDigi.h:33
const uint16_t & adc() const
Definition: SiStripDigi.h:41
SiStripDigi::SiStripDigi ( )
inline

Definition at line 21 of file SiStripDigi.h.

21 : strip_(0), adc_(0) {;}
uint16_t strip_
Definition: SiStripDigi.h:32
uint16_t adc_
Definition: SiStripDigi.h:33
SiStripDigi::~SiStripDigi ( )
inline

Definition at line 22 of file SiStripDigi.h.

22 {;}

Member Function Documentation

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

Definition at line 42 of file SiStripDigi.h.

References strip().

Referenced by LaserDQM::fillAdcCounts().

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

Definition at line 43 of file SiStripDigi.h.

References strip().

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

Member Data Documentation

uint16_t SiStripDigi::adc_
private

Definition at line 33 of file SiStripDigi.h.

Referenced by adc().

uint16_t SiStripDigi::strip_
private

Definition at line 32 of file SiStripDigi.h.

Referenced by strip().