File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -376,11 +376,12 @@ struct lambdaspincorrderived {
376376 double dphi2 = RecoDecay::constrainAngle (particle2.Phi (), 0 .0F , harmonic);
377377 double deta2 = particle2.Eta ();
378378
379- double deta_pair = std::abs (deta1 - deta2);
379+ // double deta_pair = std::abs(deta1 - deta2);
380380 double dphi_pair = RecoDecay::constrainAngle (particle1.Phi () - particle2.Phi (), -TMath::Pi (), harmonicDphi);
381381
382- double deltaR = TMath::Sqrt (deta_pair * deta_pair + dphi_pair * dphi_pair);
382+ // double deltaR = TMath::Sqrt(deta_pair * deta_pair + dphi_pair * dphi_pair);
383383 double deltaRap = std::abs (particle1.Rapidity () - particle2.Rapidity ());
384+ double deltaR = TMath::Sqrt (deltaRap * deltaRap + dphi_pair * dphi_pair);
384385
385386 double epsWeight1 = 1.0 ;
386387 double epsWeight2 = 1.0 ;
You can’t perform that action at this time.
0 commit comments