1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# "including" common configuration
<COMMON>
#process.source = cms.Source("EmptySource")
process.source = cms.Source("EmptySource", firstRun = cms.untracked.uint32(<iovrun>))
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
)
process.PoolDBOutputService = cms.Service("PoolDBOutputService",
CondDB,
timetype = cms.untracked.string('runnumber'),
toPut = cms.VPSet(
cms.PSet(
record = cms.string('TrackerAlignmentRcd'),
tag = cms.string('Alignments')
),
cms.PSet(
record = cms.string('TrackerAlignmentErrorExtendedRcd'),
tag = cms.string('AlignmentErrorsExtended')
),
cms.PSet(
record = cms.string('TrackerSurfaceDeformationRcd'),
tag = cms.string('Deformations')
),
)
)
process.PoolDBOutputService.connect ='sqlite_file:<PATH>/alignments.db'
process.AlignmentProducer.algoConfig.outpath = '<PATH>/'
process.AlignmentProducer.saveToDB = True
process.AlignmentProducer.saveDeformationsToDB = SurfDefFlag
process.AlignmentProducer.checkDbAlignmentValidity= False
process.AlignmentProducer.RunRangeSelection = [
cms.PSet(RunRanges = cms.vstring(
'<iovrun>'
)
)
]
|