File indexing completed on 2024-04-06 12:14:28
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("EcalGeometryTest")
0004
0005 process.load("Geometry.HcalCommonData.hcalDDDSimConstants_cff")
0006 process.load("Geometry.HcalCommonData.hcalDDDRecConstants_cfi")
0007 process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff")
0008 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi");
0009 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0010 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0011 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0012 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0013 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0014 process.load("Geometry.EcalAlgo.ecalPreshowerCellParameterDump_cfi")
0015 process.load('FWCore.MessageService.MessageLogger_cfi')
0016
0017 if hasattr(process,'MessageLogger'):
0018 process.MessageLogger.EcalGeom=dict()
0019
0020 process.source = cms.Source("EmptySource")
0021 process.maxEvents = cms.untracked.PSet(
0022 input = cms.untracked.int32(1)
0023 )
0024
0025 process.TFileService = cms.Service("TFileService",
0026 fileName = cms.string('studyES.root')
0027 )
0028
0029 process.CaloGeometryBuilder.SelectedCalos = ['EcalBarrel', 'EcalEndcap', 'EcalPreshower']
0030 process.ecalPreshowerCellParameterDump.debug = True
0031
0032 process.p1 = cms.Path(process.ecalPreshowerCellParameterDump)