ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/Development/Plotting/Modules/GeneralToolBox.C
(Generate patch)

Comparing UserCode/cbrown/Development/Plotting/Modules/GeneralToolBox.C (file contents):
Revision 1.2 by buchmann, Thu Feb 16 16:04:58 2012 UTC vs.
Revision 1.3 by buchmann, Fri Mar 2 08:37:58 2012 UTC

# Line 1537 | Line 1537 | float pSTAR(float mglu, float mlsp, floa
1537          res=TMath::Sqrt(res)/(2*mchi2);
1538          return res;
1539   }
1540 +
1541 + float generalizedpSTAR(float massmother, float massdaughter1, float massdaughter2) {
1542 +        float mz=91.2;
1543 +        float res=((massmother*massmother)-(massdaughter1+massdaughter2)*(massdaughter1+massdaughter2));
1544 +        res*=((massmother*massmother)-(massdaughter1-massdaughter2)*(massdaughter1-massdaughter2));
1545 +        res=TMath::Sqrt(res)/(2*massmother);
1546 +        return res;
1547 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines