CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 15 of file SiStripRawDigi.h.

Constructor & Destructor Documentation

SiStripRawDigi::SiStripRawDigi ( uint16_t  adc)
inlineexplicit

Definition at line 17 of file SiStripRawDigi.h.

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

Definition at line 19 of file SiStripRawDigi.h.

19 : adc_(0) {}
SiStripRawDigi::~SiStripRawDigi ( )
default

Member Function Documentation

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

Not used! (even if implementation is required).

Definition at line 35 of file SiStripRawDigi.h.

References adc().

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

Member Data Documentation

uint16_t SiStripRawDigi::adc_
private

Definition at line 28 of file SiStripRawDigi.h.

Referenced by adc().