| The Gaudi Framework v28r2p1 (f1a77ff4)

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

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

Public Member Functions | List of all members
EventIDBase::SortByLumiEvent 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::SortByLumiEvent::operator() | ( | const EventIDBase & | t1,
|  | const EventIDBase & | t2
| ) |  | const
| inline

Definition at line 137 of file EventIDBase.h.

137 {
138 if (t1.lumi_block() == t2.lumi_block()) {
139 return t1.event_number() > t2.event_number();
140 } else {
141 return t1.lumi_block() > t2.lumi_block();
142 }
143 }
EventIDBase::lumi_block
number_type lumi_block() const
luminosity block identifier, 32 bit unsigned
Definition: EventIDBase.h:66
EventIDBase::event_number
event_number_t event_number() const
event number - 64 bit unsigned
Definition: EventIDBase.h:57

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

Definition at line 144 of file EventIDBase.h.

144 {
145 return ( SortByLumiEvent()(*t1,*t2) );
146 }

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

- GaudiKernel/GaudiKernel/EventIDBase.h