ATLAS Offline Software
Loading...
Searching...
No Matches
jobOption.ParticleGun_vtx.py
Go to the documentation of this file.
1#! -*- python -*-
2
3# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
4
5include("EvgenProdTools/StdEvgenSetup.py")
6theApp.EvtMax = 100
7
8import ParticleGun as PG
9pg = PG.ParticleGun()
10pg.randomSeed = 123456
11pg.sampler.pid = 13
12pg.sampler.pos = PG.PosSampler(x=3140.0, y=[-154.134,154.134], z=[4938.76,5121.29], t=5929.7)
13pg.sampler.mom = PG.EEtaMPhiSampler(energy=100000, eta=1.25, phi=0.0)
14topSeq += pg
15
16include("EvgenProdTools/postJO.CopyWeights.py")
17include("EvgenProdTools/postJO.PoolOutput.py")
18include("EvgenProdTools/postJO.DumpMC.py")