CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/RecoLocalMuon/Configuration/python/RecoLocalMuonCosmics_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # Magnetic Field
00004 # Geometry
00005 # DT Geometry
00006 # CSC Geometry
00007 # RPC Geometry
00008 #------------------------------------ DT ------------------------------------------------
00009 # 1D RecHits
00010 #from RecoLocalMuon.DTRecHit.dt1DRecHits_LinearDrift_CosmicData_cfi import *
00011 from RecoLocalMuon.DTRecHit.dt1DRecHits_LinearDriftFromDB_CosmicData_cfi import *
00012 # 2D Segments
00013 #from RecoLocalMuon.DTSegment.dt2DSegments_CombPatternReco2D_LinearDrift_CosmicData_cfi import *
00014 from RecoLocalMuon.DTSegment.dt2DSegments_CombPatternReco2D_LinearDriftFromDB_CosmicData_cfi import *
00015 # 4D Segments
00016 #from RecoLocalMuon.DTSegment.dt4DSegments_CombPatternReco4D_LinearDrift_CosmicData_cfi import *
00017 from RecoLocalMuon.DTSegment.dt4DSegments_CombPatternReco4D_LinearDriftFromDB_CosmicData_cfi import *
00018 
00019 # No drift algo
00020 import RecoLocalMuon.DTRecHit.dt1DRecHits_NoDrift_CosmicData_cfi
00021 dt1DRecHitsNoDrift = RecoLocalMuon.DTRecHit.dt1DRecHits_NoDrift_CosmicData_cfi.dt1DRecHits.clone()
00022 import RecoLocalMuon.DTSegment.dt4DSegments_CombPatternReco4D_NoDrift_CosmicData_cfi
00023 dt4DSegmentsNoDrift = RecoLocalMuon.DTSegment.dt4DSegments_CombPatternReco4D_NoDrift_CosmicData_cfi.dt4DSegments.clone()
00024 
00025 # T0 seg correction
00026 from RecoLocalMuon.DTSegment.dt4DSegments_ApplyT0Correction_cfi import *
00027 
00028 #------------------------------------ CSC -----------------------------------------------
00029 # 2D RecHit     
00030 from RecoLocalMuon.CSCRecHitD.cscRecHitD_cfi import *
00031 # Segments
00032 from RecoLocalMuon.CSCSegment.cscSegments_cfi import *
00033 from CalibMuon.CSCCalibration.CSCChannelMapper_cfi import *
00034 from CalibMuon.CSCCalibration.CSCIndexer_cfi import *
00035 
00036 #------------------------------------ RPC -----------------------------------------------
00037 # 1D RecHits
00038 from RecoLocalMuon.RPCRecHit.rpcRecHits_cfi import *
00039 #----------------------------------------------------------------------------------------
00040 # DT sequence for the standard reconstruction chain 
00041 # The reconstruction of the 2D segments are not required for the 4D segments reconstruction, they are used
00042 # only for debuging purpose and for specific studies
00043 dtlocalreco = cms.Sequence(dt1DRecHits*dt4DSegments)
00044 # DT sequence with the 2D segment reconstruction
00045 dtlocalreco_with_2DSegments = cms.Sequence(dt1DRecHits*dt2DSegments*dt4DSegments)
00046 # DT sequence with T0seg correction
00047 dtlocalrecoT0Seg = cms.Sequence(dt1DRecHits*dt4DSegments*dt4DSegmentsT0Seg)
00048 # DT sequence with no-drift  algo
00049 dtlocalrecoNoDrift = cms.Sequence(dt1DRecHitsNoDrift*dt4DSegmentsNoDrift)
00050 # CSC sequence
00051 csclocalreco = cms.Sequence(csc2DRecHits*cscSegments)
00052 # DT, CSC and RPC together
00053 muonlocalreco_with_2DSegments = cms.Sequence(dtlocalreco_with_2DSegments+csclocalreco+rpcRecHits)
00054 # DT, CSC and RPC together (correct sequence for the standard path)
00055 muonlocalreco = cms.Sequence(dtlocalreco+csclocalreco+rpcRecHits)
00056 # DT, CSC and RPC together (correct sequence for the standard path)
00057 muonlocalrecoNoDrift = cms.Sequence(dtlocalrecoNoDrift+csclocalreco+rpcRecHits)
00058 # DT, CSC and RPC together (with t0seg correction for DTs)
00059 muonlocalrecoT0Seg = cms.Sequence(dtlocalrecoT0Seg+csclocalreco+rpcRecHits)
00060 # all sequences to be used for GR
00061 muonLocalRecoGR = cms.Sequence(muonlocalreco+muonlocalrecoNoDrift+muonlocalrecoT0Seg)
00062 #DTLinearDriftAlgo_CosmicData.recAlgoConfig.hitResolution = 0.05
00063 
00064 #dt1DRecHits.dtDigiLabel = 'muonDTDigis'
00065 DTCombinatorialPatternReco2DAlgo_LinearDriftFromDB_CosmicData.Reco2DAlgoConfig.segmCleanerMode = 2
00066 DTCombinatorialPatternReco2DAlgo_LinearDriftFromDB_CosmicData.Reco2DAlgoConfig.MaxAllowedHits = 30
00067 DTCombinatorialPatternReco4DAlgo_LinearDriftFromDB_CosmicData.Reco4DAlgoConfig.segmCleanerMode = 2
00068 #dt1DRecHitsNoDrift.dtDigiLabel = 'muonDTDigis'