CMS 3D CMS Logo

RecoLocalMuon_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #------------------------------------ DT ------------------------------------------------
4 # 1D RecHits
6 # 2D Segments
8 # 4D Segments
10 # 4D segments with t0 correction
12 
13 #------------------------------------ CSC -----------------------------------------------
14 # 2D RecHit
16 # Segments
20 
21 #------------------------------------ RPC -----------------------------------------------
22 # 1D RecHits
24 
25 #----------------------------------------------------------------------------------------
26 # DT sequence for the standard reconstruction chain
27 # The reconstruction of the 2D segments are not required for the 4D segments reconstruction, they are used
28 # only for debuging purpose and for specific studies
29 dtlocalreco = cms.Sequence(dt1DRecHits*dt4DSegments + dt1DCosmicRecHits*dt4DCosmicSegments)
30 # DT sequence with the 2D segment reconstruction
31 dtlocalreco_with_2DSegments = cms.Sequence(dt1DRecHits*dt2DSegments*dt4DSegments + dt1DCosmicRecHits*dt2DCosmicSegments*dt4DCosmicSegments)
32 # DT sequence with T0seg correction
33 # CSC sequence
34 csclocalreco = cms.Sequence(csc2DRecHits*cscSegments)
35 # DT, CSC and RPC together
36 muonlocalreco_with_2DSegments = cms.Sequence(dtlocalreco_with_2DSegments+csclocalreco+rpcRecHits)
37 # DT, CSC and RPC together (correct sequence for the standard path)
38 muonlocalreco = cms.Sequence(dtlocalreco+csclocalreco+rpcRecHits)
39 
42 
43 _run3_muonlocalreco = muonlocalreco.copy()
44 _run3_muonlocalreco += gemLocalReco
45 
46 _phase2_muonlocalreco = _run3_muonlocalreco.copy()
47 _phase2_muonlocalreco += me0LocalReco
48 
49 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
50 run3_GEM.toReplaceWith( muonlocalreco , _run3_muonlocalreco )
51 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
52 phase2_muon.toReplaceWith( muonlocalreco , _phase2_muonlocalreco )