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 80 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 82 of file IOVTime.h.

82 {
83 return t1.re_time() > t2.re_time();
84 }
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 85 of file IOVTime.h.

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

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