1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import FWCore.ParameterSet.Config as cms
from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
process = cms.Process("HcalParametersTest",Run3_dd4hep)
process.load("Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff")
process.load('FWCore.MessageService.MessageLogger_cfi')
process.MessageLogger.cerr.FwkReport.reportEvery = 5
if hasattr(process,'MessageLogger'):
process.MessageLogger.HCalGeom=dict()
process.source = cms.Source("EmptySource")
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
)
process.hpa = cms.EDAnalyzer("HcalSimParametersAnalyzer")
process.p1 = cms.Path(process.hpa)
|