1 import FWCore.ParameterSet.Config
as cms
10 del CSCGeometryESModule
14 MuonAlignmentFromReferenceGlobalMuonRefit = globalMuons.clone()
15 MuonAlignmentFromReferenceGlobalMuonRefit.Tracks = cms.InputTag(
"ALCARECOMuAlCalIsolatedMu:GlobalMuon")
16 MuonAlignmentFromReferenceGlobalMuonRefit.TrackTransformer.RefitRPCHits = cms.bool(
False)
20 MuonAlignmentFromReferenceGlobalCosmicRefit = globalCosmicMuons.clone()
21 MuonAlignmentFromReferenceGlobalCosmicRefit.Tracks = cms.InputTag(
"ALCARECOMuAlGlobalCosmics:GlobalMuon")
22 MuonAlignmentFromReferenceGlobalCosmicRefit.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.ParameterBuilder.Selector = cms.PSet(
39 alignParams = cms.vstring(
"MuonDTChambers,111111,stations123",
"MuonDTChambers,100011,station4",
"MuonCSCChambers,100011"),
40 stations123 = cms.PSet(rRanges = cms.vdouble(0., 660.),
41 xRanges = cms.vdouble(), yRanges = cms.vdouble(), zRanges = cms.vdouble(), etaRanges = cms.vdouble(), phiRanges = cms.vdouble()),
42 station4 = cms.PSet(rRanges = cms.vdouble(660., 800.),
43 xRanges = cms.vdouble(), yRanges = cms.vdouble(), zRanges = cms.vdouble(), etaRanges = cms.vdouble(), phiRanges = cms.vdouble()))
47 looper.algoConfig = MuonAlignmentFromReference
50 MuonAlignmentFromReferenceTFileService = cms.Service(
"TFileService", fileName = cms.string(
"MuonAlignmentFromReference.root"))
53 looper.applyDbAlignment = cms.untracked.bool(
True)
55 MuonAlignmentFromReferenceInputDB = cms.ESSource(
"PoolDBESSource",
57 connect = cms.string(
"sqlite_file:MuonAlignmentFromReference_inputdb.db"),
58 toGet = cms.VPSet(cms.PSet(record = cms.string(
"DTAlignmentRcd"), tag = cms.string(
"DTAlignmentRcd")),
59 cms.PSet(record = cms.string(
"DTAlignmentErrorExtendedRcd"), tag = cms.string(
"DTAlignmentErrorExtendedRcd")),
60 cms.PSet(record = cms.string(
"CSCAlignmentRcd"), tag = cms.string(
"CSCAlignmentRcd")),
61 cms.PSet(record = cms.string(
"CSCAlignmentErrorExtendedRcd"), tag = cms.string(
"CSCAlignmentErrorExtendedRcd"))))
62 es_prefer_MuonAlignmentFromReferenceInputDB = cms.ESPrefer(
"PoolDBESSource",
"MuonAlignmentFromReferenceInputDB")
65 looper.saveToDB = cms.bool(
True)
67 PoolDBOutputService = cms.Service(
"PoolDBOutputService",
69 connect = cms.string(
"sqlite_file:MuonAlignmentFromReference_outputdb.db"),
70 toPut = cms.VPSet(cms.PSet(record = cms.string(
"DTAlignmentRcd"), tag = cms.string(
"DTAlignmentRcd")),
71 cms.PSet(record = cms.string(
"DTAlignmentErrorExtendedRcd"), tag = cms.string(
"DTAlignmentErrorExtendedRcd")),
72 cms.PSet(record = cms.string(
"CSCAlignmentRcd"), tag = cms.string(
"CSCAlignmentRcd")),
73 cms.PSet(record = cms.string(
"CSCAlignmentErrorExtendedRcd"), tag = cms.string(
"CSCAlignmentErrorExtendedRcd"))))
General track re-fitting includes (don't load dtGeometry_cfi or cscGeometry_cfi because it's provided...
MuonAlignmentFromReference with default options.