ATLAS Offline Software
Loading...
Searching...
No Matches
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
 Abstract base class for L1Calo "Raw Data Objects" (RDOs). More...

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}
int getEta() const
Definition L1CaloRdo.cxx:85
int getModule() const
Definition L1CaloRdo.cxx:79
int getPhi() const
Definition L1CaloRdo.cxx:91
int getLayer() const
Definition L1CaloRdo.cxx:97
int getCrate() const
Definition L1CaloRdo.cxx:73