Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-07 22:22:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #Note: distances in mm instead of in cm usually used in CMS
0004 generator = cms.EDFilter("Pythia8PtAndLxyGun",
0005 
0006     maxEventsToPrint = cms.untracked.int32(1),
0007     pythiaPylistVerbosity = cms.untracked.int32(1),
0008     pythiaHepMCVerbosity = cms.untracked.bool(True),
0009 
0010     PGunParameters = cms.PSet(
0011         ParticleID = cms.vint32(-15, -15),
0012         AddAntiParticle = cms.bool(True), # antiparticle has opposite momentum and production point symmetric wrt (0,0,0) compared to corresponding particle
0013         MinPt  = cms.double(15.00),
0014         MaxPt  = cms.double(300.00),
0015         MinEta = cms.double(-2.5),
0016         MaxEta = cms.double(2.5),
0017         MinPhi = cms.double(-3.14159265359),
0018         MaxPhi = cms.double(3.14159265359),
0019         LxyMin = cms.double(0.0),
0020         LxyMax = cms.double(550.0), # most tau generated within TOB (55cm)
0021         LzMax = cms.double(300.0),
0022         dxyMax = cms.double(30.0),
0023         dzMax = cms.double(120.0),
0024         ConeRadius = cms.double(1000.0),
0025         ConeH = cms.double(3000.0),
0026         DistanceToAPEX = cms.double(850.0),
0027         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
0028         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
0029     ),
0030 
0031     Verbosity = cms.untracked.int32(0), ## set to 1 (or greater)  for printouts
0032     psethack = cms.string('displaced taus'),
0033     firstRun = cms.untracked.uint32(1),
0034     PythiaParameters = cms.PSet(parameterSets = cms.vstring())
0035 )