Convert all resonant W/Z boson decays to the angular distribution of a pure polarisation state.
More...
Convert all resonant W/Z boson decays to the angular distribution of a pure polarisation state.
Definition at line 16 of file WZPolarization.cxx.
◆ WZPolarization()
Pythia8::WZPolarization::WZPolarization |
( |
| ) |
|
|
inline |
◆ canVetoResonanceDecays()
bool Pythia8::WZPolarization::canVetoResonanceDecays |
( |
| ) |
|
|
inline |
◆ doVetoResonanceDecays()
bool Pythia8::WZPolarization::doVetoResonanceDecays |
( |
Event & |
process | ) |
|
|
inline |
Definition at line 22 of file WZPolarization.cxx.
23 const int polmode =
m_polmode(settingsPtr);
28 if (
v.id() != 23 &&
v.idAbs() != 24)
continue;
29 const Vec4
pv =
v.p();
46 const double dtheta = std::acos(2*
rand01() - 1);
48 pd1.rot(dtheta, dphi);
49 pd2.rot(dtheta, dphi);
57 }
else if (polmode == 1) {
59 }
else if (polmode == 2) {
61 }
else if (polmode == 3) {
63 }
else if (polmode == 4) {
69 pd1.bst(
pv);
d1.p(pd1);
70 pd2.bst(
pv);
d2.p(pd2);
◆ rand01()
double Pythia8::WZPolarization::rand01 |
( |
| ) |
|
|
inline |
◆ sqr()
double Pythia8::WZPolarization::sqr |
( |
double |
x | ) |
|
|
inline |
◆ m_polmode
The documentation for this struct was generated from the following file: