1 #include "Pythia8/Pythia.h"
13 const Pythia8::PhaseSpace* phaseSpacePtr,
bool inEvent)
16 if ((sigmaProcessPtr->nFinal() == 2)) {
17 selBias =
pow(phaseSpacePtr->pTHat() /
pt,
power);
virtual ~PtHatReweightUserHook()
PtHatReweightUserHook(double _pt=15, double _power=4.5)
virtual double biasSelectionBy(const Pythia8::SigmaProcess *sigmaProcessPtr, const Pythia8::PhaseSpace *phaseSpacePtr, bool inEvent)
virtual bool canBiasSelection()
Power< A, B >::type pow(const A &a, const B &b)