| 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::SortByRunLumi 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 163 of file EventIDBase.h.

## Member Function Documentation

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

Definition at line 166 of file EventIDBase.h.

167 {
168 if ( t1.run_number() == t2.run_number() ) {
169 return t1.lumi_block() > t2.lumi_block();
170 } else {
171 return t1.run_number() > t2.run_number();
172 }
173 }
EventIDBase::lumi_block
number_type lumi_block() const
luminosity block identifier, 32 bit unsigned
Definition: EventIDBase.h:62
EventIDBase::run_number
number_type run_number() const
run number - 32 bit unsigned
Definition: EventIDBase.h:50

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

Definition at line 174 of file EventIDBase.h.

174 { return ( SortByRunLumi()( *t1, *t2 ) ); }

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

- GaudiKernel/GaudiKernel/EventIDBase.h