Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::Pythia8Generator Class Reference

#include <acts/blob/sPHENIX/Examples/Algorithms/GeneratorsPythia8/ActsExamples/Generators/Pythia8ProcessGenerator.hpp>

+ Inheritance diagram for ActsExamples::Pythia8Generator:
+ Collaboration diagram for ActsExamples::Pythia8Generator:

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
 
Pythia8Generatoroperator= (const Pythia8Generator &)=delete
 
Pythia8Generatoroperator= (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::Loggerlogger () 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
 

Detailed Description

Definition at line 28 of file Pythia8ProcessGenerator.hpp.

View newest version in sPHENIX GitHub at line 28 of file Pythia8ProcessGenerator.hpp

Constructor & Destructor Documentation

ActsExamples::Pythia8Generator::~Pythia8Generator ( )
overridedefault
ActsExamples::Pythia8Generator::Pythia8Generator ( )
delete
ActsExamples::Pythia8Generator::Pythia8Generator ( const Pythia8Generator )
delete
ActsExamples::Pythia8Generator::Pythia8Generator ( Pythia8Generator &&  )
delete

Member Function Documentation

const Acts::Logger& ActsExamples::Pythia8Generator::logger ( ) const
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.

ActsExamples::SimParticleContainer ActsExamples::Pythia8Generator::operator() ( RandomEngine rng)
overridevirtual

Generate particles for a vertex.

Note
This method cannot be const because the Pythia8 generator uses the Pythia8 interfaces, which is non-const
Parameters
rngShared random number generator instance
Returns
SimParticleContainer The populated particle container for the vertex

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.

+ Here is the call graph for this function:

Pythia8Generator& ActsExamples::Pythia8Generator::operator= ( const Pythia8Generator )
delete
Pythia8Generator& ActsExamples::Pythia8Generator::operator= ( Pythia8Generator &&  other)
delete

Member Data Documentation

Config ActsExamples::Pythia8Generator::m_cfg
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().

std::unique_ptr<const Acts::Logger> ActsExamples::Pythia8Generator::m_logger
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().

std::unique_ptr<::Pythia8::Pythia> ActsExamples::Pythia8Generator::m_pythia8
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().

std::mutex ActsExamples::Pythia8Generator::m_pythia8Mutex
private

Definition at line 63 of file Pythia8ProcessGenerator.hpp.

View newest version in sPHENIX GitHub at line 63 of file Pythia8ProcessGenerator.hpp


The documentation for this class was generated from the following files: