CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
StubsSimHitsMatcher::MatchedTrackInfo Class Reference

#include <StubsSimHitsMatcher.h>

Public Member Functions

 MatchedTrackInfo (uint32_t eventNum, uint32_t trackId)
 
bool operator< (const MatchedTrackInfo &b) const
 
bool operator== (const MatchedTrackInfo &b) const
 
bool operator> (const MatchedTrackInfo &b) const
 

Public Attributes

union {
   struct {
      int32_t   eventNum = 0
 
      uint32_t   trackId = 0
 
   } 
 
   uint64_t   eventTrackNum
 
}; 
 
std::vector< unsigned int > matchedDigiCnt
 

Detailed Description

Definition at line 46 of file StubsSimHitsMatcher.h.

Constructor & Destructor Documentation

◆ MatchedTrackInfo()

StubsSimHitsMatcher::MatchedTrackInfo::MatchedTrackInfo ( uint32_t  eventNum,
uint32_t  trackId 
)
inline

Definition at line 58 of file StubsSimHitsMatcher.h.

References eventNum, and trackId.

Member Function Documentation

◆ operator<()

bool StubsSimHitsMatcher::MatchedTrackInfo::operator< ( const MatchedTrackInfo b) const
inline

Definition at line 63 of file StubsSimHitsMatcher.h.

References eventTrackNum.

63 { return this->eventTrackNum < b.eventTrackNum; }
double b
Definition: hdecay.h:120

◆ operator==()

bool StubsSimHitsMatcher::MatchedTrackInfo::operator== ( const MatchedTrackInfo b) const
inline

Definition at line 67 of file StubsSimHitsMatcher.h.

References eventTrackNum.

67 { return this->eventTrackNum == b.eventTrackNum; }
double b
Definition: hdecay.h:120

◆ operator>()

bool StubsSimHitsMatcher::MatchedTrackInfo::operator> ( const MatchedTrackInfo b) const
inline

Definition at line 65 of file StubsSimHitsMatcher.h.

References eventTrackNum.

65 { return this->eventTrackNum > b.eventTrackNum; }
double b
Definition: hdecay.h:120

Member Data Documentation

◆ @862

union { ... }

◆ eventNum

int32_t StubsSimHitsMatcher::MatchedTrackInfo::eventNum = 0

Definition at line 50 of file StubsSimHitsMatcher.h.

Referenced by MatchedTrackInfo().

◆ eventTrackNum

uint64_t StubsSimHitsMatcher::MatchedTrackInfo::eventTrackNum

Definition at line 53 of file StubsSimHitsMatcher.h.

Referenced by operator<(), operator==(), and operator>().

◆ matchedDigiCnt

std::vector<unsigned int> StubsSimHitsMatcher::MatchedTrackInfo::matchedDigiCnt
mutable

Definition at line 56 of file StubsSimHitsMatcher.h.

◆ trackId

uint32_t StubsSimHitsMatcher::MatchedTrackInfo::trackId = 0

Definition at line 51 of file StubsSimHitsMatcher.h.

Referenced by MatchedTrackInfo().