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 ()
 
 SiStripDigi (const uint16_t &strip, const uint16_t &adc)
 
const uint16_t & strip () const
 
 ~SiStripDigi ()=default
 

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() [1/2]

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

Definition at line 14 of file SiStripDigi.h.

14 : strip_(strip), adc_(adc) { ; }

◆ SiStripDigi() [2/2]

SiStripDigi::SiStripDigi ( )
inline

Definition at line 16 of file SiStripDigi.h.

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

◆ ~SiStripDigi()

SiStripDigi::~SiStripDigi ( )
default

Member Function Documentation

◆ adc()

const uint16_t & SiStripDigi::adc ( ) const
inline

◆ channel()

const uint16_t & SiStripDigi::channel ( ) const
inline

Definition at line 35 of file SiStripDigi.h.

35 { return strip(); }

References strip().

Referenced by LaserDQM::fillAdcCounts().

◆ operator<()

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

Definition at line 36 of file SiStripDigi.h.

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

References trackingPlots::other, and strip().

◆ strip()

const uint16_t & SiStripDigi::strip ( ) const
inline

Member Data Documentation

◆ adc_

uint16_t SiStripDigi::adc_
private

Definition at line 27 of file SiStripDigi.h.

Referenced by adc().

◆ strip_

uint16_t SiStripDigi::strip_
private

Definition at line 26 of file SiStripDigi.h.

Referenced by strip().

SiStripDigi::adc
const uint16_t & adc() const
Definition: SiStripDigi.h:34
trackingPlots.other
other
Definition: trackingPlots.py:1460
SiStripDigi::strip
const uint16_t & strip() const
Definition: SiStripDigi.h:33
SiStripDigi::strip_
uint16_t strip_
Definition: SiStripDigi.h:26
SiStripDigi::adc_
uint16_t adc_
Definition: SiStripDigi.h:27