CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
sistrip::SpyEventMatcher::EventKey Class Reference

Public Member Functions

uint8_t apvAddress () const
 
uint32_t eventId () const
 
 EventKey (const uint32_t eventId, const uint8_t apvAddress)
 
bool operator< (const EventKey &rhs) const
 

Private Attributes

uint8_t apvAddress_
 
uint32_t eventId_
 

Detailed Description

Definition at line 92 of file SiStripSpyEventMatcher.h.

Constructor & Destructor Documentation

◆ EventKey()

sistrip::SpyEventMatcher::EventKey::EventKey ( const uint32_t  eventId,
const uint8_t  apvAddress 
)

Member Function Documentation

◆ apvAddress()

uint8_t sistrip::SpyEventMatcher::EventKey::apvAddress ( ) const
inline

Definition at line 96 of file SiStripSpyEventMatcher.h.

References apvAddress_.

◆ eventId()

uint32_t sistrip::SpyEventMatcher::EventKey::eventId ( ) const
inline

Definition at line 95 of file SiStripSpyEventMatcher.h.

References eventId_.

Referenced by ntupleDataFormat.Event::eventIdStr().

◆ operator<()

bool sistrip::SpyEventMatcher::EventKey::operator< ( const EventKey rhs) const
inline

Definition at line 192 of file SiStripSpyEventMatcher.h.

References apvAddress_, and eventId_.

192  {
193  return ((this->eventId_ < rhs.eventId_)
194  ? true
195  : (((this->eventId_ == rhs.eventId_) && (this->apvAddress_ < rhs.apvAddress_)) ? true : false));
196  }

Member Data Documentation

◆ apvAddress_

uint8_t sistrip::SpyEventMatcher::EventKey::apvAddress_
private

Definition at line 101 of file SiStripSpyEventMatcher.h.

Referenced by apvAddress(), and operator<().

◆ eventId_

uint32_t sistrip::SpyEventMatcher::EventKey::eventId_
private

Definition at line 100 of file SiStripSpyEventMatcher.h.

Referenced by eventId(), and operator<().