00001
00002
00003
00004
00005
00006 import FWCore.ParameterSet.Config as cms
00007
00008 process = cms.Process('HLT')
00009
00010
00011 process.load('Configuration.StandardSequences.Services_cff')
00012 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
00013 process.load('FWCore.MessageService.MessageLogger_cfi')
00014 process.load('Configuration.StandardSequences.MixingNoPileUp_cff')
00015 process.load('Configuration.StandardSequences.GeometryDB_cff')
00016 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
00017 process.load('Configuration.StandardSequences.Generator_cff')
00018 process.load('Configuration.StandardSequences.VtxSmearedEarly10TeVCollision_cff')
00019 process.load('Configuration.StandardSequences.SimIdeal_cff')
00020 process.load('Configuration.StandardSequences.Digi_cff')
00021 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
00022 process.load('Configuration.StandardSequences.DigiToRaw_cff')
00023 process.load('HLTrigger.Configuration.HLT_8E29_cff')
00024 process.load('Configuration.StandardSequences.RawToDigi_cff')
00025 process.load('Configuration.StandardSequences.L1Reco_cff')
00026 process.load('Configuration.StandardSequences.EndOfProcess_cff')
00027 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
00028 process.load('Configuration.EventContent.EventContent_cff')
00029
00030 process.configurationMetadata = cms.untracked.PSet(
00031 version = cms.untracked.string('$Revision: 1.1 $'),
00032 annotation = cms.untracked.string('ZMM_7TeV.cfi nevts:10'),
00033 name = cms.untracked.string('PyReleaseValidation')
00034 )
00035 process.maxEvents = cms.untracked.PSet(
00036 input = cms.untracked.int32(10)
00037 )
00038 process.options = cms.untracked.PSet(
00039
00040 )
00041
00042 process.source = cms.Source("EmptySource")
00043
00044
00045 process.output = cms.OutputModule("PoolOutputModule",
00046 splitLevel = cms.untracked.int32(0),
00047 outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
00048 fileName = cms.untracked.string('file:raw.root'),
00049 dataset = cms.untracked.PSet(
00050 dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW-HLTDEBUG'),
00051 filterName = cms.untracked.string('')
00052 ),
00053 SelectEvents = cms.untracked.PSet(
00054 SelectEvents = cms.vstring('generation_step')
00055 )
00056 )
00057
00058
00059
00060
00061 process.GlobalTag.globaltag = 'START37_V1::All'
00062 process.generator = cms.EDFilter("Pythia6GeneratorFilter",
00063 pythiaPylistVerbosity = cms.untracked.int32(0),
00064 filterEfficiency = cms.untracked.double(1.0),
00065 pythiaHepMCVerbosity = cms.untracked.bool(False),
00066 comEnergy = cms.double(7000.0),
00067 maxEventsToPrint = cms.untracked.int32(0),
00068 PythiaParameters = cms.PSet(
00069 pythiaUESettings = cms.vstring('MSTJ(11)=3 ! Choice of the fragmentation function',
00070 'MSTJ(22)=2 ! Decay those unstable particles',
00071 'PARJ(71)=10 . ! for which ctau 10 mm',
00072 'MSTP(2)=1 ! which order running alphaS',
00073 'MSTP(33)=0 ! no K factors in hard cross sections',
00074 'MSTP(51)=10042 ! structure function chosen (external PDF CTEQ6L1)',
00075 'MSTP(52)=2 ! work with LHAPDF',
00076 'MSTP(81)=1 ! multiple parton interactions 1 is Pythia default',
00077 'MSTP(82)=4 ! Defines the multi-parton model',
00078 'MSTU(21)=1 ! Check on possible errors during program execution',
00079 'PARP(82)=1.8387 ! pt cutoff for multiparton interactions',
00080 'PARP(89)=1960. ! sqrts for which PARP82 is set',
00081 'PARP(83)=0.5 ! Multiple interactions: matter distrbn parameter',
00082 'PARP(84)=0.4 ! Multiple interactions: matter distribution parameter',
00083 'PARP(90)=0.16 ! Multiple interactions: rescaling power',
00084 'PARP(67)=2.5 ! amount of initial-state radiation',
00085 'PARP(85)=1.0 ! gluon prod. mechanism in MI',
00086 'PARP(86)=1.0 ! gluon prod. mechanism in MI',
00087 'PARP(62)=1.25 ! ',
00088 'PARP(64)=0.2 ! ',
00089 'MSTP(91)=1 !',
00090 'PARP(91)=2.1 ! kt distribution',
00091 'PARP(93)=15.0 ! '),
00092 processParameters = cms.vstring('MSEL = 11 ',
00093 'MDME( 174,1) = 0 !Z decay into d dbar',
00094 'MDME( 175,1) = 0 !Z decay into u ubar',
00095 'MDME( 176,1) = 0 !Z decay into s sbar',
00096 'MDME( 177,1) = 0 !Z decay into c cbar',
00097 'MDME( 178,1) = 0 !Z decay into b bbar',
00098 'MDME( 179,1) = 0 !Z decay into t tbar',
00099 'MDME( 182,1) = 0 !Z decay into e- e+',
00100 'MDME( 183,1) = 0 !Z decay into nu_e nu_ebar',
00101 'MDME( 184,1) = 1 !Z decay into mu- mu+',
00102 'MDME( 185,1) = 0 !Z decay into nu_mu nu_mubar',
00103 'MDME( 186,1) = 0 !Z decay into tau- tau+',
00104 'MDME( 187,1) = 0 !Z decay into nu_tau nu_taubar',
00105 'CKIN( 1) = 40. !(D=2. GeV)',
00106 'CKIN( 2) = -1. !(D=-1. GeV)'),
00107 parameterSets = cms.vstring('pythiaUESettings',
00108 'processParameters')
00109 )
00110 )
00111 process.mumugenfilter = cms.EDFilter("MCParticlePairFilter",
00112 Status = cms.untracked.vint32(1, 1),
00113 MinPt = cms.untracked.vdouble(2.5, 2.5),
00114 MaxEta = cms.untracked.vdouble(2.5, 2.5),
00115 MinEta = cms.untracked.vdouble(-2.5, -2.5),
00116 ParticleCharge = cms.untracked.int32(-1),
00117 ParticleID1 = cms.untracked.vint32(13),
00118 ParticleID2 = cms.untracked.vint32(13)
00119 )
00120 process.ProductionFilterSequence = cms.Sequence(process.generator*process.mumugenfilter)
00121
00122
00123 process.generation_step = cms.Path(process.pgen)
00124 process.simulation_step = cms.Path(process.psim)
00125 process.digitisation_step = cms.Path(process.pdigi)
00126 process.L1simulation_step = cms.Path(process.SimL1Emulator)
00127 process.digi2raw_step = cms.Path(process.DigiToRaw)
00128 process.raw2digi_step = cms.Path(process.RawToDigi)
00129 process.L1Reco_step = cms.Path(process.L1Reco)
00130 process.endjob_step = cms.Path(process.endOfProcess)
00131 process.out_step = cms.EndPath(process.output)
00132
00133
00134 process.schedule = cms.Schedule(process.generation_step,process.simulation_step,process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
00135 process.schedule.extend(process.HLTSchedule)
00136 process.schedule.extend([process.raw2digi_step,process.L1Reco_step,process.endjob_step,process.out_step])
00137
00138 for path in process.paths:
00139 getattr(process,path)._seq = process.ProductionFilterSequence*getattr(process,path)._seq
00140
00141
00142
00143 def customise(process):
00144 process.GlobalTag.toGet = cms.VPSet(
00145 cms.PSet(record = cms.string("PCastorRcd"),
00146 tag = cms.string("CASTORRECO_Geometry_Tag38YV0"),
00147 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00148 ),
00149 cms.PSet(record = cms.string("PZdcRcd"),
00150 tag = cms.string("ZDCRECO_Geometry_Tag38YV0"),
00151 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00152 ),
00153 cms.PSet(record = cms.string("PCaloTowerRcd"),
00154 tag = cms.string("CTRECO_Geometry_Tag38YV0"),
00155 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00156 ),
00157 cms.PSet(record = cms.string("PEcalEndcapRcd"),
00158 tag = cms.string("EERECO_Geometry_Tag38YV0"),
00159 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00160 ),
00161 cms.PSet(record = cms.string("CSCRecoDigiParametersRcd"),
00162 tag = cms.string("CSCRECODIGI_Geometry_Tag38YV0"),
00163 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00164 ),
00165 cms.PSet(record = cms.string("CSCRecoGeometryRcd"),
00166 tag = cms.string("CSCRECO_Geometry_Tag38YV0"),
00167 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00168 ),
00169 cms.PSet(record = cms.string("PEcalBarrelRcd"),
00170 tag = cms.string("EBRECO_Geometry_Tag38YV0"),
00171 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00172 ),
00173 cms.PSet(record = cms.string("GeometryFileRcd"),
00174 tag = cms.string("XMLFILE_Geometry_IdealGFlash_Tag38YV0"),
00175 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY"),
00176 label = cms.untracked.string("IdealGFlash")
00177 ),
00178 cms.PSet(record = cms.string("GeometryFileRcd"),
00179 tag = cms.string("XMLFILE_Geometry_Ideal_Tag38YV0"),
00180 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY"),
00181 label = cms.untracked.string("Ideal")
00182 ),
00183 cms.PSet(record = cms.string("RPCRecoGeometryRcd"),
00184 tag = cms.string("RPCRECO_Geometry_Tag38YV0"),
00185 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00186 ),
00187 cms.PSet(record = cms.string("DTRecoGeometryRcd"),
00188 tag = cms.string("DTRECO_Geometry_Tag38YV0"),
00189 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00190 ),
00191 cms.PSet(record = cms.string("PEcalPreshowerRcd"),
00192 tag = cms.string("EPRECO_Geometry_Tag38YV0"),
00193 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00194 ),
00195 cms.PSet(record = cms.string("GeometryFileRcd"),
00196 tag = cms.string("XMLFILE_Geometry_ExtendedGFlash_Tag38YV0"),
00197 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY"),
00198 label = cms.untracked.string("ExtendedGFlash")
00199 ),
00200 cms.PSet(record = cms.string("GeometryFileRcd"),
00201 tag = cms.string("XMLFILE_Geometry_Extended_Tag38YV0"),
00202 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY"),
00203 label = cms.untracked.string("Extended")
00204 ),
00205 cms.PSet(record = cms.string("IdealGeometryRecord"),
00206 tag = cms.string("TKRECO_Geometry_Tag38YV0"),
00207 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00208 ),
00209 cms.PSet(record = cms.string("PHcalRcd"),
00210 tag = cms.string("HCALRECO_Geometry_Tag38YV0"),
00211 connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_GEOMETRY")
00212 )
00213 )
00214 return(process)
00215
00216
00217
00218
00219
00220 process = customise(process)