Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
struct | Config |
Public Member Functions | |
Pythia8Generator (const Config &cfg, Acts::Logging::Level lvl) | |
~Pythia8Generator () override | |
Pythia8Generator ()=delete | |
Pythia8Generator (const Pythia8Generator &)=delete | |
Pythia8Generator (Pythia8Generator &&)=delete | |
Pythia8Generator & | operator= (const Pythia8Generator &)=delete |
Pythia8Generator & | operator= (Pythia8Generator &&other)=delete |
SimParticleContainer | operator() (RandomEngine &rng) override |
Generate particles for a vertex. | |
Public Member Functions inherited from ActsExamples::EventGenerator::ParticlesGenerator | |
virtual | ~ParticlesGenerator ()=default |
Virtual destructor required. | |
Private Member Functions | |
const Acts::Logger & | logger () const |
Private access to the logging instance. | |
Private Attributes | |
Config | m_cfg |
std::unique_ptr< const Acts::Logger > | m_logger |
std::unique_ptr<::Pythia8::Pythia > | m_pythia8 |
std::mutex | m_pythia8Mutex |
Definition at line 28 of file Pythia8ProcessGenerator.hpp.
View newest version in sPHENIX GitHub at line 28 of file Pythia8ProcessGenerator.hpp
ActsExamples::Pythia8Generator::Pythia8Generator | ( | const Config & | cfg, |
Acts::Logging::Level | lvl | ||
) |
Definition at line 34 of file Pythia8ProcessGenerator.cpp.
View newest version in sPHENIX GitHub at line 34 of file Pythia8ProcessGenerator.cpp
References ACTS_VERBOSE, ActsExamples::Pythia8Generator::Config::cmsEnergy, Acts::UnitConstants::GeV, m_cfg, m_pythia8, ActsExamples::Pythia8Generator::Config::pdgBeam0, ActsExamples::Pythia8Generator::Config::pdgBeam1, and ActsExamples::Pythia8Generator::Config::settings.
|
overridedefault |
|
delete |
|
delete |
|
delete |
|
inlineprivate |
Private access to the logging instance.
Definition at line 58 of file Pythia8ProcessGenerator.hpp.
View newest version in sPHENIX GitHub at line 58 of file Pythia8ProcessGenerator.hpp
References m_logger.
|
overridevirtual |
Generate particles for a vertex.
const
because the Pythia8 generator uses the Pythia8 interfaces, which is non-constrng | Shared random number generator instance |
Implements ActsExamples::EventGenerator::ParticlesGenerator.
Definition at line 56 of file Pythia8ProcessGenerator.cpp.
View newest version in sPHENIX GitHub at line 56 of file Pythia8ProcessGenerator.cpp
References ACTS_VERBOSE, charge(), distance(), it, m_cfg(), mass, testing::internal::move(), out, particle, pdg, Acts::Test::pos, Acts::Test::pos4(), ActsFatras::Particle::setAbsoluteMomentum(), ActsFatras::Particle::setDirection(), ActsFatras::Particle::setPosition4(), and physmon_ckf_tracking::u.
|
delete |
|
delete |
|
private |
Definition at line 60 of file Pythia8ProcessGenerator.hpp.
View newest version in sPHENIX GitHub at line 60 of file Pythia8ProcessGenerator.hpp
Referenced by Pythia8Generator().
|
private |
Definition at line 61 of file Pythia8ProcessGenerator.hpp.
View newest version in sPHENIX GitHub at line 61 of file Pythia8ProcessGenerator.hpp
Referenced by logger().
|
private |
Definition at line 62 of file Pythia8ProcessGenerator.hpp.
View newest version in sPHENIX GitHub at line 62 of file Pythia8ProcessGenerator.hpp
Referenced by Pythia8Generator().
|
private |
Definition at line 63 of file Pythia8ProcessGenerator.hpp.
View newest version in sPHENIX GitHub at line 63 of file Pythia8ProcessGenerator.hpp