79 bool passLoop =
false;
93 for (
int i = 0;
i < 10000;
i++) {
121 for (
int j = 0;
j < 100;
j++) {
124 if (v0 <= 0 || lxy * lxy / (coneTheta * coneTheta) > v0 * v0) {
140 passLoop = (passDxy && passLz && passDz);
157 int eventSize = (
fMasterGen->event).size() - 1;
182 int eventSize = (
fMasterGen->event).size() - 1;
195 event() = std::make_unique<HepMC::GenEvent>();
edm::GeneratorFilter< gen::Py8PtAndLxyGun, gen::ExternalDecayDriver > Pythia8PtAndLxyGun
T getParameter(std::string const &) const
~Py8PtAndLxyGun() override
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
Tan< T >::type tan(const T &t)
Abs< T >::type abs(const T &t)
#define DEFINE_FWK_MODULE(type)
double fLzOppositeFraction
std::unique_ptr< HepMC::GenEvent > & event()
std::vector< int > fPartIDs
const char * classname() const override
P8RndmEngine & randomEngine()
bool generatePartonsAndHadronize() override
Py8PtAndLxyGun(edm::ParameterSet const &)
HepMC::Pythia8ToHepMC toHepMC
std::unique_ptr< Pythia8::Pythia > fMasterGen