1 import FWCore.ParameterSet.Config
as cms
14 MuonAlignmentFromReferenceGlobalMuonRefit = globalMuons.clone()
15 MuonAlignmentFromReferenceGlobalMuonRefit.Tracks = cms.InputTag(
"ALCARECOMuAlCalIsolatedMu:GlobalMuon")
16 MuonAlignmentFromReferenceGlobalMuonRefit.TrackTransformer.RefitRPCHits = cms.bool(
False)
26 newmuons = muons.clone(
27 inputCollectionTypes = cms.vstring(
"inner tracks"),
29 inputCollectionLabels = cms.VInputTag(cms.InputTag(
"refittedGeneralTracks")),
30 fillIsolation = cms.bool(
False),
35 looper.tjTkAssociationMapTag = cms.InputTag(
"MuonAlignmentFromReferenceGlobalMuonRefit:Refitted")
36 looper.doTracker = cms.untracked.bool(
False)
37 looper.doMuon = cms.untracked.bool(
True)
38 looper.checkDbAlignmentValidity = cms.untracked.bool(
False)
39 looper.useExtras = cms.untracked.bool(
False)
40 looper.ParameterBuilder.Selector = cms.PSet(
41 alignParams = cms.vstring(
"MuonDTChambers,111111,stations123",
"MuonDTChambers,100011,station4",
"MuonCSCChambers,100011"),
42 stations123 = cms.PSet(rRanges = cms.vdouble(0., 660.),
43 xRanges = cms.vdouble(), yRanges = cms.vdouble(), zRanges = cms.vdouble(), etaRanges = cms.vdouble(), phiRanges = cms.vdouble()),
44 station4 = cms.PSet(rRanges = cms.vdouble(660., 800.),
45 xRanges = cms.vdouble(), yRanges = cms.vdouble(), zRanges = cms.vdouble(), etaRanges = cms.vdouble(), phiRanges = cms.vdouble()))
49 looper.algoConfig = MuonAlignmentFromReference
52 MuonAlignmentFromReferenceTFileService = cms.Service(
"TFileService", fileName = cms.string(
"MuonAlignmentFromReference.root"))
55 looper.applyDbAlignment = cms.untracked.bool(
True)
57 MuonAlignmentFromReferenceInputDB = cms.ESSource(
"PoolDBESSource",
59 connect = cms.string(
"sqlite_file:MuonAlignmentFromReference_inputdb.db"),
60 toGet = cms.VPSet(cms.PSet(record = cms.string(
"DTAlignmentRcd"), tag = cms.string(
"DTAlignmentRcd")),
61 cms.PSet(record = cms.string(
"DTAlignmentErrorExtendedRcd"), tag = cms.string(
"DTAlignmentErrorExtendedRcd")),
62 cms.PSet(record = cms.string(
"CSCAlignmentRcd"), tag = cms.string(
"CSCAlignmentRcd")),
63 cms.PSet(record = cms.string(
"CSCAlignmentErrorExtendedRcd"), tag = cms.string(
"CSCAlignmentErrorExtendedRcd"))))
64 es_prefer_MuonAlignmentFromReferenceInputDB = cms.ESPrefer(
"PoolDBESSource",
"MuonAlignmentFromReferenceInputDB")
67 looper.saveToDB = cms.bool(
True)
69 PoolDBOutputService = cms.Service(
"PoolDBOutputService",
71 connect = cms.string(
"sqlite_file:MuonAlignmentFromReference_outputdb.db"),
72 toPut = cms.VPSet(cms.PSet(record = cms.string(
"DTAlignmentRcd"), tag = cms.string(
"DTAlignmentRcd")),
73 cms.PSet(record = cms.string(
"DTAlignmentErrorExtendedRcd"), tag = cms.string(
"DTAlignmentErrorExtendedRcd")),
74 cms.PSet(record = cms.string(
"CSCAlignmentRcd"), tag = cms.string(
"CSCAlignmentRcd")),
75 cms.PSet(record = cms.string(
"CSCAlignmentErrorExtendedRcd"), tag = cms.string(
"CSCAlignmentErrorExtendedRcd"))))