Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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("Configuration.Geometry.GeometryExtended2021Reco_cff")
0006 #from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
0007 #process = cms.Process('PROD',Run3_dd4hep)
0008 #process.load("Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff")
0009 #from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
0010 #process = cms.Process('PROD',Phase2C11)
0011 #process.load("Configuration.Geometry.GeometryExtended2026D77Reco_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('matbdgRun3dddXML.root')
0038 #   fileName = cms.string('matbdgRun3dd4hepXML.root')
0039 #   fileName = cms.string('matbdgPhase2XML.root')
0040 )
0041 
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)