Skip to content

Commit

Permalink
Update ReweightUserHooks.h
Browse files Browse the repository at this point in the history
  • Loading branch information
menglu21 authored Jun 2, 2023
1 parent b250034 commit 2650714
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PtHatEmpReweightUserHook : public Pythia8::UserHooks {
5.5951279807561e-02,
3.5e+02};
const double ecms = (tuneName == "CP5Run3" ? 13600. : 13000.);
sigma = [this](double x) -> double {
sigma = [this, ecms](double x) -> double {
return (p[0] * pow(x, p[2] + p[3] * log(0.01 * x) + p[4] * pow(log(0.01 * x), 2)) *
pow(1 - 2 * x / (ecms + p[5]), p[1])) *
x;
Expand Down

0 comments on commit 2650714

Please sign in to comment.