Commit ec5a4238 authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'egammaSelectedTrackCopy_rescale_check' into 'master'

egammaSelectedTrackCopy : Rescaling should not alter the eta, but could have a significant effect on phi

See merge request !30497
parents 8d1ab2c0 3b518a22
......@@ -297,12 +297,11 @@ egammaSelectedTrackCopy::Select(const EventContext& ctx,
}
/*
* Cases where
* - it passes deltaEta[2] from last measurement
* - and it is still inside the broad preselection window
* - it passes deltaEta[2] from last measurement (rescaling should not affect the eta side)
* - and we have a cluster with higher Et.
* Rescale up the track to account for radiative loses and retry
*/
if (fabs(deltaEta[2]) < m_narrowDeltaEta && fabs(deltaPhi[2]) < m_broadDeltaPhi && cluster->et() > track->pt()) {
if (fabs(deltaEta[2]) < m_narrowDeltaEta && cluster->et() > track->pt()) {
// Extrapolate from Perigee Rescaled
std::array<double, 4> etaRes = { -999.0, -999.0, -999.0, -999.0 };
std::array<double, 4> phiRes = { -999.0, -999.0, -999.0, -999.0 };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment