Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("FWCore.MessageService.MessageLogger_cfi")
0005 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0006 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0007 
0008 
0009 process.source = cms.Source("EmptySource")
0010 
0011 process.maxEvents = cms.untracked.PSet(
0012     input = cms.untracked.int32(1)
0013 )
0014 process.tracker = cms.EDFilter("SurveyInputTrackerFromDB",
0015     textFileName = cms.string('../data/FPixBPix_Survey.txt')
0016 )
0017 
0018 from CondCore.DBCommon.CondDBSetup_cfi import *
0019 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0020     CondDBSetup,
0021     timetype = cms.untracked.string('runnumber'),
0022     connect = cms.string('sqlite_file:FPixBPix_Survey.db'),
0023     toPut = cms.VPSet(cms.PSet(
0024                 record = cms.string('TrackerAlignmentRcd'),
0025                 tag = cms.string('Alignments')
0026             ), 
0027             cms.PSet(
0028                 record = cms.string('TrackerAlignmentErrorExtendedRcd'),
0029                 tag = cms.string('AlignmentErrorsExtended')
0030             ))
0031 )
0032 
0033 process.p = cms.Path(process.tracker)
0034 
0035