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 _run2_GEM_2017_muonlocalreco = muonlocalreco.copy()
44 _run2_GEM_2017_muonlocalreco += gemLocalReco
45 
46 _run3_muonlocalreco = muonlocalreco.copy()
47 _run3_muonlocalreco += gemLocalReco
48 
49 _phase2_muonlocalreco = _run3_muonlocalreco.copy()
50 _phase2_muonlocalreco += me0LocalReco
51 
52 from Configuration.Eras.Modifier_run2_GEM_2017_MCTest_cff import run2_GEM_2017_MCTest
53 run2_GEM_2017_MCTest.toReplaceWith( muonlocalreco , _run2_GEM_2017_muonlocalreco )
54 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
55 run3_GEM.toReplaceWith( muonlocalreco , _run3_muonlocalreco )
56 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
57 phase2_muon.toReplaceWith( muonlocalreco , _phase2_muonlocalreco )