![]() |
ATLAS Offline Software
|
Functions | |
| ParticleGunBaseCfg (flags) | |
| ParticleGun_flatpt_2particleCfg (flags) | |
| ParticleGun_SingleMuonBasicCfg (flags) | |
| ParticleGun_SingleMuonCfg (flags) | |
| ParticleGun_SingleElectronCfg (flags) | |
| ParticleGun_SinglePionCfg (flags) | |
| ALFA_SingleParticlePreInclude (flags) | |
| ParticleGun_ALFA_SingleParticleCfg (flags) | |
| ZDC_SingleParticlePreInclude (flags) | |
| ParticleGun_ZDC_SingleParticleCfg (flags) | |
| ParticleGun_TestBeam_SingleParticleCfg (flags) | |
| _makeMomentumSampler (PG, samplerType="EEtaMPhi", **kwargs) | |
| ParticleGun_SteeredSingleParticleCfg (flags, *, pid, samplerType="EEtaMPhi", randomStream="SINGLE", randomSeed=None, **kwargs) | |
|
protected |
Factory for the various PG momentum samplers. kwargs are passed through to the corresponding sampler.
Definition at line 136 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ALFA_SingleParticlePreInclude | ( | flags | ) |
Definition at line 67 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ParticleGun_ALFA_SingleParticleCfg | ( | flags | ) |
Definition at line 78 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ParticleGun_flatpt_2particleCfg | ( | flags | ) |
Definition at line 14 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ParticleGun_SingleElectronCfg | ( | flags | ) |
Definition at line 47 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ParticleGun_SingleMuonBasicCfg | ( | flags | ) |
Definition at line 27 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ParticleGun_SingleMuonCfg | ( | flags | ) |
Definition at line 37 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ParticleGun_SinglePionCfg | ( | flags | ) |
Definition at line 57 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ParticleGun_SteeredSingleParticleCfg | ( | flags, | |
| * | , | ||
| pid, | |||
| samplerType = "EEtaMPhi", | |||
| randomStream = "SINGLE", | |||
| randomSeed = None, | |||
| ** | kwargs ) |
Generic single-particle gun configuration steered via arguments.
Parameters
----------
pid : int or sequence
PDG ID (or sampler) for the primary particle.
samplerType : str
Which momentum sampler to use: "EEtaMPhi", "PtEtaMPhi", "EThetaMPhi".
randomStream : str
Name of the random stream (defaults to "SINGLE").
randomSeed : int or None
Random seed (defaults to flags.Random.SeedOffset if None).
momKwargs : dict
Keyword arguments passed to the momentum sampler factory.
E.g. for samplerType="EEtaMPhi":
energy=50000, eta=0
for samplerType="PtEtaMPhi":
pt=[4000, 100000], eta=[-2.5, 2.5]
Definition at line 173 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ParticleGun_TestBeam_SingleParticleCfg | ( | flags | ) |
Definition at line 108 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ParticleGun_ZDC_SingleParticleCfg | ( | flags | ) |
Definition at line 96 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ParticleGunBaseCfg | ( | flags | ) |
Definition at line 6 of file ParticleGunConfig.py.
| python.ParticleGunConfig.ZDC_SingleParticlePreInclude | ( | flags | ) |
Definition at line 88 of file ParticleGunConfig.py.