![]() |
ATLAS Offline Software
|
Classes | |
| class | LayerPlotter |
| class | TqdmLoggingHandler |
Functions | |
| check_status_code (func) | |
| timed (method) | |
| plot_ATLAS (fig, x, y, label="Internal", fontsize=20) | |
| pairwise (iterable) | |
| divide_square (n, horizontal=True) | |
| histo2data (histo) | |
| systematics_from_tool (tool, only_scale=True, only_resolution=False, only_up=True) | |
| partition (x, n) | |
| generator_photon (self) | |
| calibrate_eta_pt (tool, etas, pts, simulation=True, particle="unconverted") | |
| eval_sys_eta_phi (tool, etas, phis, pt, simulation, particle="unconverted") | |
| eval_eta_slice (tool, etas, pts, ptype, only_material=False, only_up=True) | |
| beautify_sysname (sysname) | |
| beautify_particle (particle) | |
| plot_all_syst_eta_slice (etabins, supersampling_eta=3, esmodel="es2012c", decorrelation="FULL_v1", ptype="unconverted", pts=np.logspace(np.log10(5e3), 6, 100), basedir="plot", only_material=False, beautify_sysnames=False, sys_order=None, superimpose_all=False, skip_null_sys=False, min_sys=-0.02, max_sys=0.02, only_up=True, debug=False, legend_outside=False, symmetrize_labels=False, log_x=False, plot_qsum=False, abs_sys=False, atlas_label="Internal") | |
| values2histo (name, title, x, y) | |
| plot_all_Zee_syst (etas, pt=100e3, basedir="plots") | |
| plot_all_syst_fixed_pt (tools, names, labels, pt=100e3, ptype="unconverted", basedir="plots") | |
| compute_or_read_sys (tool, ptypes, eta_edges, pt_edges) | |
| compare_sys (esmodels=None, ptypes=None, decorrelation="FULL_ETACORRELATED_v1", eta_edges=None, pt_edges=None, basedir="plots", smearing=False, only_up=True, abs_sys=False, log_x=False) | |
| plot_all_syst_eta_pt (esmodel="es2012c", decorrelation="FULL_v1", ptype="unconverted", basedir="plots", eta_range=None, pt_range=None, log_pt=False, abs_sys=False, only_up=False, sys_filters=None, min_value=None, max_value=None) | |
| plot_all_scales (esmodels, basedir, labels=None, etas=np.arange(-4.5, 4.5, 0.01), add_patch=False, debug=False # noqa:B008(range used as constant)) | |
| plot_all_cterms (esmodels, basedir, labels=None, etas=np.arange(-4.5, 4.5, 0.01)) | |
| compare_two_tools_eta (tool1, tool2, pt, simulation, name, basedir, title, particle="unconverted") | |
| compare_two_tools_eta_phi (tool1, tool2, pt, simulation, name, basedir, title, particle="unconverted") | |
| compare_two_tools_eta_pt (tool1, tool2, simulation, name, basedir, title, particle="unconverted") | |
| check_gain (basedir, esmodel) | |
| check_fast (basedir, esmodel) | |
| check_uniformity (basedir, esmodel) | |
| compare_all_syst_fixed_pt (basedir, esmodels, names=None, labels=None) | |
| plot_resolution_eta_pt (basedir, tool, pts, etas, ptype, title) | |
| plot_resolution_error (basedir, **kwargs) | |
| plot_resolution_error_bin (eta_min, eta_max, particle, esmodel, basedir, tool=None, **kwargs) | |
| list_systematics (esmodels, decorrelation="FULL_ETACORRELATED_v1") | |
| main () | |
Variables | |
| IgnoreCommandLineOptions | |
| str | extensions = "pdf", "png" |
| initialize | |
| fout = ROOT.TFile("output_plot.root", "recreate") | |
| log | |
| handler = TqdmLoggingHandler() | |
| plotter = LayerPlotter() | |
Produce plots about egamma calibration systematics and corrections
| plot.beautify_particle | ( | particle | ) |
Definition at line 286 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.beautify_sysname | ( | sysname | ) |
Definition at line 255 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.calibrate_eta_pt | ( | tool, | |
| etas, | |||
| pts, | |||
| simulation = True, | |||
| particle = "unconverted" ) |
Definition at line 180 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.check_fast | ( | basedir, | |
| esmodel ) |
Definition at line 1369 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.check_gain | ( | basedir, | |
| esmodel ) |
Definition at line 1332 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.check_status_code | ( | func | ) |
Definition at line 64 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.check_uniformity | ( | basedir, | |
| esmodel ) |
Definition at line 1396 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
Definition at line 1422 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.compare_sys | ( | esmodels = None, | |
| ptypes = None, | |||
| decorrelation = "FULL_ETACORRELATED_v1", | |||
| eta_edges = None, | |||
| pt_edges = None, | |||
| basedir = "plots", | |||
| smearing = False, | |||
| only_up = True, | |||
| abs_sys = False, | |||
| log_x = False ) |
Definition at line 839 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.compare_two_tools_eta | ( | tool1, | |
| tool2, | |||
| pt, | |||
| simulation, | |||
| name, | |||
| basedir, | |||
| title, | |||
| particle = "unconverted" ) |
Definition at line 1263 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.compare_two_tools_eta_phi | ( | tool1, | |
| tool2, | |||
| pt, | |||
| simulation, | |||
| name, | |||
| basedir, | |||
| title, | |||
| particle = "unconverted" ) |
Definition at line 1285 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.compare_two_tools_eta_pt | ( | tool1, | |
| tool2, | |||
| simulation, | |||
| name, | |||
| basedir, | |||
| title, | |||
| particle = "unconverted" ) |
Definition at line 1307 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.compute_or_read_sys | ( | tool, | |
| ptypes, | |||
| eta_edges, | |||
| pt_edges ) |
Definition at line 794 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.divide_square | ( | n, | |
| horizontal = True ) |
divide a figure into a square number of subplots in an optimized way
Definition at line 115 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
Definition at line 225 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.eval_sys_eta_phi | ( | tool, | |
| etas, | |||
| phis, | |||
| pt, | |||
| simulation, | |||
| particle = "unconverted" ) |
Definition at line 205 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.generator_photon | ( | self | ) |
Definition at line 169 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.histo2data | ( | histo | ) |
Definition at line 130 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.list_systematics | ( | esmodels, | |
| decorrelation = "FULL_ETACORRELATED_v1" ) |
Definition at line 1655 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.main | ( | ) |
Definition at line 1692 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.pairwise | ( | iterable | ) |
Definition at line 108 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.partition | ( | x, | |
| n ) |
Definition at line 157 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.plot_all_cterms | ( | esmodels, | |
| basedir, | |||
| labels = None, | |||
| etas = np.arange(-4.5, 4.5, 0.01) ) |
Definition at line 1202 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.plot_all_scales | ( | esmodels, | |
| basedir, | |||
| labels = None, | |||
| etas = np.arange(-4.5, 4.5, 0.01), | |||
| add_patch = False, | |||
| debug = False # noqa: B008 (range used as constant) ) |
Definition at line 1078 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.plot_all_syst_eta_pt | ( | esmodel = "es2012c", | |
| decorrelation = "FULL_v1", | |||
| ptype = "unconverted", | |||
| basedir = "plots", | |||
| eta_range = None, | |||
| pt_range = None, | |||
| log_pt = False, | |||
| abs_sys = False, | |||
| only_up = False, | |||
| sys_filters = None, | |||
| min_value = None, | |||
| max_value = None ) |
Plot a 2D map (eta, pT) of the value of the systematic in %
Definition at line 989 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.plot_all_syst_eta_slice | ( | etabins, | |
| supersampling_eta = 3, | |||
| esmodel = "es2012c", | |||
| decorrelation = "FULL_v1", | |||
| ptype = "unconverted", | |||
| pts = np.logspace(np.log10(5e3), 6, 100), | |||
| basedir = "plot", | |||
| only_material = False, | |||
| beautify_sysnames = False, | |||
| sys_order = None, | |||
| superimpose_all = False, | |||
| skip_null_sys = False, | |||
| min_sys = -0.02, | |||
| max_sys = 0.02, | |||
| only_up = True, | |||
| debug = False, | |||
| legend_outside = False, | |||
| symmetrize_labels = False, | |||
| log_x = False, | |||
| plot_qsum = False, | |||
| abs_sys = False, | |||
| atlas_label = "Internal" ) |
Definition at line 295 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.plot_all_syst_fixed_pt | ( | tools, | |
| names, | |||
| labels, | |||
| pt = 100e3, | |||
| ptype = "unconverted", | |||
| basedir = "plots" ) |
Definition at line 758 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.plot_all_Zee_syst | ( | etas, | |
| pt = 100e3, | |||
| basedir = "plots" ) |
Definition at line 588 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.plot_ATLAS | ( | fig, | |
| x, | |||
| y, | |||
| label = "Internal", | |||
| fontsize = 20 ) |
Definition at line 92 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.plot_resolution_error | ( | basedir, | |
| ** | kwargs ) |
Definition at line 1476 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.plot_resolution_error_bin | ( | eta_min, | |
| eta_max, | |||
| particle, | |||
| esmodel, | |||
| basedir, | |||
| tool = None, | |||
| ** | kwargs ) |
Definition at line 1503 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.plot_resolution_eta_pt | ( | basedir, | |
| tool, | |||
| pts, | |||
| etas, | |||
| ptype, | |||
| title ) |
Definition at line 1439 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
return name of the systematics
Definition at line 143 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.timed | ( | method | ) |
Definition at line 79 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.values2histo | ( | name, | |
| title, | |||
| x, | |||
| y ) |
Definition at line 578 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| str plot.extensions = "pdf", "png" |
Definition at line 61 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.fout = ROOT.TFile("output_plot.root", "recreate") |
Definition at line 105 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.handler = TqdmLoggingHandler() |
Definition at line 2055 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.IgnoreCommandLineOptions |
Definition at line 29 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.initialize |
Definition at line 74 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.log |
Definition at line 2053 of file PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection/python/plot.py.
| plot.plotter = LayerPlotter() |
Definition at line 178 of file Reconstruction/egamma/egammaLayerRecalibTool/python/plot.py.