#include "TrigMissingEtEvent/TrigMissingEtComponent.h"
#include <math.h>
#include <stdio.h>
Go to the source code of this file.
◆ operator==()
Operator comparing two objects for equality.
Definition at line 57 of file TrigMissingEtComponent.cxx.
57 {
58
60
61 if(
a.name() !=
b.name() )
62 return false;
63 if(
a.status() !=
b.status() )
64 return false;
65 if(
a.sumOfSigns() !=
b.sumOfSigns() )
66 return false;
67 if(
a.usedChannels() !=
b.usedChannels() )
68 return false;
69
70 if( fabsf(
a.ex() -
b.ex()) >
DELTA )
71 return false;
72 if( fabsf(
a.ey() -
b.ey()) >
DELTA )
73 return false;
74 if( fabsf(
a.ez() -
b.ez()) >
DELTA )
75 return false;
76 if( fabsf(
a.sumEt() -
b.sumEt()) >
DELTA )
77 return false;
78 if( fabsf(
a.sumE() -
b.sumE()) >
DELTA )
79 return false;
80 if( fabsf(
a.calib0() -
b.calib0()) >
DELTA )
81 return false;
82 if( fabsf(
a.calib1() -
b.calib1()) >
DELTA )
83 return false;
84
85 return true;
86}
static const double DELTA