CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ZEE_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/ZEE_cfg.py,v $'),
34  annotation = cms.untracked.string('RelVal FastSim Z to ee')
35 )
36 process.ReleaseValidation = cms.untracked.PSet(
37  eventsPerJob = cms.untracked.uint32(1000),
38  totalNumberOfEvents = cms.untracked.uint32(25000),
39  primaryDatasetName = cms.untracked.string('RelValFastSimZEE')
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 = 11 ',
71  'MDME( 174,1) = 0 !Z decay into d dbar',
72  'MDME( 175,1) = 0 !Z decay into u ubar',
73  'MDME( 176,1) = 0 !Z decay into s sbar',
74  'MDME( 177,1) = 0 !Z decay into c cbar',
75  'MDME( 178,1) = 0 !Z decay into b bbar',
76  'MDME( 179,1) = 0 !Z decay into t tbar',
77  'MDME( 182,1) = 1 !Z decay into e- e+',
78  'MDME( 183,1) = 0 !Z decay into nu_e nu_ebar',
79  'MDME( 184,1) = 0 !Z decay into mu- mu+',
80  'MDME( 185,1) = 0 !Z decay into nu_mu nu_mubar',
81  'MDME( 186,1) = 0 !Z decay into tau- tau+',
82  'MDME( 187,1) = 0 !Z decay into nu_tau nu_taubar',
83  'CKIN( 1) = 40. !(D=2. GeV)',
84  'CKIN( 2) = -1. !(D=-1. GeV)'),
85  # This is a vector of ParameterSet names to be read, in this order
86  parameterSets = cms.vstring('pythiaUESettings',
87  'processParameters')
88  )
89 )
90 
91 process.Timing = cms.Service("Timing")
92 
93 process.o1 = cms.OutputModule("PoolOutputModule",
94  process.FEVTSIMEventContent,
95  dataset = cms.untracked.PSet(
96  dataTier = cms.untracked.string('GEN-SIM-DIGI-RECO')
97  ),
98  fileName = cms.untracked.string('FEVTWithHLT.root')
99 )
100 
101 process.simulation = cms.Path(process.simulationWithFamos+process.genEventScale+process.genEventWeight)
102 process.hltEnd = cms.Sequence(process.dummyModule)
103 process.reconstruction = cms.Path(process.doCalo+process.towerMakerForAll+process.reconstructionWithFamos)
104 process.outpath = cms.EndPath(process.o1)
105 process.famosPileUp.UseTRandomEngine = True
106 process.famosSimHits.UseTRandomEngine = True
107 process.siTrackerGaussianSmearingRecHits.UseTRandomEngine = True
108 process.caloRecHits.UseTRandomEngine = True
109 process.paramMuons.UseTRandomEngine = True
110 process.famosPileUp.PileUpSimulator.averageNumber = 0.0
111 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
112 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
113 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
114 process.famosSimHits.SimulateCalorimetry = True
115 process.famosSimHits.SimulateTracking = True
116 process.MessageLogger.destinations = ['detailedInfo.txt']
117