#include <TopRecoilHook.h>
Definition at line 21 of file TopRecoilHook.h.
◆ TopRecoilHook()
Pythia8::TopRecoilHook::TopRecoilHook |
( |
bool |
doTopRecoilIn = true , |
|
|
bool |
useOldDipoleIn = false , |
|
|
bool |
doListIn = false |
|
) |
| |
|
inline |
Definition at line 27 of file TopRecoilHook.h.
References doList, doTopRecoil, useOldDipole, and wtCorr.
32 wtCorr =
new Hist(
"corrective weight", 100, 0., 2.);
cms::cuda::HistoContainer< uint8_t, 256, 16000, 8, uint16_t > Hist
◆ ~TopRecoilHook()
Pythia8::TopRecoilHook::~TopRecoilHook |
( |
| ) |
|
|
inlineoverride |
◆ canVetoFSREmission()
bool Pythia8::TopRecoilHook::canVetoFSREmission |
( |
| ) |
|
|
inlineoverride |
◆ doVetoFSREmission()
bool Pythia8::TopRecoilHook::doVetoFSREmission |
( |
int |
sizeOld, |
|
|
const Event & |
event, |
|
|
int |
iSys, |
|
|
bool |
inResonance |
|
) |
| |
|
inlineoverride |
Definition at line 54 of file TopRecoilHook.h.
References cuy::col, doList, visualization-live-secondInstance_cfg::m, conifer::pow2(), recoilDeadCone, useOldDipole, and wtCorr.
60 int iTop = partonSystemsPtr->getInRes(iSys);
61 if (iTop == 0 ||
event[iTop].idAbs() != 6)
65 int sizeOut = partonSystemsPtr->sizeOut(iSys);
71 int iEmt = sizeOld + 1;
72 int iRec = sizeOld + 2;
77 iRad =
event[iRad].mother1();
78 iRec =
event[iRec].mother1();
82 if (
event[iEmt].
id() != 21)
84 if (
event[iTop].
id() == 6) {
93 if (
event[iRec].idAbs() != 24) {
98 double pRadRec =
event[iRad].p() *
event[iRec].p();
99 double pRadEmt =
event[iRad].p() *
event[iEmt].p();
100 double pRecEmt =
event[iRec].p() *
event[iEmt].p();
101 double wtW = 2. * pRadRec / (pRadEmt * pRecEmt) -
pow2(
event[iRad].
m() / pRadEmt);
107 double pRadTop =
event[iRad].p() *
event[iTop].p();
108 double pTopEmt =
event[iTop].p() *
event[iEmt].p();
110 2. * pRadTop / (pRadEmt * pTopEmt) -
pow2(
event[iRad].
m() / pRadEmt) -
pow2(
event[iTop].
m() / pTopEmt);
117 partonSystemsPtr->list();
122 return (wtT < wtW * rndmPtr->flat());
constexpr int pow2(int x)
◆ initAfterBeams()
bool Pythia8::TopRecoilHook::initAfterBeams |
( |
| ) |
|
|
inlineoverride |
◆ doList
bool Pythia8::TopRecoilHook::doList |
|
private |
◆ doTopRecoil
bool Pythia8::TopRecoilHook::doTopRecoil |
|
private |
◆ recoilDeadCone
bool Pythia8::TopRecoilHook::recoilDeadCone |
|
private |
◆ useOldDipole
bool Pythia8::TopRecoilHook::useOldDipole |
|
private |
◆ wtCorr
Hist* Pythia8::TopRecoilHook::wtCorr |
|
private |