/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimG4Core/PrintGeomInfo/test/python/g4DumpGeometry_cfg.py
41 строка
2 KB
Sunanda
Modify several test scripts in the Simulation packages in view of changing Phase2 scenario default to D121 instead of D110
26 ноя 2025, 13:38
26 ноя 2025, 13:38
3883bcb
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("G4PrintGeometry") #process.load('Configuration.Geometry.GeometryExtended2015Reco_cff') process.load('Configuration.Geometry.GeometryExtended2017Reco_cff') #process.load('Configuration.Geometry.GeometryExtended2021Reco_cff') #process.load('Configuration.Geometry.GeometryExtendedRun4D121Reco_cff') #process.load('Configuration.Geometry.GeometryExtendedRun4D108Reco_cff') from SimG4Core.PrintGeomInfo.g4TestGeometry_cfi import * process = checkOverlap(process) process.MessageLogger.cerr.enable = False process.MessageLogger.files.Ecal2017 = dict(extension ="info") # enable Geant4 overlap check process.g4SimHits.CheckGeometry = cms.bool(True) # Geant4 geometry check process.g4SimHits.G4CheckOverlap.OutputBaseName = cms.string("2017") #process.g4SimHits.G4CheckOverlap.OutputBaseName = cms.string("Run4D121") process.g4SimHits.G4CheckOverlap.OverlapFlag = cms.bool(False) process.g4SimHits.G4CheckOverlap.Tolerance = cms.double(0.0) process.g4SimHits.G4CheckOverlap.Resolution = cms.int32(10000) # tells if NodeName is G4Region or G4PhysicalVolume process.g4SimHits.G4CheckOverlap.RegionFlag = cms.bool(True) # list of region names for which overlap check is performed process.g4SimHits.G4CheckOverlap.NodeNames = cms.vstring('EcalRegion') # enable dump gdml file process.g4SimHits.G4CheckOverlap.gdmlFlag = cms.bool(False) # if defined a G4PhysicsVolume info is printed process.g4SimHits.G4CheckOverlap.PVname = '' # if defined a list of daughter volumes is printed process.g4SimHits.G4CheckOverlap.LVname = 'ECAL' # extra output files, created if a name is not empty process.g4SimHits.FileNameField = '' process.g4SimHits.FileNameGDML = '' process.g4SimHits.FileNameRegions = '' #