| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
EventIDBase::SortByRunEvent Class Reference

`#include <GaudiKernel/EventIDBase.h>`

## Public Member Functions
bool | operator() (const EventIDBase &t1, const EventIDBase &t2) const
bool | operator() (const EventIDBase *t1, const EventIDBase *t2) const

## Detailed Description

Definition at line 134 of file EventIDBase.h.

## Member Function Documentation

bool EventIDBase::SortByRunEvent::operator() | ( | const EventIDBase & | t1,
|  | const EventIDBase & | t2
| ) |  | const
| inline

Definition at line 137 of file EventIDBase.h.

138 {
139 if ( t1.run_number() == t2.run_number() ) {
140 return t1.event_number() > t2.event_number();
141 } else {
142 return t1.run_number() > t2.run_number();
143 }
144 }
EventIDBase::run_number
number_type run_number() const
run number - 32 bit unsigned
Definition: EventIDBase.h:49
EventIDBase::event_number
event_number_t event_number() const
event number - 64 bit unsigned
Definition: EventIDBase.h:52

bool EventIDBase::SortByRunEvent::operator() | ( | const EventIDBase * | t1,
|  | const EventIDBase * | t2
| ) |  | const
| inline

Definition at line 145 of file EventIDBase.h.

145 { return ( SortByRunEvent()( *t1, *t2 ) ); }

The documentation for this class was generated from the following file:

- GaudiKernel/GaudiKernel/EventIDBase.h