![]() |
ATLAS Offline Software
|
Public Member Functions | |
| __init__ (self, name="ParticleGun", randomStream="ParticleGun", randomSeed=None) | |
| sampler (self) | |
| sampler (self, s) | |
| initialize (self) | |
| fillEvent (self, evt) | |
Public Attributes | |
| list | samplers = [ParticleSampler()] |
| Make and fill particles. | |
| randomStream = randomStream | |
| randomSeed = randomSeed | |
A simple but flexible algorithm for generating events from simple distributions.
Definition at line 17 of file Generators/ParticleGun/python/__init__.py.
| python.ParticleGun.__init__ | ( | self, | |
| name = "ParticleGun", | |||
| randomStream = "ParticleGun", | |||
| randomSeed = None ) |
Definition at line 22 of file Generators/ParticleGun/python/__init__.py.
| python.ParticleGun.fillEvent | ( | self, | |
| evt ) |
Sample a list of particle properties, which are then used to create a new GenEvent in StoreGate.
Definition at line 42 of file Generators/ParticleGun/python/__init__.py.
| python.ParticleGun.initialize | ( | self | ) |
Definition at line 38 of file Generators/ParticleGun/python/__init__.py.
| python.ParticleGun.sampler | ( | self | ) |
Definition at line 29 of file Generators/ParticleGun/python/__init__.py.
| python.ParticleGun.sampler | ( | self, | |
| s ) |
Definition at line 33 of file Generators/ParticleGun/python/__init__.py.
| python.ParticleGun.randomSeed = randomSeed |
Definition at line 26 of file Generators/ParticleGun/python/__init__.py.
| python.ParticleGun.randomStream = randomStream |
Definition at line 25 of file Generators/ParticleGun/python/__init__.py.
| list python.ParticleGun.samplers = [ParticleSampler()] |
Make and fill particles.
Definition at line 24 of file Generators/ParticleGun/python/__init__.py.