Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("GeometryTest")
0004 
0005 process.maxEvents = cms.untracked.PSet(  input = cms.untracked.int32(1) )
0006 
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008 
0009 
0010 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0011 process.load("Configuration.StandardSequences.Reconstruction_cff")
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 
0014 from Configuration.AlCa.GlobalTag import GlobalTag
0015 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0016 
0017 
0018 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0019 process.MessageLogger.cerr.threshold = 'DEBUG'
0020 # 
0021 process.MessageLogger.debugModules = ['analyzer']
0022 #process.MessageLogger.cerr.DEBUG = cms.untracked.PSet(
0023 #    threshold = cms.untracked.string('DEBUG'),
0024 #    default          = cms.untracked.PSet( limit = cms.untracked.int32(0)  )
0025 #    TkDetLayers = cms.untracked.PSet( limit = cms.untracked.int32(-1) )
0026 #    )
0027 
0028 #cat debug | grep -v MSG | grep -v "Run:" | grep -v analyzer > debug.readable
0029 
0030 process.source = cms.Source("EmptySource")
0031 
0032 process.analyzer = cms.EDAnalyzer("TkDetLayersAnalyzer")
0033 process.p1 = cms.Path(process.analyzer)
0034 
0035