ATLAS Offline Software
Functions
L1CaloRdo.cxx File Reference
#include "bytestreamDecoder/L1CaloRdo.h"
#include "bytestreamDecoder/L1CaloRdoRodInfo.h"
#include <iostream>
Include dependency graph for L1CaloRdo.cxx:

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<()

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

Definition at line 48 of file L1CaloRdo.cxx.

50 {
51  if ( lhs.getCrate() < rhs.getCrate() )
52  return true;
53  if ( lhs.getCrate() > rhs.getCrate() )
54  return false;
55  if ( lhs.getModule() < rhs.getModule() )
56  return true;
57  if ( lhs.getModule() > rhs.getModule() )
58  return false;
59  if ( lhs.getEta() < rhs.getEta() )
60  return true;
61  if ( lhs.getEta() > rhs.getEta() )
62  return false;
63  if ( lhs.getPhi() < rhs.getPhi() )
64  return true;
65  if ( lhs.getPhi() > rhs.getPhi() )
66  return false;
67  if ( lhs.getLayer() < rhs.getLayer() )
68  return true;
69  return false;
70 }
L1CaloRdo::getModule
int getModule() const
Definition: L1CaloRdo.cxx:79
L1CaloRdo::getPhi
int getPhi() const
Definition: L1CaloRdo.cxx:91
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