ATLAS Offline Software
Loading...
Searching...
No Matches
TrigMuonEFIsolation.cxx File Reference
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.

Variables

static const double DELTA = 0.001

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}
static const double DELTA
static Double_t a

Variable Documentation

◆ DELTA

const double DELTA = 0.001
static

Definition at line 11 of file TrigMuonEFIsolation.cxx.