ATLAS Offline Software
Loading...
Searching...
No Matches
jobOption.ParticleGun_fwd_sequence.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 = (2112, 22, 2112, 22)
12pg.sampler.mom = PG.EThetaMPhiSampler(energy=(1360000, 500000, 1360000, 500000),
13 theta=(0, 0, PG.PI, PG.PI))
14pg.sampler.pos = PG.PosSampler(x=[-120,-100], y=[-10,10], z=203950)
15topSeq += pg
16
17include("EvgenProdTools/postJO.CopyWeights.py")
18include("EvgenProdTools/postJO.PoolOutput.py")
19include("EvgenProdTools/postJO.DumpMC.py")