Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002 process = cms.Process("Alignment")
00003
00004
00005
00006 process.source = cms.Source("EmptySource")
00007
00008 process.maxEvents = cms.untracked.PSet(
00009 input = cms.untracked.int32(1)
00010 )
00011 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00012 process.CondDBSetup,
00013 timetype = cms.untracked.string('runnumber'),
00014 connect = cms.string('sqlite_file:<OUTPATH>/alignments_<N>.db'),
00015 toPut = cms.VPSet(cms.PSet(
00016 record = cms.string('TrackerAlignmentRcd'),
00017 tag = cms.string('Alignments')
00018 ),
00019 cms.PSet(
00020 record = cms.string('TrackerAlignmentErrorRcd'),
00021 tag = cms.string('AlignmentErrors')
00022 ))
00023 )
00024
00025 process.AlignmentProducer.algoConfig.outpath = '<PATH>/'
00026 process.AlignmentProducer.algoConfig.iterationFile = 'IOIteration_serial.root'
00027 process.AlignmentProducer.saveToDB = True
00028
00029