File indexing completed on 2024-04-06 12:11:23
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("PROD")
0004
0005
0006 process.maxEvents = cms.untracked.PSet(
0007 input = cms.untracked.int32(1500)
0008 )
0009
0010
0011 process.load("IOMC.RandomEngine.IOMC_cff")
0012
0013
0014 process.load("Configuration.Generator.QCD_Pt_80_120_cfi")
0015
0016
0017 process.load("FastSimulation.Configuration.CommonInputs_cff")
0018 process.load("FastSimulation.Configuration.FamosSequences_cff")
0019
0020 process.BeamSpotDBSource = cms.ESSource("PoolDBESSource",
0021 process.CondDBSetup,
0022 toGet = cms.VPSet(cms.PSet(
0023 record = cms.string('BeamSpotObjectsRcd'),
0024 tag = cms.string('Early900GeVCollision_7p4cm_V1_IDEAL_V10'))),
0025 connect = cms.string('sqlite_file:EarlyCollision.db'))
0026
0027 process.es_prefer_beamspot = cms.ESPrefer("PoolDBESSource","BeamSpotDBSource")
0028
0029
0030
0031 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0032 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
0033
0034
0035 process.famosPileUp.PileUpSimulator.averageNumber = 5.0
0036
0037 process.fastSimProducer.SimulateCalorimetry = True
0038 for layer in process.fastSimProducer.detectorDefinition.BarrelLayers:
0039 layer.interactionModels = cms.untracked.vstring("pairProduction", "nuclearInteraction", "bremsstrahlung", "energyLoss", "multipleScattering", "trackerSimHits")
0040 for layer in process.fastSimProducer.detectorDefinition.ForwardLayers:
0041 layer.interactionModels = cms.untracked.vstring("pairProduction", "nuclearInteraction", "bremsstrahlung", "energyLoss", "multipleScattering", "trackerSimHits")
0042
0043
0044
0045 process.GlobalTag.globaltag = "STARTUP_V5::All"
0046
0047
0048 process.caloRecHits.RecHitsFactory.doMiscalib = True
0049
0050
0051 process.fastSimProducer.detectorDefinition.trackerAlignmentLabel = cms.untracked.string("MisAligned")
0052 process.misalignedTrackerGeometry.applyAlignment = True
0053
0054
0055 process.caloRecHits.RecHitsFactory.HCAL.Refactor = 1.0
0056 process.caloRecHits.RecHitsFactory.HCAL.Refactor_mean = 1.0
0057
0058
0059 process.load("RecoVertex.BeamSpotProducer.d0_phi_analyzer_cff")
0060
0061
0062 process.p1 = cms.Path(process.famosWithTracks*process.d0_phi_analyzer)
0063
0064
0065
0066
0067 process.load("FastSimulation.Configuration.EventContent_cff")
0068 process.o1 = cms.OutputModule("PoolOutputModule",
0069 process.AODSIMEventContent,
0070 fileName = cms.untracked.string('AODIntegrationTest.root')
0071 )
0072 process.outpath = cms.EndPath(process.o1)
0073
0074
0075
0076 process.load("FWCore/MessageService/MessageLogger_cfi")
0077 process.MessageLogger.cerr.enable = False
0078 process.MessageLogger.files.pyDetailedInfo=dict(extension="txt")
0079
0080
0081 process.options = cms.untracked.PSet( Rethrow = cms.untracked.vstring('ProductNotFound') )