CMS 3D CMS Logo

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 <DataFormats/SiStripDigi/interface/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 11 of file SiStripDigi.h.


Constructor & Destructor Documentation

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

Definition at line 15 of file SiStripDigi.h.

00016                                    : 
00017     strip_(strip), 
00018     adc_(adc) {;}

SiStripDigi::SiStripDigi (  )  [inline]

Definition at line 20 of file SiStripDigi.h.

00020 : strip_(0), adc_(0) {;}

SiStripDigi::~SiStripDigi (  )  [inline]

Definition at line 21 of file SiStripDigi.h.

00021 {;}


Member Function Documentation

const uint16_t & SiStripDigi::adc (  )  const [inline]

Definition at line 44 of file SiStripDigi.h.

References adc_.

Referenced by LaserDQM::fillAdcCounts(), AboveSeed::operator()(), and operator<<().

00044 { return adc_; }

const uint16_t & SiStripDigi::channel (  )  const [inline]

Definition at line 45 of file SiStripDigi.h.

References strip().

Referenced by LaserDQM::fillAdcCounts().

00045 { return strip(); }

bool SiStripDigi::operator< ( const SiStripDigi other  )  const [inline]

Definition at line 46 of file SiStripDigi.h.

References strip().

00046 { return strip() < other.strip(); }

const uint16_t & SiStripDigi::strip (  )  const [inline]

Definition at line 43 of file SiStripDigi.h.

References strip_.

Referenced by channel(), edm::DataMixingSiStripWorker::StrictWeakOrdering::operator()(), AboveSeed::operator()(), operator<(), operator<<(), and VisCuTrackerDigi::update().

00043 { return strip_; }


Member Data Documentation

uint16_t SiStripDigi::adc_ [private]

Definition at line 32 of file SiStripDigi.h.

Referenced by adc().

uint16_t SiStripDigi::strip_ [private]

Definition at line 31 of file SiStripDigi.h.

Referenced by strip().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:32:19 2009 for CMSSW by  doxygen 1.5.4