hlt2_QEE_eff_example.yaml 2.99 KB
Newer Older
1
2
3
4
5
6
7
8
# 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
    evt_max: 1000
    input_type: ROOT
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
30
31
32
33
34
35
36
37
38
39
40
                                          # 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

    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
41
        input: *NTUPLE
42
        level: Hlt2
Ross John Hunter's avatar
Ross John Hunter committed
43
        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
50
        plot_format: pdf