Skip to content

Separate database for cross sections of processes #43

@moritzmolch

Description

@moritzmolch

Currently, the cross section has to be filled separately for each sample. This is lots of manual work to do when adding a sample, and it could cause inconsistencies between cross sections for different eras. Also, we do not document the references where the cross sections are coming from.

To overcome these issues, we can collect the cross sections in a central JSON file, serving as the database of cross sections to use for the samples (a separate one for each center-of-mass energy). The entries in this database can follow a schema like this, condensing all important information about the cross section value of a sample.

[
    ...
    {
        "sample_names": [
                "TTto2L2Nu_TuneCP5_13p6TeV_powheg-pythia8",
        ],
        "xsec": 98.03,
        "order": "approx. NNLO(QCD)+NNLL",
        "reference": "https://twiki.cern.ch/twiki/bin/view/LHCPhysics/TtbarNNLO; https://arxiv.org/abs/1112.5675"
    },
    ...
]

The samples are identified by the sample_name, which is the first part of the DAS key (i.e., the DAS key is interpreted as /<sample_name>/<campaign_information>/NANOAODSIM). For some samples, the name changes with the data-taking era, so sample_names should be a list here, containing all different sample names corresponding to the same physics process.

When adding new datasets with the sample_manager, this file could be used to automatically attach a cross section value.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions