ATLAS Offline Software
Loading...
Searching...
No Matches
IOVTime::SortByRunEvent Class Reference

Predicate. More...

#include <IOVTime.h>

Collaboration diagram for IOVTime::SortByRunEvent:

Public Member Functions

bool operator() (const IOVTime &t1, const IOVTime &t2) const noexcept
bool operator() (const IOVTime *t1, const IOVTime *t2) const noexcept

Detailed Description

Predicate.

Used to sort by run and event number

Definition at line 81 of file IOVTime.h.

Member Function Documentation

◆ operator()() [1/2]

bool IOVTime::SortByRunEvent::operator() ( const IOVTime & t1,
const IOVTime & t2 ) const
inlinenoexcept

Definition at line 83 of file IOVTime.h.

83 {
84 return t1.re_time() > t2.re_time();
85 }
std::vector< ALFA_RawDataContainer_p1 > t2
std::vector< ALFA_RawDataCollection_p1 > t1

◆ operator()() [2/2]

bool IOVTime::SortByRunEvent::operator() ( const IOVTime * t1,
const IOVTime * t2 ) const
inlinenoexcept

Definition at line 86 of file IOVTime.h.

86 {
87 return t1->re_time() > t2->re_time();
88 }

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