ATLAS Offline Software
Functions
TrigMuonEFIsolation.cxx File Reference
#include "TrigMuonEvent/TrigMuonEFIsolation.h"
#include "TrigMuonEvent/TrigMuonEFInfoTrackContainer.h"
#include "TrigMuonEvent/TrigMuonEFInfoTrack.h"
#include <cmath>
Include dependency graph for TrigMuonEFIsolation.cxx:

Go to the source code of this file.

Functions

bool operator== (const TrigMuonEFIsolation &a, const TrigMuonEFIsolation &b)
 This operator checks whether two TrigMuonEFIsolation objects are the same based on the private members of the class. More...
 

Function Documentation

◆ operator==()

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

This operator checks whether two TrigMuonEFIsolation objects are the same based on the private members of the class.

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