Skip to main content

Module datacard

Module datacard 

Source
Expand description

CMS Combine datacard emission for already-filled one-dimensional histograms.

The multi-process API takes one nominal histogram per (channel, process) column. Producing those per-process histograms by running the analysis over multiple samples with per-sample xsec*lumi/sumw normalization is the natural follow-up in the sample/normalization layer; this module only emits the already-filled histograms it is given. Running combine remains the external validation step.

Structsยง

Channel
One Combine channel/bin for a single process plus observed data.
DatacardOutput
Output paths written by SingleProcessDatacard::write.
FlatWeightSystematic
A flat normalization-only nuisance emitted as a Combine lnN row.
MultiProcessChannel
One Combine channel/bin with observed data and multiple process columns.
MultiProcessDatacard
A Combine datacard with one column per (channel, process).
Process
One Combine process column inside a channel.
ShapeVariation
A two-sided per-bin shape variation for one channel and process.
SingleProcessDatacard
A Combine datacard with one process column per channel.