Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TrackerParametersTest")
0004 
0005 process.load('Configuration.StandardSequences.GeometryDB_cff')
0006 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0007 
0008 from Configuration.AlCa.autoCond import autoCond
0009 process.GlobalTag.globaltag = autoCond['run1_mc']
0010 
0011 process.GlobalTag.toGet = cms.VPSet(cms.PSet(record = cms.string('PTrackerParametersRcd'),
0012                                              tag = cms.string('TKParameters_Geometry_TagXX'),
0013                                              connect = cms.string("sqlite_file:./myfile.db")
0014                                              )
0015                                     )
0016 
0017 process.source = cms.Source("EmptySource")
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32(1)
0021 )
0022 
0023 process.test = cms.EDAnalyzer("TrackerParametersAnalyzer")
0024 
0025 process.p1 = cms.Path(process.test)
0026 
0027 
0028