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

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

+ Collaboration diagram for ActsExamples::ParametricParticleGenerator::Config:

Public Attributes

double phiMin = -M_PI
 Low, high (exclusive) for the transverse direction angle.
 
double phiMax = M_PI
 
double thetaMin = std::numeric_limits<double>::min()
 
double thetaMax = M_PI - std::numeric_limits<double>::epsilon()
 
bool etaUniform = false
 
double pMin = 1 * Acts::UnitConstants::GeV
 Low, high (exclusive) for absolute/transverse momentum.
 
double pMax = 10 * Acts::UnitConstants::GeV
 
bool pTransverse = false
 Indicate if the momentum referse to transverse momentum.
 
Acts::PdgParticle pdg = Acts::PdgParticle::eMuon
 (Absolute) PDG particle number to identify the particle type.
 
bool randomizeCharge = false
 Randomize the charge and flip the PDG particle number sign accordingly.
 
size_t numParticles = 1
 Number of particles.
 
std::optional< doublecharge
 Overrides particle charge.
 
std::optional< doublemass
 Overrides particle mass.
 

Detailed Description

Definition at line 33 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 33 of file ParametricParticleGenerator.hpp

Member Data Documentation

std::optional<double> ActsExamples::ParametricParticleGenerator::Config::charge

Overrides particle charge.

Definition at line 62 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 62 of file ParametricParticleGenerator.hpp

bool ActsExamples::ParametricParticleGenerator::Config::etaUniform = false

Definition at line 48 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 48 of file ParametricParticleGenerator.hpp

std::optional<double> ActsExamples::ParametricParticleGenerator::Config::mass

Overrides particle mass.

Definition at line 64 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 64 of file ParametricParticleGenerator.hpp

size_t ActsExamples::ParametricParticleGenerator::Config::numParticles = 1

Number of particles.

Definition at line 59 of file ParametricParticleGenerator.hpp.

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

Acts::PdgParticle ActsExamples::ParametricParticleGenerator::Config::pdg = Acts::PdgParticle::eMuon

(Absolute) PDG particle number to identify the particle type.

Definition at line 55 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 55 of file ParametricParticleGenerator.hpp

double ActsExamples::ParametricParticleGenerator::Config::phiMax = M_PI

Definition at line 36 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 36 of file ParametricParticleGenerator.hpp

double ActsExamples::ParametricParticleGenerator::Config::phiMin = -M_PI

Low, high (exclusive) for the transverse direction angle.

Definition at line 35 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 35 of file ParametricParticleGenerator.hpp

double ActsExamples::ParametricParticleGenerator::Config::pMax = 10 * Acts::UnitConstants::GeV

Definition at line 51 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 51 of file ParametricParticleGenerator.hpp

double ActsExamples::ParametricParticleGenerator::Config::pMin = 1 * Acts::UnitConstants::GeV

Low, high (exclusive) for absolute/transverse momentum.

Definition at line 50 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 50 of file ParametricParticleGenerator.hpp

bool ActsExamples::ParametricParticleGenerator::Config::pTransverse = false

Indicate if the momentum referse to transverse momentum.

Definition at line 53 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 53 of file ParametricParticleGenerator.hpp

bool ActsExamples::ParametricParticleGenerator::Config::randomizeCharge = false

Randomize the charge and flip the PDG particle number sign accordingly.

Definition at line 57 of file ParametricParticleGenerator.hpp.

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

double ActsExamples::ParametricParticleGenerator::Config::thetaMax = M_PI - std::numeric_limits<double>::epsilon()

Definition at line 47 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 47 of file ParametricParticleGenerator.hpp

double ActsExamples::ParametricParticleGenerator::Config::thetaMin = std::numeric_limits<double>::min()

Low, high (inclusive) for the longitudinal direction angle.

This intentionally uses theta instead of eta so it can represent the full direction space with finite values.

Note
This is the standard generation, for detector performance classification, where a flat distribution in eta can be useful, this can be set by the etaUniform flag;

Definition at line 46 of file ParametricParticleGenerator.hpp.

View newest version in sPHENIX GitHub at line 46 of file ParametricParticleGenerator.hpp


The documentation for this struct was generated from the following file: