Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("HcalValid")
0004 
0005 #Magnetic Field         
0006 process.load("Configuration.StandardSequences.MagneticField_cff")
0007 
0008 #Geometry
0009 process.load("Configuration.Geometry.GeometryExtended2021Reco_cff")
0010 
0011 process.load('FWCore.MessageService.MessageLogger_cfi')
0012 process.MessageLogger.cerr.FwkReport.reportEvery = 5
0013 if hasattr(process,'MessageLogger'):
0014     process.MessageLogger.HcalSim=dict()
0015 
0016 process.maxEvents = cms.untracked.PSet(
0017     input = cms.untracked.int32(-1)
0018 )
0019 
0020 process.source = cms.Source("PoolSource",
0021     fileNames = cms.untracked.vstring('file:step1_ZMM_ddd.root')
0022 )
0023 
0024 process.TFileService = cms.Service("TFileService",
0025                                    fileName = cms.string('hcalDDD2021.root'),
0026                                    closeFileFast = cms.untracked.bool(True)
0027                                    )
0028 
0029 process.load("Validation.HcalHits.hcalSimHitCheck_cfi")
0030 
0031 process.hcalSimHitCheck.outputFile = 'hcalsimcheckDDD.root'
0032 process.hcalSimHitCheck.Verbose = 0
0033 
0034 process.p1 = cms.Path(process.hcalSimHitCheck)
0035 
0036