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
40
41
42
43
44
45
46
47
48
49
50
51
|
# "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.AlignmentProducer.algoConfig.collectorActive = True
process.AlignmentProducer.algoConfig.collectorNJobs = <JOBS>
process.AlignmentProducer.algoConfig.collectorPath = '<PATH>/'
process.AlignmentProducer.algoConfig.maxRelParameterError = -1. # Was 1. before CMSSW 9.0.2
process.AlignmentProducer.algoConfig.outpath = '<PATH>/main/'
process.AlignmentProducer.checkDbAlignmentValidity= False
#process.AlignmentProducer.RunRangeSelection = [
# cms.PSet(RunRanges = cms.vstring(
# '1',
# '246978',
# '256715'),
# selector = cms.vstring( 'TrackerTPBModule,111111',
# 'TrackerTPEModule,111111')
# )
# ]
# this part only needed for survey constraint
"""
process.survey = cms.ESSource("PoolDBESSource",
process.CondDBSetup,
timetype = cms.string('runnumber'),
toGet = cms.VPSet(cms.PSet(
record = cms.string('TrackerSurveyRcd'),
tag = cms.string('valueTag')
),
cms.PSet(
record = cms.string('TrackerSurveyErrorExtendedRcd'),
tag = cms.string('errorTag')
)),
#connect = cms.string('sqlite_file:/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN/HIP/surveyObjects/surveyRcd_ALLTK_PXFoppPXB_tightSSTUltraTightTOB_311.db')
#connect = cms.string('sqlite_file:/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN2/HIP/xiaomeng/develop/CMSSW_7_4_12_patch4/src/Alignment/HIPAlignmentAlgorithm/test/PCL_svy.db')
connect = cms.string('sqlite_file:/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN2/HIP/xiaomeng/develop/CMSSW_7_4_12_patch4/src/Alignment/HIPAlignmentAlgorithm/test/PCL_svy_small.db')
)
#process.AlignmentProducer.algoConfig.surveyResiduals = ['DetUnit','Det','TOBRod','TECPetal','TECRing','TIDRing','TIDSide']
#process.AlignmentProducer.algoConfig.surveyResiduals = ['Det','TIBString','TOBRod','TECRing','TIDSide','TECPetal']
#process.AlignmentProducer.algoConfig.surveyResiduals = ['DetUnit','Det']
#process.AlignmentProducer.useSurvey = True
"""
# end of survey constraint part
|