afw.objects.AnalysisConfig#
- class afw.objects.AnalysisConfig(name: str)[source]#
Bases:
ABCAn object representing a full analysis
- __init__(name: str)[source]#
- Parameters:
name (
str) – The name of the analysis. This should be a valid folder name
Methods
__init__(name)augment_events(events)Augment a set of events for use in plotting.
define_objects(events)Define objects, such as leptons.
get_dataset(xcache_host)Gets the fully-formatted dataset for the current analysis
Create a list of things to plot
minify(events)Minify a set of events to be saved locally, for use in skimming
preselect_events(events)Run preselection of events
select_events(events)Run selection of events
- abstractmethod augment_events(events: Array) dict[Array][source]#
Augment a set of events for use in plotting. This should be used to eliminate dual-computation of properties for separate plots
- abstractmethod define_objects(events: Array) Array[source]#
Define objects, such as leptons. This method operates in-place
- abstractmethod get_dataset(xcache_host: str) dict[source]#
Gets the fully-formatted dataset for the current analysis
- abstractmethod get_things_to_plot() list[ThingToPlot][source]#
Create a list of things to plot
- Returns:
Any set of things to plot
- Return type:
- abstractmethod minify(events: Array) Array[source]#
Minify a set of events to be saved locally, for use in skimming