Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:59

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0005 
0006 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0007 
0008 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0009 
0010 process.load("Alignment.CommonAlignmentProducer.GlobalPosition_Frontier_cff")
0011 
0012 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0013 
0014 process.MessageLogger = cms.Service("MessageLogger",
0015     cerr = cms.untracked.PSet(
0016         enable = cms.untracked.bool(False)
0017     ),
0018     cout = cms.untracked.PSet(
0019         enable = cms.untracked.bool(True)
0020     ),
0021     files = cms.untracked.PSet(
0022         detailedInfo = cms.untracked.PSet(
0023 
0024         )
0025     )
0026 )
0027 
0028 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0029     process.CondDBSetup,
0030     timetype = cms.string('runnumber'),
0031     toGet = cms.VPSet(cms.PSet(
0032         record = cms.string('TrackerAlignmentRcd'),
0033         tag = cms.string('Alignments')
0034     ), 
0035         cms.PSet(
0036             record = cms.string('TrackerAlignmentErrorExtendedRcd'),
0037             tag = cms.string('AlignmentErrorsExtended')
0038         )),
0039     connect = cms.string('sqlite_file:<PATH>/alignments_<N>.db')
0040 )
0041 
0042 process.source = cms.Source("EmptySource")
0043 
0044 process.maxEvents = cms.untracked.PSet(
0045     input = cms.untracked.int32(0)
0046 )
0047 process.dump = cms.EDFilter("TrackerGeometryIntoNtuples",
0048     outputFile = cms.untracked.string('<PATH>/alignments_<N>.root'),
0049     outputTreename = cms.untracked.string('alignTree')
0050 )
0051 
0052 process.p = cms.Path(process.dump)
0053 
0054