Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-05 02:29:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
0005 process = cms.Process('SIM',Phase2C11)
0006 process.load("Geometry.MuonCommonData.testGE0XML_cfi")
0007 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0008 process.load("Geometry.MuonNumbering.muonOffsetESProducer_cff")
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 
0011 from SimG4Core.PrintGeomInfo.g4TestGeometry_cfi import *
0012 process = checkOverlap(process)
0013 
0014 #if hasattr(process,'MessageLogger'):
0015 #    process.MessageLogger.SimG4CoreGeometry=dict()
0016 
0017 # enable Geant4 overlap check 
0018 process.g4SimHits.CheckGeometry = True
0019 
0020 # Geant4 geometry check 
0021 process.g4SimHits.G4CheckOverlap.OutputBaseName = cms.string("ge0")
0022 process.g4SimHits.G4CheckOverlap.OverlapFlag = cms.bool(True)
0023 process.g4SimHits.G4CheckOverlap.Tolerance  = cms.double(0.01)
0024 process.g4SimHits.G4CheckOverlap.Resolution = cms.int32(10000)
0025 process.g4SimHits.G4CheckOverlap.Depth      = cms.int32(-1)
0026 # tells if NodeName is G4Region or G4PhysicalVolume
0027 process.g4SimHits.G4CheckOverlap.RegionFlag = cms.bool(False)
0028 # list of names
0029 process.g4SimHits.G4CheckOverlap.NodeNames  = cms.vstring('OCMS')
0030 # enable dump gdml file 
0031 process.g4SimHits.G4CheckOverlap.gdmlFlag   = cms.bool(False)
0032 # if defined a G4PhysicsVolume info is printed
0033 process.g4SimHits.G4CheckOverlap.PVname     = ''
0034 # if defined a list of daughter volumes is printed
0035 process.g4SimHits.G4CheckOverlap.LVname     = ''
0036 
0037 # extra output files, created if a name is not empty
0038 process.g4SimHits.FileNameField   = ''
0039 process.g4SimHits.FileNameGDML    = ''
0040 process.g4SimHits.FileNameRegions = ''
0041 #