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

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

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

Constructor & Destructor Documentation

◆ SiStripRawDigi() [1/2]

SiStripRawDigi::SiStripRawDigi ( uint16_t  adc)
inlineexplicit

Definition at line 18 of file SiStripRawDigi.h.

18 : adc_(adc) {}
uint16_t adc() const

◆ SiStripRawDigi() [2/2]

SiStripRawDigi::SiStripRawDigi ( )
inline

Definition at line 20 of file SiStripRawDigi.h.

20 : adc_(0) {}

◆ ~SiStripRawDigi()

SiStripRawDigi::~SiStripRawDigi ( )
default

Member Function Documentation

◆ adc()

uint16_t SiStripRawDigi::adc ( ) const
inline

◆ operator<()

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(), and trackingPlots::other.

36 { return (adc() < other.adc()); }
uint16_t adc() const

Member Data Documentation

◆ adc_

uint16_t SiStripRawDigi::adc_
private

Definition at line 29 of file SiStripRawDigi.h.

Referenced by adc().