Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
acts.examples.simulation Namespace Reference

Functions

def addParticleGun
 
def addPythia8
 
def addParticleSelection
 
def addFatras
 
def addSimWriters
 
def getG4DetectorConstructionFactory
 
def addGeant4
 
def addDigitization
 

Variables

tuple MomentumConfig
 
tuple EtaConfig
 
tuple PhiConfig namedtuple("PhiConfig", ["min", "max"], defaults=[None, None])
 
tuple ParticleConfig
 
tuple ParticleSelectorConfig
 
 momentumConfig MomentumConfig,
 
 etaConfig EtaConfig,
 
 phiConfig PhiConfig,
 
 particleConfig ParticleConfig,
 
 __geant4Handle None
 

Function Documentation

def acts.examples.simulation.addDigitization (   s)

Definition at line 742 of file simulation.py.

View newest version in sPHENIX GitHub at line 742 of file simulation.py

References acts.examples.defaultLogging(), and str.

Referenced by acts.examples.simulation.addGeant4(), physmon_ckf_tracking.run_ckf_tracking(), physmon_vertexing.run_vertexing(), ckf_tracks.runCKFTracks(), ckf.runCKFTracks(), digitization.runDigitization(), seeding.runSeeding(), truth_tracking_gsf.runTruthTrackingGsf(), truth_tracking_gx2f.runTruthTrackingGx2f(), truth_tracking_kalman.runTruthTrackingKalman(), and test_examples.test_itk_seeding().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def acts.examples.simulation.addFatras (   s)

Definition at line 390 of file simulation.py.

View newest version in sPHENIX GitHub at line 390 of file simulation.py

References acts.examples.simulation.addParticleSelection(), acts.examples.simulation.addSimWriters(), acts.examples.defaultKWArgs(), acts.examples.defaultLogging(), and acts.examples.simulation.ParticleSelectorConfig.

Referenced by acts.examples.simulation.addParticleSelection(), physmon_ckf_tracking.run_ckf_tracking(), physmon_vertexing.run_vertexing(), ckf_tracks.runCKFTracks(), ckf.runCKFTracks(), digitization.runDigitization(), fatras.runFatras(), seeding.runSeeding(), truth_tracking_gsf.runTruthTrackingGsf(), truth_tracking_gx2f.runTruthTrackingGx2f(), truth_tracking_kalman.runTruthTrackingKalman(), and test_examples.test_itk_seeding().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def acts.examples.simulation.addGeant4 (   s)

Definition at line 601 of file simulation.py.

View newest version in sPHENIX GitHub at line 601 of file simulation.py

References acts.examples.simulation.addDigitization(), acts.examples.simulation.addParticleSelection(), acts.examples.simulation.addSimWriters(), acts.examples.defaultLogging(), acts.examples.simulation.getG4DetectorConstructionFactory(), and acts.examples.simulation.ParticleSelectorConfig.

Referenced by geant4.runGeant4(), and geant4_parallel.runGeant4EventRange().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def acts.examples.simulation.addParticleGun (   s)
def acts.examples.simulation.addParticleSelection (   s)

Definition at line 333 of file simulation.py.

View newest version in sPHENIX GitHub at line 333 of file simulation.py

References acts.examples.simulation.addFatras(), acts.examples.defaultKWArgs(), and acts.examples.defaultLogging().

Referenced by acts.examples.simulation.addFatras(), acts.examples.simulation.addGeant4(), and acts.examples.simulation.addPythia8().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def acts.examples.simulation.addPythia8 (   s)

Definition at line 179 of file simulation.py.

View newest version in sPHENIX GitHub at line 179 of file simulation.py

References acts.examples.simulation.addParticleSelection(), acts.examples.defaultKWArgs(), acts.examples.defaultLogging(), and str.

Referenced by acts.examples.simulation.addParticleGun(), pythia8.runPythia8(), and vertex_fitting.runVertexFitting().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def acts.examples.simulation.addSimWriters (   s)

Definition at line 506 of file simulation.py.

View newest version in sPHENIX GitHub at line 506 of file simulation.py

