CMS 3D CMS Logo

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>

List of all members.

Public Member Functions

const uint16_t & adc () const
const uint16_t & channel () const
bool operator< (const SiStripDigi &other) const
 SiStripDigi ()
 SiStripDigi (const uint16_t &strip, const uint16_t &adc)
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.

                                   : 
    strip_(strip), 
    adc_(adc) {;}
SiStripDigi::SiStripDigi ( ) [inline]

Definition at line 21 of file SiStripDigi.h.

: strip_(0), adc_(0) {;}
SiStripDigi::~SiStripDigi ( ) [inline]

Definition at line 22 of file SiStripDigi.h.

{;}

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

{ return strip(); }
bool SiStripDigi::operator< ( const SiStripDigi other) const [inline]

Definition at line 43 of file SiStripDigi.h.

References strip().

{ return strip() < other.strip(); }
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().