ATLAS Offline Software
Classes | Functions
L1CaloRdoFexTob.h File Reference
#include <string>
#include "bytestreamDecoder/L1CaloRdo.h"
Include dependency graph for L1CaloRdoFexTob.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  L1CaloRdoFexTob
 

Functions

bool operator< (const L1CaloRdoFexTob &lhs, const L1CaloRdoFexTob &rhs)
 

Function Documentation

◆ operator<()

bool operator< ( const L1CaloRdoFexTob lhs,
const L1CaloRdoFexTob rhs 
)

Definition at line 184 of file L1CaloRdoFexTob.cxx.

186 {
187  if ( lhs.getCrate() < rhs.getCrate() )
188  return true;
189  if ( lhs.getCrate() > rhs.getCrate() )
190  return false;
191  if ( lhs.getModule() < rhs.getModule() )
192  return true;
193  if ( lhs.getModule() > rhs.getModule() )
194  return false;
195  if ( lhs.getEta() < rhs.getEta() )
196  return true;
197  if ( lhs.getEta() > rhs.getEta() )
198  return false;
199  if ( lhs.getPhi() < rhs.getPhi() )
200  return true;
201  if ( lhs.getPhi() > rhs.getPhi() )
202  return false;
203  if ( lhs.getLayer() < rhs.getLayer() )
204  return true;
205  if ( lhs.getTobType() < rhs.getTobType() )
206  return true;
207  if ( lhs.getTobType() > rhs.getTobType() )
208  return false;
209  if ( lhs.getTobSource( ) < rhs.getTobSource( ) )
210  return true;
211  if ( lhs.getTobSource( ) > rhs.getTobSource( ) )
212  return false;
213  if ( lhs.getTobID( ) < rhs.getTobID( ) )
214  return true;
215  return false;
216 }
L1CaloRdo::getModule
int getModule() const
Definition: L1CaloRdo.cxx:79
L1CaloRdo::getPhi
int getPhi() const
Definition: L1CaloRdo.cxx:91
L1CaloRdoFexTob::getTobID
int getTobID() const
Definition: L1CaloRdoFexTob.cxx:65
L1CaloRdoFexTob::getTobType
TobType getTobType() const
Definition: L1CaloRdoFexTob.cxx:47
L1CaloRdoFexTob::getTobSource
TobSource getTobSource() const
Definition: L1CaloRdoFexTob.cxx:114
L1CaloRdo::getLayer
int getLayer() const
Definition: L1CaloRdo.cxx:97
L1CaloRdo::getEta
int getEta() const
Definition: L1CaloRdo.cxx:85
L1CaloRdo::getCrate
int getCrate() const
Definition: L1CaloRdo.cxx:73