Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-09 23:35:37

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