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 dtlocalrecoTask = cms.Task(dt1DRecHits,dt4DSegments)
30 dtlocalreco = cms.Sequence(dtlocalrecoTask)
31 # DT sequence with the 2D segment reconstruction
32 dtlocalreco_with_2DSegmentsTask = cms.Task(dt1DRecHits,dt2DSegments,dt4DSegments)
33 dtlocalreco_with_2DSegments = cms.Sequence(dtlocalreco_with_2DSegmentsTask)
34 # DT sequence with T0seg correction
35 dtlocalrecoT0SegTask = cms.Task(dt1DRecHits,dt4DSegments,dt4DSegmentsT0Seg)
36 dtlocalrecoT0Seg = cms.Sequence(dtlocalrecoT0SegTask)
37 # CSC sequence
38 csclocalrecoTask = cms.Task(csc2DRecHits,cscSegments)
39 csclocalreco = cms.Sequence(csclocalrecoTask)
40 # DT, CSC and RPC together
41 muonlocalreco_with_2DSegmentsTask = cms.Task(dtlocalreco_with_2DSegmentsTask,csclocalrecoTask,rpcRecHits)
42 muonlocalreco_with_2DSegments = cms.Sequence(muonlocalreco_with_2DSegmentsTask)
43 # DT, CSC and RPC together (correct sequence for the standard path)
44 muonlocalrecoTask = cms.Task(dtlocalrecoTask,csclocalrecoTask,rpcRecHits)
45 muonlocalreco = cms.Sequence(muonlocalrecoTask)
46 # DT, CSC and RPC together (with t0seg correction for DTs)
47 muonlocalrecoT0SegTask = cms.Task(dtlocalrecoT0SegTask,csclocalrecoTask,rpcRecHits)
48 muonlocalrecoT0Seg = cms.Sequence(muonlocalrecoT0SegTask)
49 # all sequences to be used for GR
50 muonLocalRecoGRTask = cms.Task(muonlocalrecoTask,muonlocalrecoT0SegTask)
51 muonLocalRecoGR = cms.Sequence(muonLocalRecoGRTask)
52 
55 
56 _run2_GEM_2017_muonlocalrecoTask = muonlocalrecoTask.copy()
57 _run2_GEM_2017_muonlocalrecoTask.add(gemLocalRecoTask)
58 
59 _run3_muonlocalrecoTask = muonlocalrecoTask.copy()
60 _run3_muonlocalrecoTask.add(gemLocalRecoTask)
61 
62 _phase2_muonlocalrecoTask = _run3_muonlocalrecoTask.copy()
63 _phase2_muonlocalrecoTask.add(me0LocalRecoTask)
64 
65 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
66 run2_GEM_2017.toReplaceWith( muonlocalrecoTask , _run2_GEM_2017_muonlocalrecoTask )
67 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
68 run3_GEM.toReplaceWith( muonlocalrecoTask , _run3_muonlocalrecoTask )
69 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
70 phase2_muon.toReplaceWith( muonlocalrecoTask , _phase2_muonlocalrecoTask )
dt1DRecHits_LinearDriftFromDB_CosmicData_cfi
gemLocalReco_cff
dt4DSegments_ApplyT0Correction_cfi
dt2DSegments_MTPatternReco2D_LinearDriftFromDB_CosmicData_cfi
CSCIndexer_cfi
me0LocalReco_cff
cscSegments_cfi
dt4DSegments_MTPatternReco4D_LinearDriftFromDB_CosmicData_cfi
CSCChannelMapper_cfi
rpcRecHits_cfi
cscRecHitD_cfi