ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Examples/Algorithms/Generators/ACTFW/Generators/ParametricProcessGenerator.hpp>
Classes | |
struct | Config |
Public Member Functions | |
ParametricProcessGenerator (const Config &cfg) | |
std::vector< SimVertex > | operator() (RandomEngine &rng) const |
Generate a single process vertex with the given number of particles. | |
Private Attributes | |
Config | m_cfg |
double | m_charge |
double | m_mass |
Generate particles from uniform parameter distributions.
Generates a single process vertex with the given number of tracks. Each track's momentum and direction is drawn from uniform parameter distributions. Position and time are always set to zero.
Definition at line 27 of file ParametricProcessGenerator.hpp.
View newest version in sPHENIX GitHub at line 27 of file ParametricProcessGenerator.hpp
FW::ParametricProcessGenerator::ParametricProcessGenerator | ( | const Config & | cfg | ) |
Definition at line 16 of file ParametricProcessGenerator.cpp.
View newest version in sPHENIX GitHub at line 16 of file ParametricProcessGenerator.cpp
std::vector< FW::SimVertex > FW::ParametricProcessGenerator::operator() | ( | FW::RandomEngine & | rng | ) | const |
Generate a single process vertex with the given number of particles.
Definition at line 22 of file ParametricProcessGenerator.cpp.
View newest version in sPHENIX GitHub at line 22 of file ParametricProcessGenerator.cpp
References Acts::Test::d0Dist(), Acts::VectorHelpers::eta(), Acts::Test::etaDist(), Acts::makeDirectionUnitFromPhiEta(), FW::SimVertex::outgoing, particle, pdg, phi, Acts::Test::phiDist(), pid, pt, ActsFatras::Particle::setAbsMomentum(), ActsFatras::Particle::setDirection(), ActsFatras::Barcode::setParticle(), ActsFatras::Particle::setPosition4(), Acts::UnitConstants::u, G4InuclParticleNames::z0, and Acts::Test::z0Dist().
|
private |
Definition at line 57 of file ParametricProcessGenerator.hpp.
View newest version in sPHENIX GitHub at line 57 of file ParametricProcessGenerator.hpp
|
private |
Definition at line 59 of file ParametricProcessGenerator.hpp.
View newest version in sPHENIX GitHub at line 59 of file ParametricProcessGenerator.hpp
|
private |
Definition at line 60 of file ParametricProcessGenerator.hpp.
View newest version in sPHENIX GitHub at line 60 of file ParametricProcessGenerator.hpp