9 #include <gsl/gsl_rng.h>
53 PHG4InEvent *ineve = findNode::getClass<PHG4InEvent>(topNode,
"PHG4INEVENT");
61 std::vector<PHG4Particle *>::iterator iter;
69 double pt = mom / cosh(eta);
72 particle->
set_px(pt * cos(phi));
73 particle->
set_py(pt * sin(phi));
74 particle->
set_pz(pt * sinh(eta));
78 (*iter)->set_e(particle->
get_e());
79 (*iter)->set_px(particle->
get_px());
80 (*iter)->set_py(particle->
get_py());
81 (*iter)->set_pz(particle->
get_pz());
93 std::cout <<
"PHG4ParticleGenerator settings:" << std::endl;
94 std::cout <<
"ZMin, ZMax: " <<
m_ZMin <<
"/" <<
m_ZMax << std::endl;