ATLAS Offline Software
Loading...
Searching...
No Matches
BeamSpotID.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#include "BeamSpotID.h"
6
7bool BeamSpot::ID::operator<( const ID & rhs) const {
8 if ( m_timeStamp < rhs.m_timeStamp ) return true;
9 if ( m_timeStamp > rhs.m_timeStamp ) return false;
10 if ( m_pileup < rhs.m_pileup ) return true;
11 if ( m_pileup > rhs.m_pileup ) return false;
12 if ( m_bcid < rhs.m_bcid ) return true;
13 if ( m_bcid > rhs.m_bcid ) return false;
14 if ( m_lumiBlock < rhs.m_lumiBlock ) return true;
15 if ( m_lumiBlock > rhs.m_lumiBlock ) return false;
16 if ( m_runNumber < rhs.m_runNumber ) return true;
17 if ( m_runNumber > rhs.m_runNumber ) return false;
18 return false;
19}
20
21
unsigned int m_lumiBlock
Definition BeamSpotID.h:30
unsigned int m_pileup
Definition BeamSpotID.h:31
unsigned long m_timeStamp
Definition BeamSpotID.h:33
unsigned int m_bcid
Definition BeamSpotID.h:32
bool operator<(const ID &) const
Definition BeamSpotID.cxx:7
unsigned int m_runNumber
Definition BeamSpotID.h:29