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.

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.

References first, and trackingPlots::other.

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

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.

◆ length

uint16_t sistrip::RawToDigiUnpacker::Registry::length

Definition at line 127 of file SiStripRawToDigiUnpacker.h.