47 (
fMasterGen->event).
append(990, -11, 0, 0, 2, 1 + NTotParticles, 0, 0, 0., 0., 0., 15000., 15000.);
54 double the = 2. * atan(
exp(-
eta));
60 double pp =
pt /
sin(the);
65 double pz = pp *
cos(the);
71 (
fMasterGen->event).
append(
particleID, 23, 1, 0, 0, 0, 101, 0,
px,
py, pz, ee,
mass);
73 (
fMasterGen->event).append(21, 23, 1, 0, 0, 0, 101, 102,
px,
py, pz, ee,
mass);
76 (
fMasterGen->event).
append(
particleID, 1, 1, 0, 0, 0, 0, 0,
px,
py, pz, ee,
mass);
89 (
fMasterGen->event).
append(-
particleID, 23, 1, 0, 0, 0, 0, 101, -
px, -
py, -pz, ee,
mass);
91 (
fMasterGen->event).
append(21, 23, 1, 0, 0, 0, 102, 101, -
px, -
py, -pz, ee,
mass);
94 (
fMasterGen->event).
append(-
particleID, 1, 1, 0, 0, 0, 0, 0, -
px, -
py, -pz, ee,
mass);
96 (
fMasterGen->event).
append(
particleID, 1, 1, 0, 0, 0, 0, 0, -
px, -
py, -pz, ee,
mass);
110 event() = std::make_unique<HepMC::GenEvent>();
edm::GeneratorFilter< gen::Py8PtGun, gen::ExternalDecayDriver > Pythia8PtGun
T getParameter(std::string const &) const
Sin< T >::type sin(const T &t)
const char * classname() const override
Cos< T >::type cos(const T &t)
Abs< T >::type abs(const T &t)
#define DEFINE_FWK_MODULE(type)
std::unique_ptr< HepMC::GenEvent > & event()
std::vector< int > fPartIDs
P8RndmEngine & randomEngine()
bool generatePartonsAndHadronize() override
Py8PtGun(edm::ParameterSet const &)
HepMC::Pythia8ToHepMC toHepMC
std::unique_ptr< Pythia8::Pythia > fMasterGen