CMS 3D CMS Logo

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

A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw hit information. NOTA BENE: these digis use the DetSetVector, but the public inheritence from edm::DoNotSortUponInsertion ensures that the digis are NOT sorted by the DetSetVector::post_insert() method. The strip position is therefore inferred from the position of the digi within its container (the DetSet private vector). More...

#include <SiStripRawDigi.h>

Inheritance diagram for SiStripRawDigi:
edm::DoNotSortUponInsertion

Public Member Functions

const uint16_t & adc () const
 
bool operator< (const SiStripRawDigi &other) const
 
 SiStripRawDigi (const uint16_t &adc)
 
 SiStripRawDigi ()
 
 ~SiStripRawDigi ()
 

Private Attributes

uint16_t adc_
 

Detailed Description

A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw hit information. NOTA BENE: these digis use the DetSetVector, but the public inheritence from edm::DoNotSortUponInsertion ensures that the digis are NOT sorted by the DetSetVector::post_insert() method. The strip position is therefore inferred from the position of the digi within its container (the DetSet private vector).

Definition at line 15 of file SiStripRawDigi.h.

Constructor & Destructor Documentation

SiStripRawDigi::SiStripRawDigi ( const uint16_t &  adc)
inline

Definition at line 17 of file SiStripRawDigi.h.

17 : adc_(adc) { ; }
const uint16_t & adc() const
SiStripRawDigi::SiStripRawDigi ( )
inline

Definition at line 19 of file SiStripRawDigi.h.

19 : adc_(0) { ; }
SiStripRawDigi::~SiStripRawDigi ( )
inline

Definition at line 20 of file SiStripRawDigi.h.

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

20 { ; }

Member Function Documentation

const uint16_t & SiStripRawDigi::adc ( ) const
inline
bool SiStripRawDigi::operator< ( const SiStripRawDigi other) const
inline

Not used! (even if implementation is required).

Definition at line 36 of file SiStripRawDigi.h.

References adc().

Referenced by ~SiStripRawDigi().

36 { return (this->adc() < other.adc()); }
const uint16_t & adc() const

Member Data Documentation

uint16_t SiStripRawDigi::adc_
private

Definition at line 28 of file SiStripRawDigi.h.

Referenced by adc().