CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hltmuon_T0_layouts.py
Go to the documentation of this file.
1 
2 
3 ###---- GENERIC - FourVector selection goes here: ####
4 ######################################################
5 
6 ###---- GENERIC - FourVector Muon
7 def trigHltMuonOfflineSummaryNew(i, p, *rows):
8  i["HLT/Layouts/" + p] = DQMItem(layout=rows)
9 
10 ## ## Layout for MuMonitor sample
11 ## paths = ["HLT_L1Mu7_v1", "HLT_L2Mu7_v1", "HLT_Mu3_v2",
12 ## "HLT_L1DoubleMuOpen", "HLT_L2DoubleMu0", "HLT_DoubleMu0"]
13 ## for i, path in enumerate(paths):
14 ## trigHltMuonOfflineSummaryNew(dqmitems, "Muon (MuMonitor)/%02d - %s" % (i, path),
15 ## [{'path': "HLT/Muon/DistributionsVbtf/%s/efficiencyTurnOn" % path, 'description':"Efficiency for VBTF muons to match HLT"}],
16 ## [{'path': "HLT/Muon/DistributionsVbtf/%s/efficiencyPhiVsEta" % path, 'description':"Efficiency for VBTF muons to match HLT"}])
17 
18 ## Layout for SingleMu sample
19 trigHltMuonOfflineSummaryNew(dqmitems, "Muon (SingleMu)/Tag and Probe",
20  [{'path': "HLT/Muon/DistributionsVbtf/HLT_Mu15_v1/massVsEta_efficiency", 'description':"Tag and probe"}])
21 paths = ["HLT_Mu24_v2", "HLT_Mu30_v2", "HLT_IsoMu17_v6"]
22 for i, path in enumerate(paths):
23  trigHltMuonOfflineSummaryNew(dqmitems, "Muon (Mu)/%02d - %s" % (i, path),
24  [{'path': "HLT/Muon/DistributionsVbtf/%s/efficiencyTurnOn" % path, 'description':"Efficiency for VBTF muons to match HLT"}],
25  [{'path': "HLT/Muon/DistributionsVbtf/%s/efficiencyPhiVsEta" % path, 'description':"Efficiency for VBTF muons to match HLT"}])
26 
27 
28 ###---- GENERIC - FourVector Muon
29 def trigHltMuonOfflineSummary(i, p, *rows):
30  i["HLT/Muon/MuonHLTSummary/" + p] = DQMItem(layout=rows)
31 
32 
33 ######################################################
34 
35 trigHltMuonOfflineSummary(dqmitems,"01 - HLT_Mu3_v4",
36  [{'path': "HLT/Muon/Distributions/HLT_Mu3_v4/allMuons/recEffPt_L3Filtered", 'description':"Efficiency for RECO muons to match HLT"}],
37  [{'path': "HLT/Muon/Distributions/HLT_Mu3_v4/allMuons/recEffPhiVsEta_L3Filtered", 'description':"Efficiency for RECO muons to match HLT"}])
38 
39 ######################################################
40 
41 trigHltMuonOfflineSummary(dqmitems,"02 - HLT_Mu5_v4",
42  [{'path': "HLT/Muon/Distributions/HLT_Mu5_v4/allMuons/recEffPt_L3Filtered", 'description':"Efficiency for RECO muons to match HLT"}],
43  [{'path': "HLT/Muon/Distributions/HLT_Mu5_v4/allMuons/recEffPhiVsEta_L3Filtered", 'description':"Efficiency for RECO muons to match HLT"}])
44 
45 ######################################################
46 
47 trigHltMuonOfflineSummary(dqmitems,"03 - HLT_Mu12_v2",
48  [{'path': "HLT/Muon/Distributions/HLT_Mu12_v2/allMuons/recEffPt_L3Filtered", 'description':"Efficiency for RECO muons to match HLT"}],
49  [{'path': "HLT/Muon/Distributions/HLT_Mu12_v2/allMuons/recEffPhiVsEta_L3Filtered", 'description':"Efficiency for RECO muons to match HLT"}])
50 
51 ######################################################
52 
53 trigHltMuonOfflineSummary(dqmitems,"04 - HLT_Mu30_v2",
54  [{'path': "HLT/Muon/Distributions/HLT_Mu30_v2/allMuons/recEffPt_L3Filtered", 'description':"Efficiency for RECO muons to match HLT"}],
55  [{'path': "HLT/Muon/Distributions/HLT_Mu30_v2/allMuons/recEffPhiVsEta_L3Filtered", 'description':"Efficiency for RECO muons to match HLT"}])
56 
57 ######################################################
58 
59 trigHltMuonOfflineSummary(dqmitems,"05 - HLT_L2Mu10_v2",
60  [{'path': "HLT/Muon/Distributions/HLT_L2Mu10_v2/allMuons/recEffPt_L2Filtered", 'description':"Efficiency for RECO muons to match HLT"}],
61  [{'path': "HLT/Muon/Distributions/HLT_L2Mu10_v2/allMuons/recEffPhiVsEta_L2Filtered", 'description':"Efficiency for RECO muons to match HLT"}])
62 
63 ######################################################
64 
65 trigHltMuonOfflineSummary(dqmitems,"06 - HLT_L2Mu20_v2",
66  [{'path': "HLT/Muon/Distributions/HLT_L2Mu20_v2/allMuons/recEffPt_L2Filtered", 'description':"Efficiency for RECO muons to match HLT"}],
67  [{'path': "HLT/Muon/Distributions/HLT_L2Mu20_v2/allMuons/recEffPhiVsEta_L2Filtered", 'description':"Efficiency for RECO muons to match HLT"}])
68 
def trigHltMuonOfflineSummary
-— GENERIC - FourVector Muon
def trigHltMuonOfflineSummaryNew
-— GENERIC - FourVector selection goes here: ####