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

Go to the source code of this file.

Classes

class  L1CaloRdo
 

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