ATLAS Offline Software
Loading...
Searching...
No Matches
SortLumiBlockRangeByStart.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// $Id: SortLumiBlockRangeByStart.cxx 647501 2015-02-17 14:22:33Z krasznaa $
6
7// Local include(s):
9
10namespace xAOD {
11
13 const LumiBlockRange& lbr2 ) {
14
15 if( lbr1.startRunNumber() != lbr2.startRunNumber() ) {
16 return lbr1.startRunNumber() < lbr2.startRunNumber();
17 } else {
18 return lbr1.startLumiBlockNumber() < lbr2.startLumiBlockNumber();
19 }
20 }
21
23 const LumiBlockRange* lbr2 ) {
24
25 return this->operator()( *lbr1, *lbr2 );
26 }
27
28} // namespace xAOD
uint32_t startRunNumber() const
Get the run number of the start time of the range.
uint32_t startLumiBlockNumber() const
Get the luminosity block of the start time of the range.
bool operator()(const LumiBlockRange &lbr1, const LumiBlockRange &lbr2)
Function ordering the xAOD::LumiBlockRange objects by starting time.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
LumiBlockRange_v1 LumiBlockRange
Declare the latest version of the class.