ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
VP1AvailEvents::Imp::EventID Class Reference
Collaboration diagram for VP1AvailEvents::Imp::EventID:

Public Member Functions

 EventID (int r, unsigned long long e)
 
bool operator== (const EventID &o) const
 
bool operator< (const EventID &o) const
 

Public Attributes

unsigned long long eventNumber
 
int runNumber
 

Detailed Description

Definition at line 40 of file VP1AvailEvents.cxx.

Constructor & Destructor Documentation

◆ EventID()

VP1AvailEvents::Imp::EventID::EventID ( int  r,
unsigned long long  e 
)
inline

Definition at line 42 of file VP1AvailEvents.cxx.

42 : eventNumber(e), runNumber(r) {}

Member Function Documentation

◆ operator<()

bool VP1AvailEvents::Imp::EventID::operator< ( const EventID o) const
inline

Definition at line 48 of file VP1AvailEvents.cxx.

49  {
50  //This ordering is not "newer". It is solely to be able to use in a set.
51  return runNumber==o.runNumber ? eventNumber < o.eventNumber : runNumber < o.runNumber;
52  }

◆ operator==()

bool VP1AvailEvents::Imp::EventID::operator== ( const EventID o) const
inline

Definition at line 45 of file VP1AvailEvents.cxx.

45  {
46  return eventNumber==o.eventNumber && runNumber==o.runNumber;
47  }

Member Data Documentation

◆ eventNumber

unsigned long long VP1AvailEvents::Imp::EventID::eventNumber

Definition at line 43 of file VP1AvailEvents.cxx.

◆ runNumber

int VP1AvailEvents::Imp::EventID::runNumber

Definition at line 44 of file VP1AvailEvents.cxx.


The documentation for this class was generated from the following file:
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
beamspotman.r
def r
Definition: beamspotman.py:676
VP1AvailEvents::Imp::EventID::runNumber
int runNumber
Definition: VP1AvailEvents.cxx:44
VP1AvailEvents::Imp::EventID::eventNumber
unsigned long long eventNumber
Definition: VP1AvailEvents.cxx:43