EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Classes | |
struct | Config |
Public Member Functions | |
ParametricParticleGenerator (const Config &cfg) | |
SimParticleContainer | operator() (RandomEngine &rng) const |
Generate a single primary 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 ParametricParticleGenerator.hpp.
View newest version in sPHENIX GitHub at line 27 of file ParametricParticleGenerator.hpp
ActsExamples::ParametricParticleGenerator::ParametricParticleGenerator | ( | const Config & | cfg | ) |
Definition at line 16 of file ParametricParticleGenerator.cpp.
View newest version in sPHENIX GitHub at line 16 of file ParametricParticleGenerator.cpp
ActsExamples::SimParticleContainer ActsExamples::ParametricParticleGenerator::operator() | ( | RandomEngine & | rng | ) | const |
Generate a single primary vertex with the given number of particles.
Definition at line 23 of file ParametricParticleGenerator.cpp.
View newest version in sPHENIX GitHub at line 23 of file ParametricParticleGenerator.cpp
References cos(), Acts::Test::d0Dist(), Acts::VectorHelpers::eta(), Acts::Test::etaDist(), ip(), Acts::makeDirectionUnitFromPhiEta(), particle, pdg, phi, Acts::Test::phiDist(), pid, ActsFatras::Particle::setAbsMomentum(), ActsFatras::Particle::setDirection(), ActsFatras::Barcode::setParticle(), ActsFatras::Particle::setPosition4(), Acts::UnitConstants::u, and Acts::Test::z0Dist().
|
private |
Definition at line 57 of file ParametricParticleGenerator.hpp.
View newest version in sPHENIX GitHub at line 57 of file ParametricParticleGenerator.hpp
|
private |
Definition at line 59 of file ParametricParticleGenerator.hpp.
View newest version in sPHENIX GitHub at line 59 of file ParametricParticleGenerator.hpp
|
private |
Definition at line 60 of file ParametricParticleGenerator.hpp.
View newest version in sPHENIX GitHub at line 60 of file ParametricParticleGenerator.hpp