CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
step1_ZMM_7Tev.py
Go to the documentation of this file.
1 # Auto generated configuration file
2 # using:
3 # Revision: 1.173
4 # Source: /cvs_server/repositories/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v
5 # with command line options: ZMM_7TeV.cfi -s GEN:ProductionFilterSequence,SIM,DIGI,L1,DIGI2RAW,HLT,RAW2DIGI,L1Reco -n 10 --geometry DB --conditions auto:startup --customise Geometry/RPCGeometry/customise_RPCgeom37X.py --relval 18000,200 --datatier GEN-SIM-DIGI-RAW-HLTDEBUG --eventcontent FEVTDEBUGHLT --fileout file:raw.root
6 import FWCore.ParameterSet.Config as cms
7 
8 process = cms.Process('HLT')
9 
10 # import of standard configurations
11 process.load('Configuration.StandardSequences.Services_cff')
12 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
13 process.load('FWCore.MessageService.MessageLogger_cfi')
14 process.load('Configuration.StandardSequences.MixingNoPileUp_cff')
15 process.load('Configuration.StandardSequences.GeometryDB_cff')
16 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
17 process.load('Configuration.StandardSequences.Generator_cff')
18 process.load('Configuration.StandardSequences.VtxSmearedEarly10TeVCollision_cff')
19 process.load('Configuration.StandardSequences.SimIdeal_cff')
20 process.load('Configuration.StandardSequences.Digi_cff')
21 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
22 process.load('Configuration.StandardSequences.DigiToRaw_cff')
23 process.load('HLTrigger.Configuration.HLT_8E29_cff')
24 process.load('Configuration.StandardSequences.RawToDigi_cff')
25 process.load('Configuration.StandardSequences.L1Reco_cff')
26 process.load('Configuration.StandardSequences.EndOfProcess_cff')
27 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
28 process.load('Configuration.EventContent.EventContent_cff')
29 
30 process.configurationMetadata = cms.untracked.PSet(
31  version = cms.untracked.string('$Revision: 1.173 $'),
32  annotation = cms.untracked.string('ZMM_7TeV.cfi nevts:10'),
33  name = cms.untracked.string('PyReleaseValidation')
34 )
35 process.maxEvents = cms.untracked.PSet(
36  input = cms.untracked.int32(10)
37 )
38 process.options = cms.untracked.PSet(
39 
40 )
41 # Input source
42 process.source = cms.Source("EmptySource")
43 
44 # Output definition
45 process.output = cms.OutputModule("PoolOutputModule",
46  splitLevel = cms.untracked.int32(0),
47  outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
48  fileName = cms.untracked.string('file:raw.root'),
49  dataset = cms.untracked.PSet(
50  dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW-HLTDEBUG'),
51  filterName = cms.untracked.string('')
52  ),
53  SelectEvents = cms.untracked.PSet(
54  SelectEvents = cms.vstring('generation_step')
55  )
56 )
57 
58 # Additional output definition
59 
60 # Other statements
61 process.GlobalTag.globaltag = 'START37_V1::All'
62 process.generator = cms.EDFilter("Pythia6GeneratorFilter",
63  pythiaPylistVerbosity = cms.untracked.int32(0),
64  filterEfficiency = cms.untracked.double(1.0),
65  pythiaHepMCVerbosity = cms.untracked.bool(False),
66  comEnergy = cms.double(7000.0),
67  maxEventsToPrint = cms.untracked.int32(0),
68  PythiaParameters = cms.PSet(
69  pythiaUESettings = cms.vstring('MSTJ(11)=3 ! Choice of the fragmentation function',
70  'MSTJ(22)=2 ! Decay those unstable particles',
71  'PARJ(71)=10 . ! for which ctau 10 mm',
72  'MSTP(2)=1 ! which order running alphaS',
73  'MSTP(33)=0 ! no K factors in hard cross sections',
74  'MSTP(51)=10042 ! structure function chosen (external PDF CTEQ6L1)',
75  'MSTP(52)=2 ! work with LHAPDF',
76  'MSTP(81)=1 ! multiple parton interactions 1 is Pythia default',
77  'MSTP(82)=4 ! Defines the multi-parton model',
78  'MSTU(21)=1 ! Check on possible errors during program execution',
79  'PARP(82)=1.8387 ! pt cutoff for multiparton interactions',
80  'PARP(89)=1960. ! sqrts for which PARP82 is set',
81  'PARP(83)=0.5 ! Multiple interactions: matter distrbn parameter',
82  'PARP(84)=0.4 ! Multiple interactions: matter distribution parameter',
83  'PARP(90)=0.16 ! Multiple interactions: rescaling power',
84  'PARP(67)=2.5 ! amount of initial-state radiation',
85  'PARP(85)=1.0 ! gluon prod. mechanism in MI',
86  'PARP(86)=1.0 ! gluon prod. mechanism in MI',
87  'PARP(62)=1.25 ! ',
88  'PARP(64)=0.2 ! ',
89  'MSTP(91)=1 !',
90  'PARP(91)=2.1 ! kt distribution',
91  'PARP(93)=15.0 ! '),
92  processParameters = cms.vstring('MSEL = 11 ',
93  'MDME( 174,1) = 0 !Z decay into d dbar',
94  'MDME( 175,1) = 0 !Z decay into u ubar',
95  'MDME( 176,1) = 0 !Z decay into s sbar',
96  'MDME( 177,1) = 0 !Z decay into c cbar',
97  'MDME( 178,1) = 0 !Z decay into b bbar',
98  'MDME( 179,1) = 0 !Z decay into t tbar',
99  'MDME( 182,1) = 0 !Z decay into e- e+',
100  'MDME( 183,1) = 0 !Z decay into nu_e nu_ebar',
101  'MDME( 184,1) = 1 !Z decay into mu- mu+',
102  'MDME( 185,1) = 0 !Z decay into nu_mu nu_mubar',
103  'MDME( 186,1) = 0 !Z decay into tau- tau+',
104  'MDME( 187,1) = 0 !Z decay into nu_tau nu_taubar',
105  'CKIN( 1) = 40. !(D=2. GeV)',
106  'CKIN( 2) = -1. !(D=-1. GeV)'),
107  parameterSets = cms.vstring('pythiaUESettings',
108  'processParameters')
109  )
110 )
111 process.mumugenfilter = cms.EDFilter("MCParticlePairFilter",
112  Status = cms.untracked.vint32(1, 1),
113  MinPt = cms.untracked.vdouble(2.5, 2.5),
114  MaxEta = cms.untracked.vdouble(2.5, 2.5),
115  MinEta = cms.untracked.vdouble(-2.5, -2.5),
116  ParticleCharge = cms.untracked.int32(-1),
117  ParticleID1 = cms.untracked.vint32(13),
118  ParticleID2 = cms.untracked.vint32(13)
119 )
120 process.ProductionFilterSequence = cms.Sequence(process.generator*process.mumugenfilter)
121 
122 # Path and EndPath definitions
123 process.generation_step = cms.Path(process.pgen)
124 process.simulation_step = cms.Path(process.psim)
125 process.digitisation_step = cms.Path(process.pdigi)
126 process.L1simulation_step = cms.Path(process.SimL1Emulator)
127 process.digi2raw_step = cms.Path(process.DigiToRaw)
128 process.raw2digi_step = cms.Path(process.RawToDigi)
129 process.L1Reco_step = cms.Path(process.L1Reco)
130 process.endjob_step = cms.Path(process.endOfProcess)
131 process.out_step = cms.EndPath(process.output)
132 
133 # Schedule definition
134 process.schedule = cms.Schedule(process.generation_step,process.simulation_step,process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
135 process.schedule.extend(process.HLTSchedule)
136 process.schedule.extend([process.raw2digi_step,process.L1Reco_step,process.endjob_step,process.out_step])
137 # special treatment in case of production filter sequence
138 for path in process.paths:
139  getattr(process,path)._seq = process.ProductionFilterSequence*getattr(process,path)._seq
140 
141 
142 # Automatic addition of the customisation function
143 def customise(process):
144  process.GlobalTag.toGet = cms.VPSet(
145  cms.PSet(record = cms.string("PCastorRcd"),
146  tag = cms.string("CASTORRECO_Geometry_Tag38YV0"),
147  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
148  ),
149  cms.PSet(record = cms.string("PZdcRcd"),
150  tag = cms.string("ZDCRECO_Geometry_Tag38YV0"),
151  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
152  ),
153  cms.PSet(record = cms.string("PCaloTowerRcd"),
154  tag = cms.string("CTRECO_Geometry_Tag38YV0"),
155  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
156  ),
157  cms.PSet(record = cms.string("PEcalEndcapRcd"),
158  tag = cms.string("EERECO_Geometry_Tag38YV0"),
159  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
160  ),
161  cms.PSet(record = cms.string("CSCRecoDigiParametersRcd"),
162  tag = cms.string("CSCRECODIGI_Geometry_Tag38YV0"),
163  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
164  ),
165  cms.PSet(record = cms.string("CSCRecoGeometryRcd"),
166  tag = cms.string("CSCRECO_Geometry_Tag38YV0"),
167  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
168  ),
169  cms.PSet(record = cms.string("PEcalBarrelRcd"),
170  tag = cms.string("EBRECO_Geometry_Tag38YV0"),
171  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
172  ),
173  cms.PSet(record = cms.string("GeometryFileRcd"),
174  tag = cms.string("XMLFILE_Geometry_IdealGFlash_Tag38YV0"),
175  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY"),
176  label = cms.untracked.string("IdealGFlash")
177  ),
178  cms.PSet(record = cms.string("GeometryFileRcd"),
179  tag = cms.string("XMLFILE_Geometry_Ideal_Tag38YV0"),
180  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY"),
181  label = cms.untracked.string("Ideal")
182  ),
183  cms.PSet(record = cms.string("RPCRecoGeometryRcd"),
184  tag = cms.string("RPCRECO_Geometry_Tag38YV0"),
185  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
186  ),
187  cms.PSet(record = cms.string("DTRecoGeometryRcd"),
188  tag = cms.string("DTRECO_Geometry_Tag38YV0"),
189  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
190  ),
191  cms.PSet(record = cms.string("PEcalPreshowerRcd"),
192  tag = cms.string("EPRECO_Geometry_Tag38YV0"),
193  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
194  ),
195  cms.PSet(record = cms.string("GeometryFileRcd"),
196  tag = cms.string("XMLFILE_Geometry_ExtendedGFlash_Tag38YV0"),
197  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY"),
198  label = cms.untracked.string("ExtendedGFlash")
199  ),
200  cms.PSet(record = cms.string("GeometryFileRcd"),
201  tag = cms.string("XMLFILE_Geometry_Extended_Tag38YV0"),
202  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY"),
203  label = cms.untracked.string("Extended")
204  ),
205  cms.PSet(record = cms.string("IdealGeometryRecord"),
206  tag = cms.string("TKRECO_Geometry_Tag38YV0"),
207  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
208  ),
209  cms.PSet(record = cms.string("PHcalRcd"),
210  tag = cms.string("HCALRECO_Geometry_Tag38YV0"),
211  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
212  )
213  )
214  return(process)
215 
216 
217 
218 # End of customisation function definition
219 
220 process = customise(process)
return(e1-e2)*(e1-e2)+dp *dp