Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-12-24 02:22:26

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_DDD_cff import Run3_DDD
0004 process = cms.Process('PROD',Run3_DDD)
0005 process.load('SimG4Core.PrintGeomInfo.cmsExtendedGeometry2021_cfi')
0006 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cff")
0007 process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff")
0008 process.load("Geometry.HcalCommonData.hcalDDDSimConstants_cff")
0009 process.load("Geometry.HcalCommonData.hcalDDDRecConstants_cfi")
0010 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0011 process.load("Geometry.MuonNumbering.muonOffsetESProducer_cff")
0012 
0013 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0014 process.load("Configuration.StandardSequences.MagneticField_cff")
0015 process.load("SimG4Core.Application.g4SimHits_cfi")
0016 process.load("Validation.Geometry.materialBudgetVolume_cfi")
0017 
0018 process.load("IOMC.RandomEngine.IOMC_cff")
0019 process.RandomNumberGeneratorService.g4SimHits.initialSeed = 9876
0020 
0021 process.load('FWCore.MessageService.MessageLogger_cfi')
0022 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1000)
0023 if hasattr(process,'MessageLogger'):
0024     process.MessageLogger.MaterialBudget=dict()
0025 
0026 process.source = cms.Source("PoolSource",
0027     noEventSort = cms.untracked.bool(True),
0028     duplicateCheckMode = cms.untracked.string("noDuplicateCheck"),
0029     fileNames = cms.untracked.vstring('file:single_neutrino_random.root')
0030 )
0031 
0032 process.maxEvents = cms.untracked.PSet(
0033     input = cms.untracked.int32(-1)
0034 )
0035 
0036 process.TFileService = cms.Service("TFileService",
0037     fileName = cms.string('matbdgRun3dddBigXML.root')
0038 )
0039 
0040 process.g4SimHits.UseMagneticField = False
0041 process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics'
0042 process.g4SimHits.StackingAction.TrackNeutrino = True
0043 process.g4SimHits.Physics.DummyEMPhysics = True
0044 process.g4SimHits.Physics.CutsPerRegion = False
0045 
0046 process.load("Validation.Geometry.materialBudgetVolumeAnalysis_cfi")
0047 process.p1 = cms.Path(process.g4SimHits+process.materialBudgetVolumeAnalysis)