7 #include "Pythia8/PhaseSpace.h"
25 :
m_slope(
"mHatReweight:Slope", 1)
27 ,
m_p1(
"mHatReweight:p1", -3.872)
28 ,
m_p2(
"mHatReweight:p2", 15.606)
30 std::cout<<
"*************************************************************"<<std::endl;
31 std::cout<<
"* *"<<std::endl;
32 std::cout<<
"* Populating high-mass events with mHatReweight UserHook! *"<<std::endl;
33 std::cout<<
"* *"<<std::endl;
34 std::cout<<
"*************************************************************"<<std::endl;
42 const PhaseSpace* phaseSpacePtr,
45 if (sigmaProcessPtr->nFinal() != 1)
return 0.;
47 double slope =
m_slope(settingsPtr);
49 double p1 =
m_p1(settingsPtr);
50 double p2 =
m_p2(settingsPtr);
52 double mHat = std::sqrt(phaseSpacePtr->sHat());
53 double ecm = phaseSpacePtr->ecm();
58 if( mHat < mHatConstMin ){