ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FW::ParametricProcessGenerator Class Reference

#include <acts/blob/master/Examples/Algorithms/Generators/ACTFW/Generators/ParametricProcessGenerator.hpp>

+ Collaboration diagram for FW::ParametricProcessGenerator:

Classes

struct  Config
 

Public Member Functions

 ParametricProcessGenerator (const Config &cfg)
 
std::vector< SimVertexoperator() (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
 

Detailed Description

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

Constructor & Destructor Documentation

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

Member Function Documentation

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().

+ Here is the call graph for this function:

Member Data Documentation

Config FW::ParametricProcessGenerator::m_cfg
private

Definition at line 57 of file ParametricProcessGenerator.hpp.

View newest version in sPHENIX GitHub at line 57 of file ParametricProcessGenerator.hpp

double FW::ParametricProcessGenerator::m_charge
private

Definition at line 59 of file ParametricProcessGenerator.hpp.

View newest version in sPHENIX GitHub at line 59 of file ParametricProcessGenerator.hpp

double FW::ParametricProcessGenerator::m_mass
private

Definition at line 60 of file ParametricProcessGenerator.hpp.

View newest version in sPHENIX GitHub at line 60 of file ParametricProcessGenerator.hpp


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