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 ()
 
 SiStripRawDigi (uint16_t adc)
 
 ~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 15 of file SiStripRawDigi.h.

Constructor & Destructor Documentation

◆ SiStripRawDigi() [1/2]

SiStripRawDigi::SiStripRawDigi ( uint16_t  adc)
inlineexplicit

Definition at line 17 of file SiStripRawDigi.h.

17 : adc_(adc) {}

◆ SiStripRawDigi() [2/2]

SiStripRawDigi::SiStripRawDigi ( )
inline

Definition at line 19 of file SiStripRawDigi.h.

19 : 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 35 of file SiStripRawDigi.h.

35 { return (adc() < other.adc()); }

References adc(), and trackingPlots::other.

Member Data Documentation

◆ adc_

uint16_t SiStripRawDigi::adc_
private

Definition at line 28 of file SiStripRawDigi.h.

Referenced by adc().

SiStripRawDigi::adc_
uint16_t adc_
Definition: SiStripRawDigi.h:28
SiStripRawDigi::adc
uint16_t adc() const
Definition: SiStripRawDigi.h:22
trackingPlots.other
other
Definition: trackingPlots.py:1464