CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ZPrimeEEM4000_cfg.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 # Work-around because of a bug in HLT
4 # Reconstruction sequence
5 import FWCore.ParameterSet.Config as cms
6 
7 process = cms.Process("HLT")
8 process.load("Configuration.Generator.PythiaUESettings_cfi")
9 
10 # Famos sequences (With HLT)
11 process.load("FastSimulation.Configuration.CommonInputsFake_cff")
12 
13 process.load("FastSimulation.Configuration.FamosSequences_cff")
14 
15 # L1 Emulator and HLT Setup
16 process.load("FastSimulation.HighLevelTrigger.common.HLTSetup_cff")
17 
18 process.load("PhysicsTools.HepMCCandAlgos.genEventWeight_cfi")
19 
20 process.load("PhysicsTools.HepMCCandAlgos.genEventScale_cfi")
21 
22 # HLT paths
23 process.load("HLTrigger.Configuration.main.HLTpaths_cff")
24 
25 # To write out events
26 process.load("FastSimulation.Configuration.EventContent_cff")
27 
28 # Keep the logging output to a nice level #
29 process.load("FWCore.MessageService.MessageLogger_cfi")
30 
31 process.configurationMetadata = cms.untracked.PSet(
32  version = cms.untracked.string('$Revision: 1.1 $'),
33  name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/FastSimulation/Validation/python/ZPrimeEEM4000_cfg.py,v $'),
34  annotation = cms.untracked.string('RelVal FastSim SSM ZPrime, M=4000 GeV, with decay to electrons')
35 )
36 process.ReleaseValidation = cms.untracked.PSet(
37  eventsPerJob = cms.untracked.uint32(1000),
38  totalNumberOfEvents = cms.untracked.uint32(25000),
39  primaryDatasetName = cms.untracked.string('RelValFastSimZPrimeEEM4000')
40 )
41 process.maxEvents = cms.untracked.PSet(
42  input = cms.untracked.int32(10)
43 )
44 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
45  # This is to initialize the random engines of Famos
46  moduleSeeds = cms.PSet(
47  l1ParamMuons = cms.untracked.uint32(54525),
48  caloRecHits = cms.untracked.uint32(654321),
49  MuonSimHits = cms.untracked.uint32(97531),
50  muonCSCDigis = cms.untracked.uint32(525432),
51  muonDTDigis = cms.untracked.uint32(67673876),
52  famosSimHits = cms.untracked.uint32(13579),
53  paramMuons = cms.untracked.uint32(54525),
54  famosPileUp = cms.untracked.uint32(918273),
55  VtxSmeared = cms.untracked.uint32(123456789),
56  muonRPCDigis = cms.untracked.uint32(524964),
57  siTrackerGaussianSmearingRecHits = cms.untracked.uint32(24680)
58  ),
59  # This is to initialize the random engine of the source
60  sourceSeed = cms.untracked.uint32(123456789)
61 )
62 
63 process.source = cms.Source("PythiaSource",
64  pythiaHepMCVerbosity = cms.untracked.bool(False),
65  maxEventsToPrint = cms.untracked.int32(0),
66  pythiaPylistVerbosity = cms.untracked.int32(0),
67  filterEfficiency = cms.untracked.double(1.0),
68  PythiaParameters = cms.PSet(
69  process.pythiaUESettingsBlock,
70  processParameters = cms.vstring('MSEL = 0 ',
71  'MSUB(141) = 1 !ff gamma z0 Z0',
72  'MSTP(44) = 3 !only select the Z process',
73  'PMAS(32,1) = 4000. !mass of Zprime',
74  'CKIN(1) = 400 !(D=2. GeV)',
75  'MDME(289,1)= 0 !d dbar',
76  'MDME(290,1)= 0 !u ubar',
77  'MDME(291,1)= 0 !s sbar',
78  'MDME(292,1)= 0 !c cbar',
79  'MDME(293,1)= 0 !b bar',
80  'MDME(294,1)= 0 !t tbar',
81  'MDME(295,1)= 0 !4th gen Q Qbar',
82  'MDME(296,1)= 0 !4th gen Q Qbar',
83  'MDME(297,1)= 1 !e e',
84  'MDME(298,1)= 0 !neutrino e e',
85  'MDME(299,1)= 0 ! mu mu',
86  'MDME(300,1)= 0 !neutrino mu mu',
87  'MDME(301,1)= 0 !tau tau',
88  'MDME(302,1)= 0 !neutrino tau tau',
89  'MDME(303,1)= 0 !4th generation lepton',
90  'MDME(304,1)= 0 !4th generation neutrino',
91  'MDME(305,1)= 0 !W W',
92  'MDME(306,1)= 0 !H charged higgs',
93  'MDME(307,1)= 0 !Z',
94  'MDME(308,1)= 0 !Z',
95  'MDME(309,1)= 0 !sm higgs',
96  'MDME(310,1)= 0 !weird neutral higgs HA'),
97  # This is a vector of ParameterSet names to be read, in this order
98  parameterSets = cms.vstring('pythiaUESettings',
99  'processParameters')
100  )
101 )
102 
103 process.Timing = cms.Service("Timing")
104 
105 process.o1 = cms.OutputModule("PoolOutputModule",
106  process.FEVTSIMEventContent,
107  dataset = cms.untracked.PSet(
108  dataTier = cms.untracked.string('GEN-SIM-DIGI-RECO')
109  ),
110  fileName = cms.untracked.string('FEVTWithHLT.root')
111 )
112 
113 process.simulation = cms.Path(process.simulationWithFamos+process.genEventScale+process.genEventWeight)
114 process.hltEnd = cms.Sequence(process.dummyModule)
115 process.reconstruction = cms.Path(process.doCalo+process.towerMakerForAll+process.reconstructionWithFamos)
116 process.outpath = cms.EndPath(process.o1)
117 process.famosPileUp.UseTRandomEngine = True
118 process.famosSimHits.UseTRandomEngine = True
119 process.siTrackerGaussianSmearingRecHits.UseTRandomEngine = True
120 process.caloRecHits.UseTRandomEngine = True
121 process.paramMuons.UseTRandomEngine = True
122 process.famosPileUp.PileUpSimulator.averageNumber = 0.0
123 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
124 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
125 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
126 process.famosSimHits.SimulateCalorimetry = True
127 process.famosSimHits.SimulateTracking = True
128 process.MessageLogger.destinations = ['detailedInfo.txt']
129