Skip to main content

Module samples

Module samples 

Source
Expand description

Sample-table parsing and per-process histogram production.

This layer closes the production loop between an analysis spec and the multi-process datacard emitter: each sample is interpreted, MC samples are scaled by xsec*lumi/sumw, samples sharing a process are summed, and data samples are accumulated into data_obs.

Structs§

NormalizedProcessHistograms
Per-process, normalized histogram output from a sample-table run.
Sample
One validated sample row.
SampleRunReport
Summary for one processed sample row.
SampleTable
A parsed sample table with one integrated luminosity and many samples.

Enums§

CrossSection
A cross-section parsed from the sample table.
IntegratedLuminosity
An integrated luminosity parsed from the sample table.

Functions§

mc_normalization_factor_fb
MC normalization in fb/fb^-1 units: xsec * lumi / sumw.
mc_normalization_factor_pb
MC normalization in pb/pb^-1 units: xsec * lumi / sumw.
run_interpreted_samples
Run a validated analysis plan over all ROOT files in a sample table.
run_interpreted_samples_with_events
Run a validated analysis plan using a caller-supplied event source.