5 include(
"EvgenProdTools/StdEvgenSetup.py")
8 import ParticleGun
as PG
11 "A special sampler with two _correlated_ particles."
14 self.
mom1 = PG.PtEtaMPhiSampler(pt=25000, eta=[-2,2])
17 "Return a vector of sampled particles"
18 p1 = PG.SampledParticle(11, self.
mom1.
shoot())
22 mom2 = PG.PtEtaMPhiSampler(pt=25000,
23 eta=[eta1-0.5, eta1+0.5],
24 phi=[phi1-0.5, phi1+0.5])
25 p2 = PG.SampledParticle(11, mom2.shoot())
28 topSeq += PG.ParticleGun()
29 topSeq.ParticleGun.randomSeed = 123456
32 include(
"EvgenProdTools/postJO.CopyWeights.py")
33 include(
"EvgenProdTools/postJO.PoolOutput.py")
34 include(
"EvgenProdTools/postJO.DumpMC.py")