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