13 #include "GaudiKernel/MsgStream.h"
19 static const double DELTA = 0.001;
53 float eta,
float phi,
float dir_phi,
float zeta,
54 float dir_zeta,
float beta):
55 m_algoId(
NULLID), m_RoIId(-1), m_saddress(saddress),
56 m_pt(
pt), m_radius(
radius), m_eta(
eta), m_phi(
phi), m_dir_phi(dir_phi),
57 m_zeta(zeta), m_dir_zeta(dir_zeta), m_beta(
beta),
58 m_sp1_r(0.), m_sp1_z(0.), m_sp1_slope(0.),
59 m_sp2_r(0.), m_sp2_z(0.), m_sp2_slope(0.),
60 m_sp3_r(0.), m_sp3_z(0.), m_sp3_slope(0.),
61 m_br_radius(0.), m_br_sagitta(0.),
62 m_ec_alpha(0.), m_ec_beta(0.),
63 m_dq_var1(0.), m_dq_var2(0.)
68 float eta,
float phi,
float dir_phi,
float zeta,
69 float dir_zeta,
float beta,
70 float sp1_r,
float sp1_z,
float sp1_slope,
71 float sp2_r,
float sp2_z,
float sp2_slope,
72 float sp3_r,
float sp3_z,
float sp3_slope,
73 float br_radius,
float br_sagitta,
float ec_alpha,
float ec_beta,
74 double dq_var1,
double dq_var2):
75 m_algoId(
NULLID), m_RoIId(-1), m_saddress(saddress),
76 m_pt(
pt), m_radius(
radius), m_eta(
eta), m_phi(
phi), m_dir_phi(dir_phi),
77 m_zeta(zeta), m_dir_zeta(dir_zeta), m_beta(
beta),
78 m_sp1_r(sp1_r), m_sp1_z(sp1_z), m_sp1_slope(sp1_slope),
79 m_sp2_r(sp2_r), m_sp2_z(sp2_z), m_sp2_slope(sp2_slope),
80 m_sp3_r(sp3_r), m_sp3_z(sp3_z), m_sp3_slope(sp3_slope),
81 m_br_radius(br_radius), m_br_sagitta(br_sagitta),
82 m_ec_alpha(ec_alpha), m_ec_beta(ec_beta),
83 m_dq_var1(dq_var1), m_dq_var2(dq_var2)
184 <<
"; saddress: " <<
muon.saddress()
185 <<
"; eta: " <<
muon.eta()
186 <<
"; phi: " <<
muon.phi()
187 <<
"; pt: " <<
muon.pt();
202 ( std::abs( left.
pt() - right.
pt() ) > DELTA ) ||
203 ( std::abs( left.
radius() - right.
radius() ) > DELTA ) ||
204 ( std::abs( left.
eta() - right.
eta() ) > DELTA ) ||
205 ( std::abs( left.
phi() - right.
phi() ) > DELTA ) ||
207 ( std::abs( left.
zeta() - right.
zeta() ) > DELTA ) ||
209 ( std::abs( left.
beta() - right.
beta() ) > DELTA ) ||
210 ( std::abs( left.
sp1_r() - right.
sp1_r() ) > DELTA ) ||
211 ( std::abs( left.
sp1_z() - right.
sp1_z() ) > DELTA ) ||
213 ( std::abs( left.
sp2_r() - right.
sp2_r() ) > DELTA ) ||
214 ( std::abs( left.
sp2_z() - right.
sp2_z() ) > DELTA ) ||
216 ( std::abs( left.
sp3_r() - right.
sp3_r() ) > DELTA ) ||
217 ( std::abs( left.
sp3_z() - right.
sp3_z() ) > DELTA ) ||
237 std::map< std::string, double >& varChange ) {
239 if( std::abs( left.
algoId() - right.
algoId() ) > DELTA ) {
240 varChange[
"algoId" ] =
static_cast< double >( left.
algoId() - right.
algoId() );
243 varChange[
"saddress" ] =
static_cast< double >( left.
saddress() - right.
saddress() );
245 if( std::abs( left.
pt() - right.
pt() ) > DELTA ) {
246 varChange[
"pt" ] = left.
pt() - right.
pt();
248 if( std::abs( left.
radius() - right.
radius() ) > DELTA ) {
251 if( std::abs( left.
eta() - right.
eta() ) > DELTA ) {
252 varChange[
"eta" ] = left.
eta() - right.
eta();
254 if( std::abs( left.
phi() - right.
phi() ) > DELTA ) {
255 varChange[
"phi" ] = left.
phi() - right.
phi();
260 if( std::abs( left.
zeta() - right.
zeta() ) > DELTA ) {
261 varChange[
"zeta" ] = left.
zeta() - right.
zeta();
266 if( std::abs( left.
beta() - right.
beta() ) > DELTA ) {
267 varChange[
"beta" ] = left.
beta() - right.
beta();
269 if( std::abs( left.
sp1_r() - right.
sp1_r() ) > DELTA ) {
270 varChange[
"sp1_r" ] = left.
sp1_r() - right.
sp1_r();
272 if( std::abs( left.
sp1_z() - right.
sp1_z() ) > DELTA ) {
273 varChange[
"sp1_z" ] = left.
sp1_z() - right.
sp1_z();
278 if( std::abs( left.
sp2_r() - right.
sp2_r() ) > DELTA ) {
279 varChange[
"sp2_r" ] = left.
sp2_r() - right.
sp2_r();
281 if( std::abs( left.
sp2_z() - right.
sp2_z() ) > DELTA ) {
282 varChange[
"sp2_z" ] = left.
sp2_z() - right.
sp2_z();
287 if( std::abs( left.
sp3_r() - right.
sp3_r() ) > DELTA ) {
288 varChange[
"sp3_r" ] = left.
sp3_r() - right.
sp3_r();
290 if( std::abs( left.
sp3_z() - right.
sp3_z() ) > DELTA ) {
291 varChange[
"sp3_z" ] = left.
sp3_z() - right.
sp3_z();