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.4 by amagnan, Mon May 10 18:45:10 2010 UTC vs.
Revision 1.5 by amagnan, Wed Sep 22 12:21:44 2010 UTC

# Line 68 | Line 68 | namespace HbbAnalysis {
68      double et = leg1.pT + leg2.pT + TMath::Sqrt(mEx*mEx + mEy*mEy);
69      double mt2 = et*et - (px*px + py*py);
70      if ( mt2 < 0 ) {
71 <      std::cout << " --- WARNING : mt2 = " << mt2 << " is negative... Set to 0.";
71 >      //std::cout << " --- WARNING : mt2 = " << mt2 << " is negative... Set to 0.";
72        return 0.;
73      }
74      return sqrt(mt2);
# Line 83 | Line 83 | namespace HbbAnalysis {
83      double et = leg1.pT + TMath::Sqrt(mEx*mEx + mEy*mEy);
84      double mt = et*et - (px*px + py*py);
85      if ( mt < 0 ) {
86 <      std::cout << " --- WARNING : mt = " << mt << " is negative... Set to 0.";
86 >      //std::cout << " --- WARNING : mt = " << mt << " is negative... Set to 0.";
87        return 0.;
88      }
89      return sqrt(mt);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines