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

Predicate. More...

#include <IOVTime.h>

Collaboration diagram for IOVTime::SortByTimeStamp:

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 time stamp

Definition at line 66 of file IOVTime.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 68 of file IOVTime.h.

68 {
69 return t1.timestamp() > t2.timestamp();
70 }
std::vector< ALFA_RawDataContainer_p1 > t2
std::vector< ALFA_RawDataCollection_p1 > t1

◆ operator()() [2/2]

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

Definition at line 71 of file IOVTime.h.

71 {
72 return t1->timestamp() > t2->timestamp();
73 }

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