61 (
fMasterGen->event).
append(990, -11, 0, 0, 2, 1 + NTotParticles, 0, 0, 0., 0., 0., 15000., 15000.);
80 bool passLoop =
false;
95 for (
int i = 0;
i < 10000;
i++) {
116 for (
int j = 0;
j < 100;
j++) {
119 if (v0 <= 0 || lxy * lxy / (coneTheta * coneTheta) > v0 * v0) {
126 passLoop = (passLxy && passLz);
138 (
fMasterGen->event).
append(
particleID, 23, 1, 0, 0, 0, 101, 0,
px,
py, pz, ee,
mass);
140 (
fMasterGen->event).append(21, 23, 1, 0, 0, 0, 101, 102,
px,
py, pz, ee,
mass);
143 (
fMasterGen->event).
append(
particleID, 1, 1, 0, 0, 0, 0, 0,
px,
py, pz, ee,
mass);
144 int eventSize = (
fMasterGen->event).size() - 1;
157 (
fMasterGen->event).
append(-
particleID, 23, 1, 0, 0, 0, 0, 101, -
px, -
py, -pz, ee,
mass);
159 (
fMasterGen->event).
append(21, 23, 1, 0, 0, 0, 102, 101, -
px, -
py, -pz, ee,
mass);
162 (
fMasterGen->event).
append(-
particleID, 1, 1, 0, 0, 0, 0, 0, -
px, -
py, -pz, ee,
mass);
164 (
fMasterGen->event).
append(
particleID, 1, 1, 0, 0, 0, 0, 0, -
px, -
py, -pz, ee,
mass);
166 int eventSize = (
fMasterGen->event).size() - 1;
179 event() = std::make_unique<HepMC::GenEvent>();
T getParameter(std::string const &) const
edm::GeneratorFilter< gen::Py8PtAndDxyGun, gen::ExternalDecayDriver > Pythia8PtAndDxyGun
Sin< T >::type sin(const T &t)
bool generatePartonsAndHadronize() override
Py8PtAndDxyGun(edm::ParameterSet const &)
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
~Py8PtAndDxyGun() override
P8RndmEngine & randomEngine()
HepMC::Pythia8ToHepMC toHepMC
std::unique_ptr< Pythia8::Pythia > fMasterGen
const char * classname() const override