CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Alignment/HIPAlignmentAlgorithm/python/upload_serial_tpl.py

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