Definition at line 19 of file mHatReweight.cxx.
◆ mHatReweight()
| Pythia8::mHatReweight::mHatReweight |
( |
| ) |
|
|
inline |
Definition at line 24 of file mHatReweight.cxx.
25 :
m_slope(
"mHatReweight:Slope", 1)
27 ,
m_p1(
"mHatReweight:p1", -3.872)
28 ,
m_p2(
"mHatReweight:p2", 15.606)
29 {
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;
35 }
Pythia8_UserHooks::UserSetting< double > m_mHatConstMin
Pythia8_UserHooks::UserSetting< double > m_p1
Pythia8_UserHooks::UserSetting< double > m_p2
Pythia8_UserHooks::UserSetting< double > m_slope
◆ canModifySigma()
| virtual bool Pythia8::mHatReweight::canModifySigma |
( |
| ) |
|
|
inlinevirtual |
◆ multiplySigmaBy()
| virtual double Pythia8::mHatReweight::multiplySigmaBy |
( |
const SigmaProcess * | sigmaProcessPtr, |
|
|
const PhaseSpace * | phaseSpacePtr, |
|
|
bool | ) |
|
inlinevirtual |
Definition at line 41 of file mHatReweight.cxx.
43 {
44
45 if (sigmaProcessPtr->nFinal() != 1) return 0.;
46
47 double slope =
m_slope(settingsPtr);
49 double p1 =
m_p1(settingsPtr);
50 double p2 =
m_p2(settingsPtr);
51
52 double mHat = std::sqrt(phaseSpacePtr->sHat());
53 double ecm = phaseSpacePtr->ecm();
54
55
57
58 if( mHat < mHatConstMin ){
59 scale = std::pow(mHat/ecm, slope);
60 }
61
62 else {
63 double xsec = std::pow(mHat/ecm, p1) * std::pow(1 - mHat/ecm, p2);
64 double xsecMin = std::pow(mHatConstMin/ecm, p1) * std::pow(1 - mHatConstMin/ecm, p2);
65 scale = std::pow(mHatConstMin/ecm, slope) * xsecMin /
xsec;
66 }
68 }
◆ m_mHatConstMin
◆ m_p1
◆ m_p2
◆ m_slope
The documentation for this class was generated from the following file: