CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CSCOverlapsAlignmentAlgorithm_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
11 TrackerDigiGeometryESModule.applyAlignment = False
12 del DTGeometryESModule
13 del CSCGeometryESModule
14 
16 looper.doTracker = cms.untracked.bool(False)
17 looper.doMuon = cms.untracked.bool(True)
18 looper.ParameterBuilder.Selector.alignParams = cms.vstring("MuonCSCChambers,111111")
19 looper.tjTkAssociationMapTag = cms.InputTag("CSCOverlapsTrackPreparationTrackRefitter")
20 
22 looper.algoConfig = CSCOverlapsAlignmentAlgorithm
23 
24 CSCOverlapsTrackPreparationTrackRefitter = cms.EDProducer("CSCOverlapsTrackPreparation", src = cms.InputTag("ALCARECOMuAlBeamHaloOverlaps"))
25 Path = cms.Path(offlineBeamSpot * CSCOverlapsTrackPreparationTrackRefitter)
26 
28 inertGlobalPositionRcd = cms.ESSource("PoolDBESSource",
29  CondCore.DBCommon.CondDBSetup_cfi.CondDBSetup,
30  connect = cms.string("sqlite_file:inertGlobalPositionRcd.db"),
31  toGet = cms.VPSet(cms.PSet(record = cms.string("GlobalPositionRcd"), tag = cms.string("inertGlobalPositionRcd"))))
32 es_prefer_inertGlobalPositionRcd = cms.ESPrefer("PoolDBESSource", "inertGlobalPositionRcd")
33 muonAlignment = cms.ESSource("PoolDBESSource",
34  CondCore.DBCommon.CondDBSetup_cfi.CondDBSetup,
35  connect = cms.string("sqlite_file:inputdb.db"),
36  toGet = cms.VPSet(cms.PSet(record = cms.string("CSCAlignmentRcd"), tag = cms.string("CSCAlignmentRcd"))))
37 es_prefer_muonAlignment = cms.ESPrefer("PoolDBESSource", "muonAlignment")
38 looper.applyDbAlignment = True
39 
40 PoolDBOutputService = cms.Service("PoolDBOutputService",
41  CondCore.DBCommon.CondDBSetup_cfi.CondDBSetup,
42  connect = cms.string("sqlite_file:outputdb.db"),
43  toPut = cms.VPSet(cms.PSet(record = cms.string("DTAlignmentRcd"), tag = cms.string("DTAlignmentRcd")),
44  cms.PSet(record = cms.string("DTAlignmentErrorExtendedRcd"), tag = cms.string("DTAlignmentErrorExtendedRcd")),
45  cms.PSet(record = cms.string("CSCAlignmentRcd"), tag = cms.string("CSCAlignmentRcd")),
46  cms.PSet(record = cms.string("CSCAlignmentErrorExtendedRcd"), tag = cms.string("CSCAlignmentErrorExtendedRcd"))))
47 looper.saveToDB = True
48 looper.saveApeToDB = True