| The Gaudi Framework v28r2-patches (bc4ad17a)

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

## Member Function Documentation

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

Definition at line 123 of file EventIDBase.h.

123 {
124 if (t1.run_number() == t2.run_number()) {
125 return t1.event_number() > t2.event_number();
126 } else {
127 return t1.run_number() > t2.run_number();
128 }
129 }
EventIDBase::run_number
number_type run_number() const
run number - 32 bit unsigned
Definition: EventIDBase.h:54
EventIDBase::event_number
event_number_t event_number() const
event number - 64 bit unsigned
Definition: EventIDBase.h:57

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

Definition at line 130 of file EventIDBase.h.

130 {
131 return ( SortByRunEvent()(*t1,*t2) );
132 }

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

- GaudiKernel/GaudiKernel/EventIDBase.h