Skip to content

Commit

Permalink
Dropped z sign mitigation for diamond in proton reconstruction algori…
Browse files Browse the repository at this point in the history
…thm (timing/tracking associatioN)
  • Loading branch information
forthommel committed Jul 15, 2020
1 parent b2b5b0a commit c1ac29c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions RecoPPS/ProtonReconstruction/plugins/CTPPSProtonProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,7 @@ void CTPPSProtonProducer::produce(edm::Event &iEvent, const edm::EventSetup &iSe
continue;

// interpolation from tracking RPs
const double z_ti =
-hGeometry->rpTranslation(tr_ti.rpId()).z(); // the minus sign fixes a bug in the diamond geometry
const double z_ti = hGeometry->rpTranslation(tr_ti.rpId()).z();
const double f_i = (z_ti - z_j) / (z_i - z_j), f_j = (z_i - z_ti) / (z_i - z_j);
const double x_inter = f_i * tr_i.x() + f_j * tr_j.x();
const double x_inter_unc_sq =
Expand Down

0 comments on commit c1ac29c

Please sign in to comment.