Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-07 22:22:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
0004 from Configuration.Eras.Era_Run3_cff import Run3
0005 
0006 #process = cms.Process('HcalGeometryTest',Run2_2018)
0007 process = cms.Process('HcalGeometryTest',Run3)
0008 
0009 # import of standard configurations
0010 process.load('Configuration.StandardSequences.Services_cff')
0011 process.load('FWCore.MessageService.MessageLogger_cfi')
0012 #process.load('Configuration.Geometry.GeometryExtended2018Reco_cff')
0013 process.load('Configuration.Geometry.GeometryExtended2021Reco_cff')
0014 process.load('Geometry.HcalTowerAlgo.hcalGeometryDetIdTester_cfi')
0015 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0016 from Configuration.AlCa.GlobalTag import GlobalTag
0017 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2018_realistic', '')
0018 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0019 
0020 process.source = cms.Source("EmptySource")
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(1)
0023     )
0024 
0025 process.hcalGeometryDetIdTester.DetectorMin = 1
0026 #process.hcalGeometryDetIdTester.DetectorMin = 2
0027 process.hcalGeometryDetIdTester.DetectorMax = 2
0028 
0029 process.Timing = cms.Service("Timing")
0030 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0031 
0032 process.p1 = cms.Path(process.hcalGeometryDetIdTester)