CMS 3D CMS Logo

RecoLocalMuonCosmics_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 # T0 seg 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)
30 # DT sequence with the 2D segment reconstruction
31 dtlocalreco_with_2DSegments = cms.Sequence(dt1DRecHits*dt2DSegments*dt4DSegments)
32 # DT sequence with T0seg correction
33 dtlocalrecoT0Seg = cms.Sequence(dt1DRecHits*dt4DSegments*dt4DSegmentsT0Seg)
34 # CSC sequence
35 csclocalreco = cms.Sequence(csc2DRecHits*cscSegments)
36 # DT, CSC and RPC together
37 muonlocalreco_with_2DSegments = cms.Sequence(dtlocalreco_with_2DSegments+csclocalreco+rpcRecHits)
38 # DT, CSC and RPC together (correct sequence for the standard path)
39 muonlocalreco = cms.Sequence(dtlocalreco+csclocalreco+rpcRecHits)
40 # DT, CSC and RPC together (with t0seg correction for DTs)
41 muonlocalrecoT0Seg = cms.Sequence(dtlocalrecoT0Seg+csclocalreco+rpcRecHits)
42 # all sequences to be used for GR
43 muonLocalRecoGR = cms.Sequence(muonlocalreco+muonlocalrecoT0Seg)
44 
47 
48 _run2_GEM_2017_muonlocalreco = muonlocalreco.copy()
49 _run2_GEM_2017_muonlocalreco += gemLocalReco
50 
51 _run3_muonlocalreco = muonlocalreco.copy()
52 _run3_muonlocalreco += gemLocalReco
53 
54 _phase2_muonlocalreco = _run3_muonlocalreco.copy()
55 _phase2_muonlocalreco += me0LocalReco
56 
57 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
58 run2_GEM_2017.toReplaceWith( muonlocalreco , _run2_GEM_2017_muonlocalreco )
59 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
60 run3_GEM.toReplaceWith( muonlocalreco , _run3_muonlocalreco )
61 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
62 phase2_muon.toReplaceWith( muonlocalreco , _phase2_muonlocalreco )