ATLAS Offline Software
|
Helper functor used to sort xAOD::LumiBlockRangeContainer-s. More...
#include <SortLumiBlockRangeByStart.h>
Public Member Functions | |
bool | operator() (const LumiBlockRange &lbr1, const LumiBlockRange &lbr2) |
Function ordering the xAOD::LumiBlockRange objects by starting time. More... | |
bool | operator() (const LumiBlockRange *lbr1, const LumiBlockRange *lbr2) |
Function ordering the xAOD::LumiBlockRange objects by starting time. More... | |
Helper functor used to sort xAOD::LumiBlockRangeContainer-s.
As with all xAOD containers, one needs to be careful with using std::sort and friends. They should never be used on the containers that own their elements, only on view containers. Otherwise the performance of the code will degrade significantly.
Definition at line 29 of file SortLumiBlockRangeByStart.h.
bool xAOD::SortLumiBlockRangeByStart::operator() | ( | const LumiBlockRange & | lbr1, |
const LumiBlockRange & | lbr2 | ||
) |
Function ordering the xAOD::LumiBlockRange objects by starting time.
Definition at line 12 of file SortLumiBlockRangeByStart.cxx.
bool xAOD::SortLumiBlockRangeByStart::operator() | ( | const LumiBlockRange * | lbr1, |
const LumiBlockRange * | lbr2 | ||
) |
Function ordering the xAOD::LumiBlockRange objects by starting time.
Definition at line 22 of file SortLumiBlockRangeByStart.cxx.