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
|
import FWCore.ParameterSet.Config as cms
process = cms.Process("Alignment")
# "including" common configuration
<COMMON>
process.source = cms.Source("EmptySource")
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
)
process.PoolDBOutputService = cms.Service("PoolDBOutputService",
process.CondDBSetup,
timetype = cms.untracked.string('runnumber'),
connect = cms.string('sqlite_file:<OUTPATH>/alignments_<N>.db'),
toPut = cms.VPSet(cms.PSet(
record = cms.string('TrackerAlignmentRcd'),
tag = cms.string('Alignments')
),
cms.PSet(
record = cms.string('TrackerAlignmentErrorExtendedRcd'),
tag = cms.string('AlignmentErrorsExtended')
))
)
process.AlignmentProducer.algoConfig.outpath = '<PATH>/'
process.AlignmentProducer.algoConfig.iterationFile = 'IOIteration_serial.root'
process.AlignmentProducer.saveToDB = True
process.AlignmentProducer.checkDbAlignmentValidity= False
#process.AlignmentProducer.RunRangeSelection = [
# cms.PSet(RunRanges = cms.vstring(
# '1',
# '246978',
# '256715'),
# selector = cms.vstring( 'TrackerTPBModule,111111',
# 'TrackerTPEModule,111111')
# )
# ]
|