Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:46:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 # Message logger service
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 
0007 # Ideal geometry
0008 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0009 
0010 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0011 
0012 # Reading from DB
0013 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0014 
0015 process.source = cms.Source("EmptySource")
0016 
0017 process.maxEvents = cms.untracked.PSet(
0018     input = cms.untracked.int32(1)
0019 )
0020 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0021     process.CondDBSetup,
0022     toGet = cms.VPSet(cms.PSet(
0023         record = cms.string('TrackerAlignmentRcd'),
0024         tag = cms.string('Tracker10pbScenario210_mc')
0025     ), 
0026         cms.PSet(
0027             record = cms.string('TrackerAlignmentErrorExtendedRcd'),
0028             tag = cms.string('Tracker10pbScenarioErrors210_mc')
0029         )),
0030     connect = cms.string('sqlite_file:Alignments.db')
0031 )
0032 
0033 process.prod = cms.EDAnalyzer("TestTrackerReader")
0034 
0035 process.p1 = cms.Path(process.prod)
0036 process.MessageLogger.cerr.default.limit = 100000
0037 process.MessageLogger.cerr.INFO.limit = -1
0038 
0039