CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ancientMuonSeed_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoMuon.MuonSeedGenerator.ptSeedParameterization_cfi import ptSeedParameterization
5 
6 import RecoMuon.MuonSeedGenerator.muonSeedGenerator_cfi as _mod
7 ancientMuonSeed = _mod.muonSeedGenerator.clone(
8  ptSeedParameterization,
9  dphiScale,
10  beamSpotTag = "offlineBeamSpot",
11  scaleDT = True,
12  CSCRecSegmentLabel = "cscSegments",
13  DTRecSegmentLabel = "dt4DSegments",
14  ME0RecSegmentLabel = "me0Segments",
15  EnableDTMeasurement = True,
16  EnableCSCMeasurement = True,
17  EnableME0Measurement = False,
18  # places where it's OK to have single-segment seeds
19  crackEtas = [0.2, 1.6, 1.7],
20  crackWindow = 0.04,
21  deltaPhiSearchWindow = 0.25,
22  deltaEtaSearchWindow = 0.2,
23  deltaEtaCrackSearchWindow = 0.25,
24  )
25 
26 # phase2 ME0
27 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
28 phase2_muon.toModify(ancientMuonSeed, EnableME0Measurement = True)
29 # phase2 GE0
30 from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
31 phase2_GE0.toModify(ancientMuonSeed, EnableME0Measurement = False)