ATLAS Offline Software
Loading...
Searching...
No Matches
jobOption.ParticleGun_constenergy_flateta.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 = {11,-11,211,111}
12pg.sampler.mom = PG.EEtaMPhiSampler(energy=10000, eta=[-2,2])
13topSeq += pg
14
15include("EvgenProdTools/postJO.CopyWeights.py")
16include("EvgenProdTools/postJO.PoolOutput.py")
17include("EvgenProdTools/postJO.DumpMC.py")