CMS 3D CMS Logo

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

#include <GEMDigiSimLink.h>

Public Member Functions

 GEMDigiSimLink (uint16_t strip, int8_t bx, int16_t particleType, uint32_t trackId, EncodedEventId eventId)
 
 GEMDigiSimLink ()
 
int getBx () const
 
EncodedEventId getEventId () const
 
int getParticleType () const
 
unsigned int getStrip () const
 
unsigned int getTrackId () const
 
bool operator< (const GEMDigiSimLink &other) const
 
 ~GEMDigiSimLink ()
 

Private Attributes

int8_t bx_
 
EncodedEventId eventId_
 
int16_t particleType_
 
uint16_t strip_
 
uint32_t trackId_
 

Detailed Description

Definition at line 9 of file GEMDigiSimLink.h.

Constructor & Destructor Documentation

◆ GEMDigiSimLink() [1/2]

GEMDigiSimLink::GEMDigiSimLink ( uint16_t  strip,
int8_t  bx,
int16_t  particleType,
uint32_t  trackId,
EncodedEventId  eventId 
)
inline

◆ GEMDigiSimLink() [2/2]

GEMDigiSimLink::GEMDigiSimLink ( )
inline

Definition at line 19 of file GEMDigiSimLink.h.

19 {}

◆ ~GEMDigiSimLink()

GEMDigiSimLink::~GEMDigiSimLink ( )
inline

Definition at line 20 of file GEMDigiSimLink.h.

20 {}

Member Function Documentation

◆ getBx()

int GEMDigiSimLink::getBx ( ) const
inline

Definition at line 23 of file GEMDigiSimLink.h.

References bx_.

23 { return bx_; }

◆ getEventId()

EncodedEventId GEMDigiSimLink::getEventId ( ) const
inline

Definition at line 26 of file GEMDigiSimLink.h.

References eventId_.

26 { return eventId_; }

◆ getParticleType()

int GEMDigiSimLink::getParticleType ( ) const
inline

Definition at line 24 of file GEMDigiSimLink.h.

References particleType_.

24 { return particleType_; }

◆ getStrip()

unsigned int GEMDigiSimLink::getStrip ( ) const
inline

Definition at line 22 of file GEMDigiSimLink.h.

References strip_.

Referenced by operator<().

22 { return strip_; }

◆ getTrackId()

unsigned int GEMDigiSimLink::getTrackId ( ) const
inline

Definition at line 25 of file GEMDigiSimLink.h.

References trackId_.

25 { return trackId_; }

◆ operator<()

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

Definition at line 28 of file GEMDigiSimLink.h.

References getStrip(), and trackingPlots::other.

28 { return getStrip() < other.getStrip(); }

Member Data Documentation

◆ bx_

int8_t GEMDigiSimLink::bx_
private

Definition at line 32 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getBx().

◆ eventId_

EncodedEventId GEMDigiSimLink::eventId_
private

Definition at line 35 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getEventId().

◆ particleType_

int16_t GEMDigiSimLink::particleType_
private

Definition at line 33 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getParticleType().

◆ strip_

uint16_t GEMDigiSimLink::strip_
private

Definition at line 31 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getStrip().

◆ trackId_

uint32_t GEMDigiSimLink::trackId_
private

Definition at line 34 of file GEMDigiSimLink.h.

Referenced by GEMDigiSimLink(), and getTrackId().