ATLAS Offline Software
Loading...
Searching...
No Matches
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
 L1CaloRdo subclass for FEX Trigger Objects (TOBs and XTOBs). More...

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}
TobType getTobType() const
TobSource getTobSource() const
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