References acts.examples.defaultLogging(), acts.examples.simulation.getG4DetectorConstructionFactory(), and str.

Referenced by acts.examples.simulation.addFatras(), and acts.examples.simulation.addGeant4().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def acts.examples.simulation.getG4DetectorConstructionFactory (   detector)

Definition at line 573 of file simulation.py.

View newest version in sPHENIX GitHub at line 573 of file simulation.py

References print(), and parse_cmake_options.type.

Referenced by acts.examples.simulation.addGeant4(), and acts.examples.simulation.addSimWriters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

acts.examples.simulation.__geant4Handle None

Definition at line 597 of file simulation.py.

View newest version in sPHENIX GitHub at line 597 of file simulation.py

acts.examples.simulation.etaConfig EtaConfig,

Definition at line 54 of file simulation.py.

View newest version in sPHENIX GitHub at line 54 of file simulation.py

tuple acts.examples.simulation.MomentumConfig
Initial value:
1 namedtuple(
2  "MomentumConfig",
3  ["min", "max", "transverse"],
4  defaults=[None, None, None],
5 )

Definition at line 18 of file simulation.py.

View newest version in sPHENIX GitHub at line 18 of file simulation.py

Referenced by acts.examples.simulation.addParticleGun(), physmon_ckf_tracking.run_ckf_tracking(), physmon_vertexing.run_vertexing(), truth_tracking_gsf.runTruthTrackingGsf(), truth_tracking_gx2f.runTruthTrackingGx2f(), truth_tracking_kalman.runTruthTrackingKalman(), and test_examples.test_itk_seeding().

acts.examples.simulation.momentumConfig MomentumConfig,

Definition at line 53 of file simulation.py.

View newest version in sPHENIX GitHub at line 53 of file simulation.py

tuple acts.examples.simulation.ParticleConfig
Initial value:
1 namedtuple(
2  "ParticleConfig",
3  ["num", "pdg", "randomizeCharge", "charge", "mass"],
4  defaults=[None, None, None, None, None],
5 )

Definition at line 27 of file simulation.py.

View newest version in sPHENIX GitHub at line 27 of file simulation.py

Referenced by acts.examples.simulation.addParticleGun(), physmon_ckf_tracking.run_ckf_tracking(), physmon_vertexing.run_vertexing(), ckf_tracks.runCKFTracks(), ckf.runCKFTracks(), digitization.runDigitization(), particle_gun.runParticleGun(), seeding.runSeeding(), truth_tracking_gsf.runTruthTrackingGsf(), truth_tracking_gx2f.runTruthTrackingGx2f(), truth_tracking_kalman.runTruthTrackingKalman(), and test_examples.test_itk_seeding().

acts.examples.simulation.particleConfig ParticleConfig,

Definition at line 56 of file simulation.py.

View newest version in sPHENIX GitHub at line 56 of file simulation.py

tuple acts.examples.simulation.ParticleSelectorConfig
Initial value:
1 namedtuple(
2  "ParticleSelectorConfig",
3  [
4  "rho", # (min,max)
5  "absZ", # (min,max)
6  "time", # (min,max)
7  "phi", # (min,max)
8  "eta", # (min,max)
9  "absEta", # (min,max)
10  "pt", # (min,max)
11  "m", # (min,max)
12  "measurements", # (min,max)
13  "removeCharged", # bool
14  "removeNeutral", # bool
15  "removeSecondaries", # bool
16  ],
17  defaults=[(None, None)] * 9 + [None] * 3,
18 )

Definition at line 32 of file simulation.py.

View newest version in sPHENIX GitHub at line 32 of file simulation.py

Referenced by acts.examples.simulation.addFatras(), and acts.examples.simulation.addGeant4().

tuple acts.examples.simulation.PhiConfig namedtuple("PhiConfig", ["min", "max"], defaults=[None, None])
acts.examples.simulation.phiConfig PhiConfig,

Definition at line 55 of file simulation.py.

View newest version in sPHENIX GitHub at line 55 of file simulation.py