Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-03-14 23:24:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TICLDEBUG")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
0007 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0008 from Configuration.AlCa.GlobalTag import GlobalTag
0009 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T15', '')
0010 
0011 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0012 
0013 process.source = cms.Source("PoolSource",
0014     # replace 'myfile.root' with the source file you want to use
0015     fileNames = cms.untracked.vstring(
0016         'file:step3.root'
0017     )
0018 )
0019 
0020 process.load("RecoHGCal.TICL.ticlDebugger_cfi")
0021 process.load("SimGeneral.Debugging.caloParticleDebugger_cfi")
0022 
0023 # MessageLogger customizations
0024 process.MessageLogger.cerr.enable = False
0025 process.MessageLogger.cout.enable = False
0026 label = 'TICLDebugger'
0027 messageLogger = dict()
0028 main_key = '%sMessageLogger'%(label)
0029 messageLogger[main_key] = dict(
0030         filename = '%s.log' % (label),
0031         threshold = 'INFO',
0032         default = dict(limit=0)
0033         )
0034 messageLogger[main_key][label] = dict(limit=-1)
0035 # First create defaults
0036 setattr(process.MessageLogger.files, label, dict())
0037 # Then modify them
0038 setattr(process.MessageLogger.files, label, messageLogger[main_key])
0039 
0040 process.p = cms.Path(process.ticlDebugger+process.caloParticleDebugger)
0041