Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:31:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Analysis")
0004 
0005 # import of standard configurations
0006 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0007 process.load('Configuration.Geometry.GeometryExtended2019Reco_cff')
0008 process.load('Configuration.StandardSequences.MagneticField_cff')
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 process.load('Validation.HcalHits.hcalGeomCheck_cfi')
0011 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0012 from Configuration.AlCa.GlobalTag import GlobalTag
0013 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:mc', '')
0014 
0015 if hasattr(process,'MessageLogger'):
0016     process.MessageLogger.HcalValidation=dict()
0017 
0018 
0019 process.source = cms.Source("PoolSource",
0020                             fileNames = cms.untracked.vstring(
0021         'file:step1.root',
0022 #       'root://cms-xrd-global.cern.ch//store/relval/CMSSW_9_1_1_patch1/RelValSingleElectronPt35Extended/GEN-SIM-RECO/91X_upgrade2023_realistic_v1_D17-v1/10000/10D95AC2-B14A-E711-BC4A-0CC47A7C3638.root',
0023         )
0024                             )
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(-1)
0028 )
0029 
0030 process.Timing = cms.Service("Timing")
0031 
0032 # Additional output definition
0033 process.TFileService = cms.Service("TFileService",
0034                                    fileName = cms.string('hcalGeomCheck.root'),
0035                                    closeFileFast = cms.untracked.bool(True)
0036                             )
0037 
0038 # Path definitions
0039 process.analysis_step = cms.Path(process.hcalGeomCheck)
0040 
0041 # Schedule definition
0042 process.schedule = cms.Schedule(process.analysis_step)
0043 
0044 process.hcalGeomCheck.verbosity = 0