#include <SortLumiBlockRangeByStart.h>
Public Member Functions | |
bool | operator() (const LumiBlockRange &lbr1, const LumiBlockRange &lbr2) |
Function ordering the xAOD::LumiBlockRange objects by starting time. | |
bool | operator() (const LumiBlockRange *lbr1, const LumiBlockRange *lbr2) |
Function ordering the xAOD::LumiBlockRange objects by starting time. |
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.