# | 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 | + | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |