CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonAlignmentFromReference_cff.py
Go to the documentation of this file.
2 
3 ### General track re-fitting includes
4 ### (don't load dtGeometry_cfi or cscGeometry_cfi because it's provided by AlignmentProducer)
9 del DTGeometryESModule
10 del CSCGeometryESModule
11 
12 ### Track refitter for global collisions muons
14 MuonAlignmentFromReferenceGlobalMuonRefit = globalMuons.clone()
15 MuonAlignmentFromReferenceGlobalMuonRefit.Tracks = cms.InputTag("ALCARECOMuAlCalIsolatedMu:GlobalMuon")
16 MuonAlignmentFromReferenceGlobalMuonRefit.TrackTransformer.RefitRPCHits = cms.bool(False)
17 
18 ### Track refitter for global cosmic muons
20 MuonAlignmentFromReferenceGlobalCosmicRefit = globalCosmicMuons.clone()
21 MuonAlignmentFromReferenceGlobalCosmicRefit.Tracks = cms.InputTag("ALCARECOMuAlGlobalCosmics:GlobalMuon")
22 MuonAlignmentFromReferenceGlobalCosmicRefit.TrackTransformer.RefitRPCHits = cms.bool(False)
23 
24 ### AlignmentProducer with basic options for muon alignment
26 looper.tjTkAssociationMapTag = cms.InputTag("MuonAlignmentFromReferenceGlobalMuonRefit:Refitted")
27 looper.doTracker = cms.untracked.bool(False)
28 looper.doMuon = cms.untracked.bool(True)
29 looper.ParameterBuilder.Selector = cms.PSet(
30  alignParams = cms.vstring("MuonDTChambers,111111,stations123", "MuonDTChambers,100011,station4", "MuonCSCChambers,100011"),
31  stations123 = cms.PSet(rRanges = cms.vdouble(0., 660.),
32  xRanges = cms.vdouble(), yRanges = cms.vdouble(), zRanges = cms.vdouble(), etaRanges = cms.vdouble(), phiRanges = cms.vdouble()),
33  station4 = cms.PSet(rRanges = cms.vdouble(660., 800.),
34  xRanges = cms.vdouble(), yRanges = cms.vdouble(), zRanges = cms.vdouble(), etaRanges = cms.vdouble(), phiRanges = cms.vdouble()))
35 
36 ### MuonAlignmentFromReference with default options
38 looper.algoConfig = MuonAlignmentFromReference
39 
40 ### Diagnostic histograms
41 MuonAlignmentFromReferenceTFileService = cms.Service("TFileService", fileName = cms.string("MuonAlignmentFromReference.root"))
42 
43 ### Input geometry database
44 looper.applyDbAlignment = cms.untracked.bool(True)
46 MuonAlignmentFromReferenceInputDB = cms.ESSource("PoolDBESSource",
47  CondDBSetup,
48  connect = cms.string("sqlite_file:MuonAlignmentFromReference_inputdb.db"),
49  toGet = cms.VPSet(cms.PSet(record = cms.string("DTAlignmentRcd"), tag = cms.string("DTAlignmentRcd")),
50  cms.PSet(record = cms.string("DTAlignmentErrorRcd"), tag = cms.string("DTAlignmentErrorRcd")),
51  cms.PSet(record = cms.string("CSCAlignmentRcd"), tag = cms.string("CSCAlignmentRcd")),
52  cms.PSet(record = cms.string("CSCAlignmentErrorRcd"), tag = cms.string("CSCAlignmentErrorRcd"))))
53 es_prefer_MuonAlignmentFromReferenceInputDB = cms.ESPrefer("PoolDBESSource", "MuonAlignmentFromReferenceInputDB")
54 
55 ### Output geometry database
56 looper.saveToDB = cms.bool(True)
58 PoolDBOutputService = cms.Service("PoolDBOutputService",
59  CondDBSetup,
60  connect = cms.string("sqlite_file:MuonAlignmentFromReference_outputdb.db"),
61  toPut = cms.VPSet(cms.PSet(record = cms.string("DTAlignmentRcd"), tag = cms.string("DTAlignmentRcd")),
62  cms.PSet(record = cms.string("DTAlignmentErrorRcd"), tag = cms.string("DTAlignmentErrorRcd")),
63  cms.PSet(record = cms.string("CSCAlignmentRcd"), tag = cms.string("CSCAlignmentRcd")),
64  cms.PSet(record = cms.string("CSCAlignmentErrorRcd"), tag = cms.string("CSCAlignmentErrorRcd"))))
General track re-fitting includes (don't load dtGeometry_cfi or cscGeometry_cfi because it's provided...
Track refitter for global collisions muons.
MuonAlignmentFromReference with default options.
Track refitter for global cosmic muons.