analyzer.postprocessing.cutflows

Attributes

Classes

PlotSelectionFlow

Helper class that provides a standard way to create an ABC using

CutflowTable

Helper class that provides a standard way to create an ABC using

Functions

makeCutflowDf(group[, key, cols])

makeAndSaveCutflowTable(group, common_meta, output_path)

Module Contents

class analyzer.postprocessing.cutflows.PlotSelectionFlow[source]

Bases: analyzer.postprocessing.processors.BasePostprocessor

Helper class that provides a standard way to create an ABC using inheritance.

output_name: str[source]
style_set: str | analyzer.postprocessing.style.StyleSet[source]
scale: Literal['log', 'linear'] = 'linear'[source]
normalize: bool = False[source]
getRunFuncs(group, prefix=None)[source]
analyzer.postprocessing.cutflows.ALLOWED_COLS[source]
class analyzer.postprocessing.cutflows.CutflowTable[source]

Bases: analyzer.postprocessing.processors.BasePostprocessor

Helper class that provides a standard way to create an ABC using inheritance.

output_name: str[source]
format: Literal['markdown', 'csv', 'latex'] = 'csv'[source]
key: str = '{dataset_name}'[source]
standalone: bool = False[source]
highlight_rows: list[tuple[int, str]] | None = None[source]
cols: list[ALLOWED_COLS] = ['count', 'rel', 'abs'][source]
getRunFuncs(group, prefix=None)[source]
analyzer.postprocessing.cutflows.makeCutflowDf(group, key='{dataset_name}', cols=None)[source]
analyzer.postprocessing.cutflows.STANDALONE_TOP = Multiline-String[source]
Show Value
"""\documentclass{standalone}
\usepackage{booktabs}
\usepackage[table,usenames,svgnames]{xcolor}
\begin{document}
"""
analyzer.postprocessing.cutflows.STANDALONE_BOTTOM = Multiline-String[source]
Show Value
"""
\end{document}
"""
analyzer.postprocessing.cutflows.makeAndSaveCutflowTable(group, common_meta, output_path, format='csv', key='{dataset_name}', standalone=False, highlight_rows=None, cols=None)[source]