Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /Alignment/HIPAlignmentAlgorithm/python/upload_tpl_py.txt is written in an unsupported language. File is not indexed.

0001 # "including" common configuration
0002 <COMMON>
0003 
0004 #process.source = cms.Source("EmptySource")
0005 process.source = cms.Source("EmptySource", firstRun = cms.untracked.uint32(<iovrun>)) 
0006 
0007 process.maxEvents = cms.untracked.PSet(
0008     input = cms.untracked.int32(1)
0009 )
0010 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0011     CondDB,
0012     timetype = cms.untracked.string('runnumber'),
0013     toPut = cms.VPSet(
0014         cms.PSet(
0015             record = cms.string('TrackerAlignmentRcd'),
0016             tag = cms.string('Alignments')
0017         ), 
0018         cms.PSet(
0019             record = cms.string('TrackerAlignmentErrorExtendedRcd'),
0020             tag = cms.string('AlignmentErrorsExtended')
0021         ),
0022         cms.PSet(
0023             record = cms.string('TrackerSurfaceDeformationRcd'),
0024             tag = cms.string('Deformations')
0025         ),
0026     )
0027 )
0028 
0029 process.PoolDBOutputService.connect ='sqlite_file:<PATH>/alignments.db'
0030 process.AlignmentProducer.algoConfig.outpath = '<PATH>/'
0031 process.AlignmentProducer.saveToDB = True
0032 process.AlignmentProducer.saveDeformationsToDB = SurfDefFlag
0033 process.AlignmentProducer.checkDbAlignmentValidity= False 
0034 process.AlignmentProducer.RunRangeSelection = [
0035     cms.PSet(RunRanges = cms.vstring(
0036             '<iovrun>'
0037             )
0038         )
0039     ]