CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
sistrip::RawToDigiUnpacker::Registry Class Reference

private class to register start and end index of digis in a collection More...

Public Member Functions

bool operator< (const Registry &other) const
 < operator to sort registries More...
 
 Registry (uint32_t aDetid, uint16_t firstStrip, size_t indexInVector, uint16_t numberOfDigis)
 constructor More...
 

Public Attributes

uint32_t detid
 public data members More...
 
uint16_t first
 
size_t index
 
uint16_t length
 

Detailed Description

private class to register start and end index of digis in a collection

Definition at line 114 of file SiStripRawToDigiUnpacker.h.

Constructor & Destructor Documentation

◆ Registry()

sistrip::RawToDigiUnpacker::Registry::Registry ( uint32_t  aDetid,
uint16_t  firstStrip,
size_t  indexInVector,
uint16_t  numberOfDigis 
)
inline

constructor

Definition at line 117 of file SiStripRawToDigiUnpacker.h.

118  : detid(aDetid), first(firstStrip), index(indexInVector), length(numberOfDigis) {}

Member Function Documentation

◆ operator<()

bool sistrip::RawToDigiUnpacker::Registry::operator< ( const Registry other) const
inline

< operator to sort registries

Definition at line 120 of file SiStripRawToDigiUnpacker.h.

120  {
121  return (detid != other.detid ? detid < other.detid : first < other.first);
122  }

References dqmdumpme::first, and trackingPlots::other.

Member Data Documentation

◆ detid

uint32_t sistrip::RawToDigiUnpacker::Registry::detid

public data members

Definition at line 124 of file SiStripRawToDigiUnpacker.h.

◆ first

uint16_t sistrip::RawToDigiUnpacker::Registry::first

Definition at line 125 of file SiStripRawToDigiUnpacker.h.

◆ index

size_t sistrip::RawToDigiUnpacker::Registry::index

Definition at line 126 of file SiStripRawToDigiUnpacker.h.

Referenced by BeautifulSoup.PageElement::insert().

◆ length

uint16_t sistrip::RawToDigiUnpacker::Registry::length

Definition at line 127 of file SiStripRawToDigiUnpacker.h.

sistrip::RawToDigiUnpacker::Registry::index
size_t index
Definition: SiStripRawToDigiUnpacker.h:126
sistrip::RawToDigiUnpacker::Registry::first
uint16_t first
Definition: SiStripRawToDigiUnpacker.h:125
trackingPlots.other
other
Definition: trackingPlots.py:1465
sistrip::RawToDigiUnpacker::Registry::length
uint16_t length
Definition: SiStripRawToDigiUnpacker.h:127
sistrip::RawToDigiUnpacker::Registry::detid
uint32_t detid
public data members
Definition: SiStripRawToDigiUnpacker.h:124