CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTTopPostVal_cff.py
Go to the documentation of this file.
3 
4 hltTopPostSemimu = HLTTopPostProcessor.clone()
5 
6 hltTopPostSemimu.subDirs = ['HLT/Top/Semileptonic_muon']
7 hltTopPostSemimu.efficiency = (
8  # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu",
9  "EffVsPt_HLT_Mu9 'HLT_Mu9 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_M_HLT_Mu9 Muon1Pt_M",
10  "EffVsEta_HLT_Mu9 'HLT_Mu9 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_M_HLT_Mu9 Muon1Eta_M",
11  "EffVsPt_HLT_Mu15 'HLT_Mu15 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_M_HLT_Mu15 Muon1Pt_M",
12  "EffVsEta_HLT_Mu15 'HLT_Mu15 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_M_HLT_Mu15 Muon1Eta_M",
13  "EffVsPt_HLT_IsoMu9 'HLT_IsoMu9 ; p_{T #mu}; Trigger_Efficiency' Muon1Pt_M_HLT_IsoMu9 Muon1Pt_M",
14  "EffVsEta_HLT_IsoMu9 'HLT_IsoMu9 ; #eta_{#mu}; Trigger_Efficiency' Muon1Eta_M_HLT_IsoMu9 Muon1Eta_M",
15 
16  "Efficiencies_MuonTriggers_gen 'HLT efficiency wrt mc acceptance ; ; Trigger Efficiency' genmuHLT genMuonEvents",
17  "Efficiencies_MuonTriggers 'HLT efficiency wrt acc+offline ; ; Trigger Efficiency' muHLT MuonEvents",
18 
19  )
20 
21 hltTopPostSemiel = HLTTopPostProcessor.clone()
22 
23 hltTopPostSemiel.subDirs = ['HLT/Top/Semileptonic_electron']
24 hltTopPostSemiel.efficiency = (
25  # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu",
26  "EffVsPt_HLT_Ele15_SW_L1R 'HLT_Ele15_SW_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_E_HLT_Ele15_SW_L1R Electron1Pt_E",
27  "EffVsEta_HLT_Ele15_SW_L1R 'HLT_Ele15_SW_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_E_HLT_Ele15_SW_L1R Electron1Eta_E",
28  "EffVsPt_HLT_Ele15_SW_LooseTrackIso_L1R 'HLT_Ele15_SW_LooseTrackIso_L1R ; p_{T e}; Trigger_Efficiency' Electron1Pt_E_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Pt_E",
29  "EffVsEta_HLT_Ele15_SW_LooseTrackIso_L1R 'HLT_Ele15_SW_LooseTrackIso_L1R ; #eta_{e}; Trigger_Efficiency' Electron1Eta_E_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Eta_E",
30 
31  "Efficiencies_Electrontriggers 'HLT efficiency wrt acc+offline ; ; Trigger Efficiency' elHLT ElectronEvents",
32  "Efficiencies_Electrontriggers_gen 'HLT efficiency wrt mc acceptance ; ; Trigger Efficiency' genelHLT genElectronEvents"
33  ####
34  )
35 
36  ##################
37 
38 hltTopPostDimu = HLTTopPostProcessor.clone()
39 
40 hltTopPostDimu.subDirs = ['HLT/Top/Dileptonic_muon']
41 hltTopPostDimu.efficiency = (
42  # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu",
43  "EffVsPt_HLT_Mu9_MM 'HLT_Mu9 ; p_{T #mu 1}; Trigger_Efficiency' Muon1Pt_MM_HLT_Mu9 Muon1Pt_MM",
44  "EffVsEta_HLT_Mu9_MM 'HLT_Mu9 ; #eta_{#mu 1}; Trigger_Efficiency' Muon1Eta_MM_HLT_Mu9 Muon1Eta_MM",
45  "EffVsPt_HLT_Mu15_MM 'HLT_Mu15 ; p_{T #mu 1}; Trigger_Efficiency' Muon1Pt_MM_HLT_Mu15 Muon1Pt_MM",
46  "EffVsEta_HLT_Mu15_MM 'HLT_Mu15 ; #eta_{#mu 1}; Trigger_Efficiency' Muon1Eta_MM_HLT_Mu15 Muon1Eta_MM",
47  "EffVsPt_HLT_IsoMu9_MM 'HLT_IsoMu9 ; p_{T #mu 1}; Trigger_Efficiency' Muon1Pt_MM_HLT_IsoMu9 Muon1Pt_MM",
48  "EffVsEta_HLT_IsoMu9_MM 'HLT_IsoMu9 ; #eta_{#mu 1}; Trigger_Efficiency' Muon1Eta_MM_HLT_IsoMu9 Muon1Eta_MM",
49  "EffVsPt_HLT_DoubleMu3_MM 'HLT_DoubleMu3 ; p_{T #mu 1}; Trigger_Efficiency' Muon1Pt_MM_HLT_DoubleMu3 Muon1Pt_MM",
50  "EffVsEta_HLT_DoubleMu3_MM 'HLT_DoubleMu3 ; #eta_{#mu 1}; Trigger_Efficiency' Muon1Eta_MM_HLT_DoubleMu3 Muon1Eta_MM",
51 
52  )
53 
54 hltTopPostDiel = HLTTopPostProcessor.clone()
55 
56 hltTopPostDiel.subDirs = ['HLT/Top/Dileptonic_electron']
57 hltTopPostDiel.efficiency = (
58  # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu",
59  "EffVsPt_HLT_Ele15_SW_L1R_EE 'HLT_Ele15_SW_L1R ; p_{T e 1}; Trigger_Efficiency' Electron1Pt_EE_HLT_Ele15_SW_L1R Electron1Pt_EE",
60  "EffVsEta_HLT_Ele15_SW_L1R_EE 'HLT_Ele15_SW_L1R ; #eta_{e 1}; Trigger_Efficiency' Electron1Eta_EE_HLT_Ele15_SW_L1R Electron1Eta_EE",
61  "EffVsPt_HLT_Ele15_SW_LooseTrackIso_L1R_EE 'HLT_Ele15_SW_LooseTrackIso_L1R ; p_{T e 1}; Trigger_Efficiency' Electron1Pt_EE_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Pt_EE",
62  "EffVsEta_HLT_Ele15_SW_LooseTrackIso_L1R_EE 'HLT_Ele15_SW_LooseTrackIso_L1R ; #eta_{e 1}; Trigger_Efficiency' Electron1Eta_EE_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Eta_EE",
63  "EffVsPt_HLT_DoubleEle10_SW_L1R_EE 'HLT_DoubleEle10_SW_L1R ; p_{T e 1}; Trigger_Efficiency' Electron1Pt_EE_HLT_DoubleEle10_SW_L1R Electron1Pt_EE",
64  "EffVsEta_HLT_DoubleEle10_SW_L1R_EE 'HLT_DoubleEle10_SW_L1R ; #eta_{e 1}; Trigger_Efficiency' Electron1Eta_EE_HLT_DoubleEle10_SW_L1R Electron1Eta_EE",
65 
66  )
67 
68 hltTopPostEmu = HLTTopPostProcessor.clone()
69 
70 hltTopPostEmu.subDirs = ['HLT/Top/Dileptonic_emu']
71 hltTopPostEmu.efficiency = (
72  # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu",
73  "EffVsPt_HLT_Mu9_EM 'HLT_Mu9 ; p_{T #mu }; Trigger_Efficiency' Muon1Pt_EM_HLT_Mu9 Muon1Pt_EM",
74  "EffVsEta_HLT_Mu9_EM 'HLT_Mu9 ; #eta_{#mu }; Trigger_Efficiency' Muon1Eta_EM_HLT_Mu9 Muon1Eta_EM",
75  "EffVsPt_HLT_Mu15_EM 'HLT_Mu15 ; p_{T #mu }; Trigger_Efficiency' Muon1Pt_EM_HLT_Mu15 Muon1Pt_EM",
76  "EffVsEta_HLT_Mu15_EM 'HLT_Mu15 ; #eta_{#mu }; Trigger_Efficiency' Muon1Eta_EM_HLT_Mu15 Muon1Eta_EM",
77  "EffVsPt_HLT_IsoMu9_EM 'HLT_IsoMu9 ; p_{T #mu }; Trigger_Efficiency' Muon1Pt_EM_HLT_IsoMu9 Muon1Pt_EM",
78  "EffVsEta_HLT_IsoMu9_EM 'HLT_IsoMu9 ; #eta_{#mu }; Trigger_Efficiency' Muon1Eta_EM_HLT_IsoMu9 Muon1Eta_EM",
79  "EffVsPt_HLT_Ele15_SW_L1R_EM 'HLT_Ele15_SW_L1R ; p_{T e }; Trigger_Efficiency' Electron1Pt_EM_HLT_Ele15_SW_L1R Electron1Pt_EM",
80  "EffVsEta_HLT_Ele15_SW_L1R_EM 'HLT_Ele15_SW_L1R ; #eta_{e }; Trigger_Efficiency' Electron1Eta_EM_HLT_Ele15_SW_L1R Electron1Eta_EM",
81  "EffVsPt_HLT_Ele15_SW_LooseTrackIso_L1R_EM 'HLT_Ele15_SW_LooseTrackIso_L1R ; p_{T e }; Trigger_Efficiency' Electron1Pt_EM_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Pt_EM",
82  "EffVsEta_HLT_Ele15_SW_LooseTrackIso_L1R_EM 'HLT_Ele15_SW_LooseTrackIso_L1R ; #eta_{e }; Trigger_Efficiency' Electron1Eta_EM_HLT_Ele15_SW_LooseTrackIso_L1R Electron1Eta_EM",
83 
84  )
85 
86 hltTopPostJet = HLTTopPostProcessor.clone()
87 
88 hltTopPostJet.subDirs = ['HLT/Top/Jets']
89 hltTopPostJet.efficiency = (
90  # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu",
91  # "EffVsEt_HLT_QuadJet30 'HLT_QuadJet30 ; E_{T jet}; Trigger_Efficiency' Jet1Et_M_HLT_QuadJet30 Jet1Et_M",
92  "Efficiencies_jetTriggers_semimu 'HLT efficiency wrt acc+offline ; ; Trigger Efficiency' numer denom",
93  # "EffVsEta_HLT_QuadJet30 'HLT_QuadJet30 ; #eta_{ jet}; Trigger_Efficiency' Jet1Eta_M_HLT_QuadJet30 Jet1Eta_M",
94 
95 
96  "Efficiencies_jetTriggers_semiel 'HLT efficiency wrt acc+offline ; ; Trigger Efficiency' numer_el denom_el",
97  # "EffVsEt_HLT_QuadJet30_el 'HLT_QuadJet30 ; E_{T jet}; Trigger_Efficiency' Jet1Et_E_HLT_QuadJet30 Jet1Et_E",
98  # "EffVsEta_HLT_QuadJet30_el 'HLT_QuadJet30 ; #eta_{ jet}; Trigger_Efficiency' Jet1Eta_E_HLT_QuadJet30 Jet1Eta_M",
99 
100  )
101 
102 
103 hltTopPost4Jets = HLTTopPostProcessor.clone()
104 
105 hltTopPost4Jets.subDirs = ['HLT/Top/4JetsPlus1MuonToCompareWithData']
106 hltTopPost4Jets.efficiency = (
107  # "TrigEFF 'my title; my x-label; my y-label' pt_trig_off_mu pt_off_mu",
108  "EffVsPt_HLTMu9_4Jets1MuonMon 'HLT_Mu9 ; p_{T #mu }; Trigger_Efficiency' Muon1Pt_4Jets1MuonHLTMu9Mon Muon1Pt_4Jets1MuonMon",
109  "EffVsEta_HLTMu9_4Jets1MuonMon 'HLT_Mu9 ; #eta_{#mu }; Trigger_Efficiency' Muon1Eta_4Jets1MuonHLTMu9Mon Muon1Eta_4Jets1MuonMon",
110  "EffVsNJets_HLTMu9_4Jets1MuonMon 'HLT_Mu9 ; Jet multiplicity; Trigger_Efficiency' NJets_4Jets1MuonHLTMu9Mon NJets_4Jets1MuonMon",
111 
112  )
113 
114 
115 
116 
117 
118 HLTTopPostVal = cms.Sequence(
119  hltTopPostSemimu *
120  hltTopPostSemiel *
121  hltTopPostDimu *
122  hltTopPostDiel *
123  hltTopPostEmu *
124  hltTopPostJet *
125  hltTopPost4Jets
126 
127 )