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 
)

Definition at line 36 of file SiStripSpyEventMatcher.cc.

Member Function Documentation

◆ apvAddress()

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

Definition at line 96 of file SiStripSpyEventMatcher.h.

96 { return apvAddress_; }

References apvAddress_.

◆ eventId()

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

Definition at line 95 of file SiStripSpyEventMatcher.h.

95 { return eventId_; }

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.

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

References apvAddress_, and eventId_.

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<().

sistrip::SpyEventMatcher::EventKey::eventId_
uint32_t eventId_
Definition: SiStripSpyEventMatcher.h:100
sistrip::SpyEventMatcher::EventKey::apvAddress
uint8_t apvAddress() const
Definition: SiStripSpyEventMatcher.h:96
sistrip::SpyEventMatcher::EventKey::apvAddress_
uint8_t apvAddress_
Definition: SiStripSpyEventMatcher.h:101
sistrip::SpyEventMatcher::EventKey::eventId
uint32_t eventId() const
Definition: SiStripSpyEventMatcher.h:95