CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TTbarLowLumiPileup_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/TTbarLowLumiPileup_cfg.py,v $'),
34  annotation = cms.untracked.string('RelVal FastSim ttbar plus low lumi pileup')
35 )
36 process.ReleaseValidation = cms.untracked.PSet(
37  eventsPerJob = cms.untracked.uint32(1000),
38  totalNumberOfEvents = cms.untracked.uint32(25000),
39  primaryDatasetName = cms.untracked.string('RelValFastSimTTbarLowLumiPileup')
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 ! User defined processes',
71  'MSUB(81) = 1 ! qqbar to QQbar',
72  'MSUB(82) = 1 ! gg to QQbar',
73  'MSTP(7) = 6 ! flavour = top',
74  'PMAS(6,1) = 175. ! top quark mass'),
75  # This is a vector of ParameterSet names to be read, in this order
76  parameterSets = cms.vstring('pythiaUESettings',
77  'processParameters')
78  )
79 )
80 
81 process.Timing = cms.Service("Timing")
82 
83 process.o1 = cms.OutputModule("PoolOutputModule",
84  process.FEVTSIMEventContent,
85  dataset = cms.untracked.PSet(
86  dataTier = cms.untracked.string('GEN-SIM-DIGI-RECO')
87  ),
88  fileName = cms.untracked.string('FEVTWithHLT.root')
89 )
90 
91 process.simulation = cms.Path(process.simulationWithFamos+process.genEventScale+process.genEventWeight)
92 process.hltEnd = cms.Sequence(process.dummyModule)
93 process.reconstruction = cms.Path(process.doCalo+process.towerMakerForAll+process.reconstructionWithFamos)
94 process.outpath = cms.EndPath(process.o1)
95 process.famosPileUp.UseTRandomEngine = True
96 process.famosSimHits.UseTRandomEngine = True
97 process.siTrackerGaussianSmearingRecHits.UseTRandomEngine = True
98 process.caloRecHits.UseTRandomEngine = True
99 process.paramMuons.UseTRandomEngine = True
100 process.famosPileUp.PileUpSimulator.averageNumber = 5.0
101 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
102 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
103 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
104 process.famosSimHits.SimulateCalorimetry = True
105 process.famosSimHits.SimulateTracking = True
106 process.MessageLogger.destinations = ['detailedInfo.txt']
107