| The Gaudi Framework v30r0 (c919700c)

- 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 135 of file EventIDBase.h.

## Member Function Documentation

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

Definition at line 138 of file EventIDBase.h.

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

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

Definition at line 146 of file EventIDBase.h.

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

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

- GaudiKernel/GaudiKernel/EventIDBase.h