Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:45:28

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from TrackingTools.TransientTrack.TransientTrackBuilder_cfi import *
0004 from Configuration.StandardSequences.GeometryExtended_cff import *
0005 from Configuration.StandardSequences.MagneticField_cff import *
0006 from TrackingTools.GeomPropagators.SmartPropagator_cff import *
0007 from RecoVertex.BeamSpotProducer.BeamSpot_cfi import *
0008 from RecoTracker.Configuration.RecoTracker_cff import *
0009 from RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilderWithoutRefit_cfi import *
0010 from TrackingTools.TrackRefitter.TracksToTrajectories_cff import *
0011 TrackerDigiGeometryESModule.applyAlignment = False
0012 del DTGeometryESModule
0013 del CSCGeometryESModule
0014 
0015 from Alignment.CommonAlignmentProducer.AlignmentProducer_cff import *
0016 looper.doTracker = cms.untracked.bool(False)
0017 looper.doMuon = cms.untracked.bool(True)
0018 looper.ParameterBuilder.Selector.alignParams = cms.vstring("MuonCSCChambers,111111")
0019 looper.tjTkAssociationMapTag = cms.InputTag("CSCOverlapsTrackPreparationTrackRefitter")
0020 
0021 from Alignment.MuonAlignmentAlgorithms.CSCOverlapsAlignmentAlgorithm_cfi import *
0022 looper.algoConfig = CSCOverlapsAlignmentAlgorithm
0023 
0024 CSCOverlapsTrackPreparationTrackRefitter = cms.EDProducer("CSCOverlapsTrackPreparation", src = cms.InputTag("ALCARECOMuAlBeamHaloOverlaps"))
0025 Path = cms.Path(offlineBeamSpot * CSCOverlapsTrackPreparationTrackRefitter)
0026 
0027 import CondCore.DBCommon.CondDBSetup_cfi
0028 inertGlobalPositionRcd = cms.ESSource("PoolDBESSource",
0029                                       CondCore.DBCommon.CondDBSetup_cfi.CondDBSetup,
0030                                       connect = cms.string("sqlite_file:inertGlobalPositionRcd.db"),
0031                                       toGet = cms.VPSet(cms.PSet(record = cms.string("GlobalPositionRcd"), tag = cms.string("inertGlobalPositionRcd"))))
0032 es_prefer_inertGlobalPositionRcd = cms.ESPrefer("PoolDBESSource", "inertGlobalPositionRcd")
0033 muonAlignment = cms.ESSource("PoolDBESSource",
0034                              CondCore.DBCommon.CondDBSetup_cfi.CondDBSetup,
0035                              connect = cms.string("sqlite_file:inputdb.db"),
0036                              toGet = cms.VPSet(cms.PSet(record = cms.string("CSCAlignmentRcd"),      tag = cms.string("CSCAlignmentRcd"))))
0037 es_prefer_muonAlignment = cms.ESPrefer("PoolDBESSource", "muonAlignment")
0038 looper.applyDbAlignment = True
0039 
0040 PoolDBOutputService = cms.Service("PoolDBOutputService",
0041                                   CondCore.DBCommon.CondDBSetup_cfi.CondDBSetup,
0042                                   connect = cms.string("sqlite_file:outputdb.db"),
0043                                   toPut = cms.VPSet(cms.PSet(record = cms.string("DTAlignmentRcd"), tag = cms.string("DTAlignmentRcd")),
0044                                                     cms.PSet(record = cms.string("DTAlignmentErrorExtendedRcd"), tag = cms.string("DTAlignmentErrorExtendedRcd")),
0045                                                     cms.PSet(record = cms.string("CSCAlignmentRcd"), tag = cms.string("CSCAlignmentRcd")),
0046                                                     cms.PSet(record = cms.string("CSCAlignmentErrorExtendedRcd"), tag = cms.string("CSCAlignmentErrorExtendedRcd"))))
0047 looper.saveToDB = True
0048 looper.saveApeToDB = True