CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/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 #------------------------------------ RPC -----------------------------------------------
00034 # 1D RecHits
00035 from RecoLocalMuon.RPCRecHit.rpcRecHits_cfi import *
00036 #----------------------------------------------------------------------------------------
00037 # DT sequence for the standard reconstruction chain 
00038 # The reconstruction of the 2D segments are not required for the 4D segments reconstruction, they are used
00039 # only for debuging purpose and for specific studies
00040 dtlocalreco = cms.Sequence(dt1DRecHits*dt4DSegments)
00041 # DT sequence with the 2D segment reconstruction
00042 dtlocalreco_with_2DSegments = cms.Sequence(dt1DRecHits*dt2DSegments*dt4DSegments)
00043 # DT sequence with T0seg correction
00044 dtlocalrecoT0Seg = cms.Sequence(dt1DRecHits*dt4DSegments*dt4DSegmentsT0Seg)
00045 # DT sequence with no-drift  algo
00046 dtlocalrecoNoDrift = cms.Sequence(dt1DRecHitsNoDrift*dt4DSegmentsNoDrift)
00047 # CSC sequence
00048 csclocalreco = cms.Sequence(csc2DRecHits*cscSegments)
00049 # DT, CSC and RPC together
00050 muonlocalreco_with_2DSegments = cms.Sequence(dtlocalreco_with_2DSegments+csclocalreco+rpcRecHits)
00051 # DT, CSC and RPC together (correct sequence for the standard path)
00052 muonlocalreco = cms.Sequence(dtlocalreco+csclocalreco+rpcRecHits)
00053 # DT, CSC and RPC together (correct sequence for the standard path)
00054 muonlocalrecoNoDrift = cms.Sequence(dtlocalrecoNoDrift+csclocalreco+rpcRecHits)
00055 # DT, CSC and RPC together (with t0seg correction for DTs)
00056 muonlocalrecoT0Seg = cms.Sequence(dtlocalrecoT0Seg+csclocalreco+rpcRecHits)
00057 # all sequences to be used for GR
00058 muonLocalRecoGR = cms.Sequence(muonlocalreco+muonlocalrecoNoDrift+muonlocalrecoT0Seg)
00059 #DTLinearDriftAlgo_CosmicData.recAlgoConfig.hitResolution = 0.05
00060 
00061 #dt1DRecHits.dtDigiLabel = 'muonDTDigis'
00062 DTCombinatorialPatternReco2DAlgo_LinearDriftFromDB_CosmicData.Reco2DAlgoConfig.segmCleanerMode = 2
00063 DTCombinatorialPatternReco2DAlgo_LinearDriftFromDB_CosmicData.Reco2DAlgoConfig.MaxAllowedHits = 30
00064 DTCombinatorialPatternReco4DAlgo_LinearDriftFromDB_CosmicData.Reco4DAlgoConfig.segmCleanerMode = 2
00065 #dt1DRecHitsNoDrift.dtDigiLabel = 'muonDTDigis'