ATLAS Offline Software
Classes | Functions
TrigMuonEFIsolation.h File Reference
#include "AthenaKernel/CLASS_DEF.h"
#include "AthLinks/ElementLink.h"
#include "TrigMuonEvent/TrigMuonEFInfoContainer.h"
Include dependency graph for TrigMuonEFIsolation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TrigMuonEFIsolation
 

Functions

bool operator== (const TrigMuonEFIsolation &a, const TrigMuonEFIsolation &b)
 Operator comparing two TrigMuonEFIsolation objects for equality. More...
 
bool operator!= (const TrigMuonEFIsolation &a, const TrigMuonEFIsolation &b)
 Operator comparing two TrigMuonEFIsolation objects for inequality. More...
 

Function Documentation

◆ operator!=()

bool operator!= ( const TrigMuonEFIsolation a,
const TrigMuonEFIsolation b 
)
inline

Operator comparing two TrigMuonEFIsolation objects for inequality.

Definition at line 122 of file TrigMuonEFIsolation.h.

122  {
123  return !( a == b );
124 }

◆ operator==()

bool operator== ( const TrigMuonEFIsolation a,
const TrigMuonEFIsolation b 
)

Operator comparing two TrigMuonEFIsolation objects for equality.

Operator comparing two TrigMuonEFIsolation objects for equality.

Definition at line 151 of file TrigMuonEFIsolation.cxx.

151  {
152  if( std::abs( a.sumTrkPtCone02() - b.sumTrkPtCone02() ) > DELTA )
153  return false;
154  if( std::abs( a.sumTrkPtCone03() - b.sumTrkPtCone03() ) > DELTA )
155  return false;
156  if( std::abs( a.sumEtCone01() - b.sumEtCone01() ) > DELTA )
157  return false;
158  if( std::abs( a.sumEtCone02() - b.sumEtCone02() ) > DELTA )
159  return false;
160  if( std::abs( a.sumEtCone03() - b.sumEtCone03() ) > DELTA )
161  return false;
162  if( std::abs( a.sumEtCone04() - b.sumEtCone04() ) > DELTA )
163  return false;
164  if( a.trackPosition() != b.trackPosition() )
165  return false;
166  if( a.getEFMuonInfoTrack() != b.getEFMuonInfoTrack() )
167  return false;
168 
169  return true;
170 }
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
a
TList * a
Definition: liststreamerinfos.cxx:10