File indexing completed on 2024-08-29 02:16:54
0001
0002
0003
0004
0005
0006
0007
0008
0009 import FWCore.ParameterSet.Config as cms
0010 import os, sys, imp, re
0011 import FWCore.ParameterSet.VarParsing as VarParsing
0012
0013
0014
0015 options = VarParsing.VarParsing('standard')
0016 options.register('geometry',
0017 "D110",
0018 VarParsing.VarParsing.multiplicity.singleton,
0019 VarParsing.VarParsing.varType.string,
0020 "geometry of operations: D95, D96, D98, D99, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114")
0021
0022
0023 options.parseArguments()
0024
0025 print(options)
0026
0027
0028
0029
0030
0031 from Configuration.Eras.Era_Phase2C17I13M9_cff import Phase2C17I13M9
0032 process = cms.Process('PROD',Phase2C17I13M9)
0033
0034 geomFile = "Configuration.Geometry.GeometryExtended2026" + options.geometry + "Reco_cff"
0035 print("Geometry file: ", geomFile)
0036
0037 process.load(geomFile)
0038 process.load("Geometry.HGCalGeometry.hgcalGeometryDump_cfi")
0039 process.load('FWCore.MessageService.MessageLogger_cfi')
0040
0041 if hasattr(process,'MessageLogger'):
0042 process.MessageLogger.HGCalGeom=dict()
0043
0044 process.source = cms.Source("EmptySource")
0045 process.maxEvents = cms.untracked.PSet(
0046 input = cms.untracked.int32(1)
0047 )
0048 process.Timing = cms.Service("Timing")
0049
0050 process.p1 = cms.Path(process.hgcalGeometryDump)