CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoTau_DiTaus_pt_20-420_cfg.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 # This is a vector of ParameterSet names to be read, in this order
4 
5 # Tau jets (configuration by A. Nikitenko)
6 
7 import FWCore.ParameterSet.Config as cms
8 
9 process = cms.Process("Test")
10 process.load("FWCore.MessageService.MessageLogger_cfi")
11 
12 process.load("Configuration.StandardSequences.Reconstruction_cff")
13 
14 process.load("Configuration.StandardSequences.Simulation_cff")
15 
16 process.load("Configuration.StandardSequences.MixingNoPileUp_cff")
17 
18 process.load("Configuration.StandardSequences.VtxSmearedGauss_cff")
19 
20 # Event output
21 process.load("Configuration.EventContent.EventContent_cff")
22 
23 process.maxEvents = cms.untracked.PSet(
24  input = cms.untracked.int32(1)
25 )
26 process.source = cms.Source("PythiaSource",
27  Phimin = cms.untracked.double(0.0),
28  # possibility to run single or double back-to-back particles with PYTHIA
29  # if ParticleID = 0, run PYTHIA
30  ParticleID = cms.untracked.int32(-15),
31  Etamin = cms.untracked.double(0.0),
32  DoubleParticle = cms.untracked.bool(True),
33  Phimax = cms.untracked.double(360.0),
34  Ptmin = cms.untracked.double(20.0),
35  Ptmax = cms.untracked.double(420.0),
36  Etamax = cms.untracked.double(2.4),
37  pythiaVerbosity = cms.untracked.bool(False),
38  PythiaParameters = cms.PSet(
39  pythiaUESettings = cms.vstring('MSTJ(11)=3 ! Choice of the fragmentation function', 'MSTJ(22)=2 ! Decay those unstable particles', 'PARJ(71)=10 . ! for which ctau 10 mm', 'MSTP(2)=1 ! which order running alphaS', 'MSTP(33)=0 ! no K factors in hard cross sections', 'MSTP(51)=7 ! structure function chosen', 'MSTP(81)=1 ! multiple parton interactions 1 is Pythia default', 'MSTP(82)=4 ! Defines the multi-parton model', 'MSTU(21)=1 ! Check on possible errors during program execution', 'PARP(82)=1.9409 ! pt cutoff for multiparton interactions', 'PARP(89)=1960. ! sqrts for which PARP82 is set', 'PARP(83)=0.5 ! Multiple interactions: matter distrbn parameter', 'PARP(84)=0.4 ! Multiple interactions: matter distribution parameter', 'PARP(90)=0.16 ! Multiple interactions: rescaling power', 'PARP(67)=2.5 ! amount of initial-state radiation', 'PARP(85)=1.0 ! gluon prod. mechanism in MI', 'PARP(86)=1.0 ! gluon prod. mechanism in MI', 'PARP(62)=1.25 ! ', 'PARP(64)=0.2 ! ', 'MSTP(91)=1 !', 'PARP(91)=2.1 ! kt distribution', 'PARP(93)=15.0 ! '),
40  parameterSets = cms.vstring('pythiaUESettings', 'pythiaTauJets'),
41  pythiaTauJets = cms.vstring('MDME(89,1)=0 ! no tau->electron', 'MDME(90,1)=0 ! no tau->muon')
42  )
43 )
44 
45 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
46  moduleSeeds = cms.PSet(
47  g4SimHits = cms.untracked.uint32(11),
48  mix = cms.untracked.uint32(12345),
49  VtxSmeared = cms.untracked.uint32(98765432)
50  ),
51  sourceSeed = cms.untracked.uint32(123456789)
52 )
53 
54 process.FEVT = cms.OutputModule("PoolOutputModule",
55  process.FEVTSIMEventContent,
56  datasets = cms.untracked.PSet(
57  dataset1 = cms.untracked.PSet(
58  dataTier = cms.untracked.string('FEVT')
59  )
60  ),
61  fileName = cms.untracked.string('file:tau_jets.root')
62 )
63 
64 process.p1 = cms.Path(process.psim)
65 process.p2 = cms.Path(process.pdigi)
66 process.p3 = cms.Path(process.reconstruction_plusRS_plus_GSF)
67 process.outpath = cms.EndPath(process.FEVT)
68 process.schedule = cms.Schedule(process.p1,process.p2,process.p3,process.outpath)
69 
70 process.MessageLogger.cout.threshold = 'ERROR'
71 process.MessageLogger.cerr.default.limit = 10
72 process.g4SimHits.Physics.type = 'SimG4Core/Physics/QGSP_EMV'
73