Skip to content

Commit

Permalink
ACTUAL final check before version up
Browse files Browse the repository at this point in the history
  • Loading branch information
bkatiemills committed Jan 10, 2014
1 parent a5cbecd commit 229c76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function SCEPTAREfficiency(param, loParam, hiParam, logE){

if(Q<100)
return '0;0;0';
console.log(param)

//Evan & Carl requested the 0.8 hack-in instead of param[6]
eff = 0.8*(1-1/(Math.exp((Q-param[0])/param[1])+1)-1/(Math.exp((Q-param[2])/param[3])+1)-1/(Math.exp((Q-param[4])/param[5])+1));
if(lepton == 1) eff = Math.max(eff, 0.00065); //only for positrons
Expand Down

0 comments on commit 229c76f

Please sign in to comment.