hlt2_qee_eff_example.yaml 3 KB
Newer Older
1
2
3
4
5
6
# HltEfficiencyChecker "wizard" example for Hlt2 job with QEE options
annotated_decay_descriptor:
    "${W}[W+ => ${mu}mu+ ${nu}nu_mu ]CC"
ntuple_path: &NTUPLE eff_ntuple.root
job:
    trigger_level: 2
Ross John Hunter's avatar
Ross John Hunter committed
7
    evt_max: 100
8
    input_type: ROOT
Ross John Hunter's avatar
Ross John Hunter committed
9
    lines_from: Hlt2Conf.lines.qee # Specify the import path to where the lines live
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
                                          # subdirectories accessed with a "." e.g. b_to_open_charm.b_to_dd
                                          # NOTE only works with Hlt2 lines - you cannot specify a Hlt1 line at this time.
    input_files:
        # W+jet 42311011 upgrade sample. See https://its.cern.ch/jira/browse/LHCBGAUSS-1837
        # Not HLT1 filtered.
        - "root://x509up_u1000@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/XDST/00100893/0000/00100893_00000010_2.xdst"
        - "root://x509up_u1000@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/XDST/00100893/0000/00100893_00000011_2.xdst"
        - "root://x509up_u1000@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/XDST/00100893/0000/00100893_00000012_2.xdst"
        - "root://x509up_u1000@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/XDST/00100893/0000/00100893_00000013_2.xdst"
        - "root://x509up_u1000@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/XDST/00100893/0000/00100893_00000014_2.xdst"
        - "root://x509up_u1000@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/XDST/00100893/0000/00100893_00000015_2.xdst"
        - "root://x509up_u1000@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/XDST/00100893/0000/00100893_00000016_2.xdst"
        - "root://x509up_u1000@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/XDST/00100893/0000/00100893_00000017_2.xdst"
        - "root://x509up_u1000@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/XDST/00100893/0000/00100893_00000018_2.xdst"
        - "root://x509up_u1000@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/XDST/00100893/0000/00100893_00000020_2.xdst"
    simulation: True
    conddb_tag: 'sim-20180530-vc-mu100'
    dddb_tag: 'dddb-20190223'
    input_raw_format: 4.3
    ft_decoding_version: 6
30
    run_reconstruction: true
31
32
33
34
35
36
37
38
39
40
41

    options:
        #- $HLTEFFICIENCYCHECKERROOT/options/hlt2_lines_example.py  # Not needed as the "lines_from" is used instead
        - $HLTEFFICIENCYCHECKERROOT/options/options_template.py.jinja  # first rendered with jinja2
        # One can also write templated options directly as a multi-line string, for example:
        # - |
        #     from Moore import options
        #     options.ntuple_file = "{{ ntuple_path }}"
analysis:
    script: $HLTEFFICIENCYCHECKERROOT/scripts/hlt_line_efficiencies.py
    args:
Ross John Hunter's avatar
Ross John Hunter committed
42
43
        input: *NTUPLE
        reconstructible_children: mu
44
45
46
47
        # The parent is automatically deduced from the annotated decay descriptor,
        # which is passed in a file such as eff_ntuple.root.json, but can also be given:
        # parent: B_s0
        legend_header: "W #rightarrow #mu#nu"
Ross John Hunter's avatar
Ross John Hunter committed
48
49
        make_plots: true
        denoms: CanRecoChildren,HighTruthPtMuon
Ross John Hunter's avatar
Ross John Hunter committed
50
        plot_format: png