ATLAS Offline Software
Public Member Functions | List of all members
IOVTime::SortByRunEvent Class Reference

Predicate. Used to sort by run and event number. 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  }

◆ 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:
ALFA_EventTPCnv_Dict::t1
std::vector< ALFA_RawDataCollection_p1 > t1
Definition: ALFA_EventTPCnvDict.h:43
ALFA_EventTPCnv_Dict::t2
std::vector< ALFA_RawDataContainer_p1 > t2
Definition: ALFA_EventTPCnvDict.h:44