ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/src/Objects.cc
(Generate patch)

Comparing UserCode/HbbAnalysis/src/Objects.cc (file contents):
Revision 1.1 by amagnan, Fri Oct 2 11:06:56 2009 UTC vs.
Revision 1.2 by amagnan, Tue Oct 13 12:14:05 2009 UTC

# Line 101 | Line 101 | namespace HbbAnalysis {
101      double py1 = leg1.pT*sin(leg1.phi);
102      double py2 = leg2.pT*sin(leg2.phi);
103  
104
104      double x1_numerator = px1*py2 - px2*py1;
105      double x1_denominator = py2*(px1 + mEx) - px2*(py1 + mEy);
106      double x1 = ( x1_denominator != 0. ) ? x1_numerator/x1_denominator : -1.;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines