CMS 3D CMS Logo

gemEfficiencyAnalyzer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 
7 
8 gemDQMTightGlbMuons = cms.EDFilter("MuonSelector",
9  src = cms.InputTag("muons"),
10  cut = cms.string(
11  "isGlobalMuon"
12  "&& globalTrack.isNonnull"
13  "&& passed('CutBasedIdTight')"
14  ),
15  filter = cms.bool(False)
16 )
17 
18 gemEfficiencyAnalyzerTightGlb = gemEfficiencyAnalyzer.clone(
19  muonTag = "gemDQMTightGlbMuons",
20  muonTrackType = "CombinedTrack",
21  startingStateType = "OutermostMeasurementState",
22  folder = "GEM/Efficiency/muonGLB",
23  muonName = "Tight GLB Muon",
24  propagationErrorRCut = 0.5, # cm
25  propagationErrorPhiCut = 0.1, # degree
26 )
27 
28 gemEfficiencyAnalyzerTightGlbSeq = cms.Sequence(
29  cms.ignore(gemDQMTightGlbMuons) *
30  gemEfficiencyAnalyzerTightGlb)
31 
32 
35 gemDQMStaMuons = cms.EDFilter("MuonSelector",
36  src = cms.InputTag("muons"),
37  cut = cms.string(
38  "isStandAloneMuon"
39  "&& outerTrack.isNonnull"
40  ),
41  filter = cms.bool(False)
42 )
43 
44 gemEfficiencyAnalyzerSta = gemEfficiencyAnalyzer.clone(
45  muonTag = "gemDQMStaMuons",
46  muonTrackType = "OuterTrack",
47  startingStateType = "OutermostMeasurementState",
48  folder = "GEM/Efficiency/muonSTA",
49  muonName = "STA Muon",
50  propagationErrorRCut = 0.5, # cm
51  propagationErrorPhiCut = 0.2, # degree
52 )
53 
54 gemEfficiencyAnalyzerStaSeq = cms.Sequence(
55  cms.ignore(gemDQMStaMuons) *
56  gemEfficiencyAnalyzerSta)