CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RS1GravitonGammaM1500_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/RS1GravitonGammaM1500_cfg.py,v $'),
34  annotation = cms.untracked.string('RelVal FastSim RS-1 Graviton, M=1500 GeV, with decay to photons')
35 )
36 process.ReleaseValidation = cms.untracked.PSet(
37  eventsPerJob = cms.untracked.uint32(1000),
38  totalNumberOfEvents = cms.untracked.uint32(25000),
39  primaryDatasetName = cms.untracked.string('RelValFastSimRS1GravitonGammaM1500')
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(391) =1 ',
72  'MSUB(392) =1 ',
73  'PMAS(347,1) =1500. ! minv ',
74  'PARP(50) = 0.54 ! 0.54 == c=0.1',
75  'MDME(4158,1)=0 ',
76  'MDME(4159,1)=0 ',
77  'MDME(4160,1)=0 ',
78  'MDME(4161,1)=0 ',
79  'MDME(4162,1)=0 ',
80  'MDME(4163,1)=0 ',
81  'MDME(4164,1)=0 ',
82  'MDME(4165,1)=0 ',
83  'MDME(4166,1)=0 ',
84  'MDME(4167,1)=0 ',
85  'MDME(4168,1)=0 ',
86  'MDME(4169,1)=0 ',
87  'MDME(4170,1)=0 ',
88  'MDME(4170,1)=0 ',
89  'MDME(4171,1)=0 ',
90  'MDME(4172,1)=0 ',
91  'MDME(4173,1)=0 ',
92  'MDME(4174,1)=0 ',
93  'MDME(4175,1)=1 ! gamma gamma ',
94  'MDME(4176,1)=0 ',
95  'MDME(4177,1)=0 ',
96  'MDME(4178,1)=0 ',
97  'CKIN(3)=20. ! minimum pt hat for hard interactions',
98  'CKIN(4)=-1. ! maximum pt hat for hard interactions'),
99  # This is a vector of ParameterSet names to be read, in this order
100  parameterSets = cms.vstring('pythiaUESettings',
101  'processParameters')
102  )
103 )
104 
105 process.Timing = cms.Service("Timing")
106 
107 process.o1 = cms.OutputModule("PoolOutputModule",
108  process.FEVTSIMEventContent,
109  dataset = cms.untracked.PSet(
110  dataTier = cms.untracked.string('GEN-SIM-DIGI-RECO')
111  ),
112  fileName = cms.untracked.string('FEVTWithHLT.root')
113 )
114 
115 process.simulation = cms.Path(process.simulationWithFamos+process.genEventScale+process.genEventWeight)
116 process.hltEnd = cms.Sequence(process.dummyModule)
117 process.reconstruction = cms.Path(process.doCalo+process.towerMakerForAll+process.reconstructionWithFamos)
118 process.outpath = cms.EndPath(process.o1)
119 process.famosPileUp.UseTRandomEngine = True
120 process.famosSimHits.UseTRandomEngine = True
121 process.siTrackerGaussianSmearingRecHits.UseTRandomEngine = True
122 process.caloRecHits.UseTRandomEngine = True
123 process.paramMuons.UseTRandomEngine = True
124 process.famosPileUp.PileUpSimulator.averageNumber = 0.0
125 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
126 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
127 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
128 process.famosSimHits.SimulateCalorimetry = True
129 process.famosSimHits.SimulateTracking = True
130 process.MessageLogger.destinations = ['detailedInfo.txt']
131