CMS 3D CMS Logo

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

A signed Digi for the silicon strip detector, containing only adc information, and suitable for storing processed (pedestal, cmn subtracted) 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 <SiStripProcessedRawDigi.h>

Inheritance diagram for SiStripProcessedRawDigi:
edm::DoNotSortUponInsertion

Public Member Functions

const float & adc () const
 
bool operator< (const SiStripProcessedRawDigi &other) const
 
 SiStripProcessedRawDigi ()
 
 SiStripProcessedRawDigi (const float &adc)
 
 ~SiStripProcessedRawDigi ()
 

Private Attributes

float adc_
 

Detailed Description

A signed Digi for the silicon strip detector, containing only adc information, and suitable for storing processed (pedestal, cmn subtracted) 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 SiStripProcessedRawDigi.h.

Constructor & Destructor Documentation

◆ SiStripProcessedRawDigi() [1/2]

SiStripProcessedRawDigi::SiStripProcessedRawDigi ( const float &  adc)
inline

Definition at line 18 of file SiStripProcessedRawDigi.h.

18 : adc_(adc) { ; }

◆ SiStripProcessedRawDigi() [2/2]

SiStripProcessedRawDigi::SiStripProcessedRawDigi ( )
inline

Definition at line 20 of file SiStripProcessedRawDigi.h.

20 : adc_(0) { ; }

◆ ~SiStripProcessedRawDigi()

SiStripProcessedRawDigi::~SiStripProcessedRawDigi ( )
inline

Definition at line 21 of file SiStripProcessedRawDigi.h.

21 { ; }

Member Function Documentation

◆ adc()

const float & SiStripProcessedRawDigi::adc ( ) const
inline

Definition at line 36 of file SiStripProcessedRawDigi.h.

36 { return adc_; }

References adc_.

Referenced by SiStripAPVRestorer::createCMMapCMstored(), operator<(), and operator<<().

◆ operator<()

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

Not used! (even if implementation is required).

Definition at line 37 of file SiStripProcessedRawDigi.h.

37  {
38  return (this->adc() < other.adc());
39 }

References adc().

Member Data Documentation

◆ adc_

float SiStripProcessedRawDigi::adc_
private

Definition at line 29 of file SiStripProcessedRawDigi.h.

Referenced by adc().

SiStripProcessedRawDigi::adc_
float adc_
Definition: SiStripProcessedRawDigi.h:29
SiStripProcessedRawDigi::adc
const float & adc() const
Definition: SiStripProcessedRawDigi.h:36