Go to the documentation of this file.
47 double the = 2. * atan(
exp(-
eta));
57 double pz =
pp *
cos(the);
102 event() = std::make_unique<HepMC::GenEvent>();
std::unique_ptr< Pythia8::Pythia > fMasterGen
const char * classname() const override
bool generatePartonsAndHadronize() override
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
#define DEFINE_FWK_MODULE(type)
Py8PtotGun(edm::ParameterSet const &)
P8RndmEngine & randomEngine()
std::vector< int > fPartIDs
edm::GeneratorFilter< gen::Py8PtotGun, gen::ExternalDecayDriver > Pythia8PtotGun
std::unique_ptr< HepMC::GenEvent > & event()
HepMC::Pythia8ToHepMC toHepMC
T getParameter(std::string const &) const
Abs< T >::type abs(const T &t)