CMS 3D CMS Logo

Py8PtLxyGun_4tau_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #Note: distances in mm instead of in cm usually used in CMS
4 generator = cms.EDFilter("Pythia8PtAndLxyGun",
5 
6  maxEventsToPrint = cms.untracked.int32(1),
7  pythiaPylistVerbosity = cms.untracked.int32(1),
8  pythiaHepMCVerbosity = cms.untracked.bool(True),
9 
10  PGunParameters = cms.PSet(
11  ParticleID = cms.vint32(-15, -15),
12  AddAntiParticle = cms.bool(True), # antiparticle has opposite momentum and production point symmetric wrt (0,0,0) compared to corresponding particle
13  MinPt = cms.double(15.00),
14  MaxPt = cms.double(300.00),
15  MinEta = cms.double(-2.5),
16  MaxEta = cms.double(2.5),
17  MinPhi = cms.double(-3.14159265359),
18  MaxPhi = cms.double(3.14159265359),
19  LxyMin = cms.double(0.0),
20  LxyMax = cms.double(550.0), # most tau generated within TOB (55cm)
21  LzMax = cms.double(300.0),
22  dxyMax = cms.double(30.0),
23  dzMax = cms.double(120.0),
24  ConeRadius = cms.double(1000.0),
25  ConeH = cms.double(3000.0),
26  DistanceToAPEX = cms.double(850.0),
27  LxyBackFraction = cms.double(0.0), # fraction of particles going back towards to center at transverse plan; numbers outside the [0,1] range are set to 0 or 1
28  LzOppositeFraction = cms.double(0.0), # fraction of particles going in opposite direction wrt to center along beam-line than in transverse plane; numbers outside the [0,1] range are set to 0 or 1
29  ),
30 
31  Verbosity = cms.untracked.int32(0),
32  psethack = cms.string('displaced taus'),
33  firstRun = cms.untracked.uint32(1),
34  PythiaParameters = cms.PSet(parameterSets = cms.vstring())
35 )