| 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::SortByTimeStamp 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 107 of file EventIDBase.h.

## Member Function Documentation

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

Definition at line 109 of file EventIDBase.h.

109 {
110 if (t1.time_stamp() == t2.time_stamp()) {
111 return t1.time_stamp_ns_offset() > t2.time_stamp_ns_offset();
112 } else {
113 return t1.time_stamp() > t2.time_stamp();
114 }
115 }
EventIDBase::time_stamp
number_type time_stamp() const
time stamp - posix time in seconds from 1970, 32 bit unsigned
Definition: EventIDBase.h:60
EventIDBase::time_stamp_ns_offset
number_type time_stamp_ns_offset() const
time stamp ns - ns time offset for time_stamp, 32 bit unsigned
Definition: EventIDBase.h:63

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

Definition at line 116 of file EventIDBase.h.

116 {
117 return ( SortByTimeStamp()(*t1,*t2) );
118 }

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

- GaudiKernel/GaudiKernel/EventIDBase.h