Functions | |
def | add_reco_strings |
def | efficiency_string |
Variables | |
list | efficiency_strings = [] |
tuple | hltMuonPostIso = hltMuonPostMain.clone() |
tuple | hltMuonPostMain = hltMuonPostProcessor.clone() |
tuple | hltMuonPostNonIso = hltMuonPostMain.clone() |
tuple | hltMuonPostProcessors |
list | iso_strings = [] |
list | noniso_strings = [] |
list | plot_types = ["TurnOn1", "TurnOn2", "EffEta", "EffPhi"] |
def hltMuonPostProcessors_cff::add_reco_strings | ( | strings | ) |
Definition at line 46 of file hltMuonPostProcessors_cff.py.
def hltMuonPostProcessors_cff::efficiency_string | ( | numer_label, | |
denom_label, | |||
plot_type, | |||
output_label = None |
|||
) |
Definition at line 5 of file hltMuonPostProcessors_cff.py.
00007 : 00008 00009 if output_label is None: 00010 output_label = numer_label 00011 if denom_label == "All" and numer_label != "L1": 00012 output_description = "Full Path" 00013 else: 00014 output_description = numer_label 00015 if denom_label == "All": 00016 denom_description = "# Gen #mu" 00017 else: 00018 denom_description = "# Gen #mu Matched to %s" % (denom_label) 00019 numer_description = "# Gen #mu Matched to %s" % (numer_label) 00020 00021 if plot_type == "TurnOn1": 00022 title = "pT Turn-On" 00023 xAxis = "p_{T} of Leading Generated Muon (GeV)" 00024 input_type = "PassMaxPt1" 00025 if plot_type == "TurnOn2": 00026 title = "Next-to-Leading pT Turn-On" 00027 xAxis = "p_{T} of Next-to-Leading Generated Muon (GeV)" 00028 input_type = "PassMaxPt2" 00029 if plot_type == "EffEta": 00030 title = "#eta Efficiency" 00031 xAxis = "#eta of Generated Muon (GeV)" 00032 input_type = "PassEta" 00033 if plot_type == "EffPhi": 00034 title = "#phi Efficiency" 00035 xAxis = "#phi of Generated Muon (GeV)" 00036 input_type = "PassPhi" 00037 00038 yAxis = "%s / %s" % (numer_description, denom_description) 00039 all_titles = "%s for %s; %s; %s" % (title, output_description, 00040 xAxis, yAxis) 00041 return "gen%s_%s '%s' gen%s_%s gen%s_%s" % (plot_type, output_label, 00042 all_titles, input_type, 00043 numer_label, input_type, 00044 denom_label) 00045
Definition at line 57 of file hltMuonPostProcessors_cff.py.
tuple hltMuonPostProcessors_cff::hltMuonPostIso = hltMuonPostMain.clone() |
Definition at line 81 of file hltMuonPostProcessors_cff.py.
tuple hltMuonPostProcessors_cff::hltMuonPostMain = hltMuonPostProcessor.clone() |
Definition at line 72 of file hltMuonPostProcessors_cff.py.
tuple hltMuonPostProcessors_cff::hltMuonPostNonIso = hltMuonPostMain.clone() |
Definition at line 76 of file hltMuonPostProcessors_cff.py.
Definition at line 85 of file hltMuonPostProcessors_cff.py.
list hltMuonPostProcessors_cff::iso_strings = [] |
Definition at line 58 of file hltMuonPostProcessors_cff.py.
Definition at line 59 of file hltMuonPostProcessors_cff.py.
list hltMuonPostProcessors_cff::plot_types = ["TurnOn1", "TurnOn2", "EffEta", "EffPhi"] |
Definition at line 56 of file hltMuonPostProcessors_cff.py.