Commit 68ac4f46 authored by Blaise Raheem Delaney's avatar Blaise Raheem Delaney
Browse files

[skip ci]

Commented out hadronic tau mode and removed (depredecated) templates.
parent e4cea9a3
Pipeline #2595241 skipped
# Builder development/change request
## Motivation
Outline of what is missing/wrong and a description of the changes needed.
## Sketch
There can be cases where new or significantly different builders from the available codebase might be needed. If this is the case, please sketch out what kind of builder is needed for your development (eg cut variables, extra inputs etc.)
## Contact(s)
Author(s) of this request.
## Checklist
- [ ] Assign label `code change`
- [ ] When ready, review and test the latest version of the implmeneted changes
- [ ] If all tests have passed **close this issue**.
# Development issue for the line `line_name` (pleae follow the convention [detailed here](https://gitlab.cern.ch/lhcb/Moore/-/issues/60))
## Line Name: `Hlt2DemoLine`
## Line description
Physics channel(s). Mention whether there are plans to hone the selection when porting over from Run 1/2.
## Ported HLT2 & stripping lines
List the stripping & HLT2 (lines) ported.
## Contact people
Name(s). Email(s).
## Checklist when opening:
- [ ] Milestone selected.
- [ ] Migration stream label assigned.
## Checklist before closing:
- [ ] MR into master with report section complete.
- [ ] Approved by reviewers.
# Merge request for line _line name_ (please follow the naming convention [detailed here](https://gitlab.cern.ch/lhcb/Moore/-/issues/60))
## Description of the line
Description of channel and of the builders used in the development.
## MC samples used in the development
1. Minbias
2. Channel-specific MC (report size of sample).
## Contact people
Name, email.
## Report
- Efficiency tables obtained through the wizard.
- Cuts that may have changed since Run 1/2.
- Plots.
- Any other comment.
- Report on use of TOPO, whether in sprucing or Turbo.
## Check-list
- [ ] Assign reviewer(s)
- [ ] Close line-specific issue.
- [ ] Tested against the latest version of Moore.
###############################################################################
# (c) Copyright 2019 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
# ###############################################################################
# # (c) Copyright 2019 CERN for the benefit of the LHCb Collaboration #
# # #
# # This software is distributed under the terms of the GNU General Public #
# # Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# # #
# # In applying this licence, CERN does not waive the privileges and immunities #
# # granted to it by virtue of its status as an Intergovernmental Organization #
# # or submit itself to any jurisdiction. #
# ###############################################################################
from Moore.config import HltLine, register_line_builder
# from Moore.config import HltLine, register_line_builder
from builders import sl_line_prefilter
from builders.charm_hadron_builder import make_dplus_tokpipi, make_ds_tokkpi
from builders.b_builder import make_b2xtaunu
from builders.base_builder import make_pions, make_kaons, make_tauons_hadronic_decay, make_prong_pions
# from builders import sl_line_prefilter
# from builders.charm_hadron_builder import make_dplus_tokpipi, make_ds_tokkpi
# from builders.b_builder import make_b2xtaunu
# from builders.base_builder import make_pions, make_kaons, make_tauons_hadronic_decay, make_prong_pions
all_lines = {}
"""
need to double check the tau hadronic and prong pions builders
"""
# all_lines = {}
# """
# need to double check the tau hadronic and prong pions builders
# """
@register_line_builder(all_lines)
def b0todptaunu_dptokpipi_tautopipipinu_line(
name="Hlt2B0ToDpTauNu_DpToKPiPi_TauToPiPiPiNuLine", prescale=1):
kaons = make_kaons()
pions = make_pions()
pis = make_prong_pions()
tauons = make_tauons_hadronic_decay(particles=[pis, pis, pis])
dps = make_dplus_tokpipi(daughter_trpchi2_min = 0.01)
b0s = make_b2xtaunu(
particles=[dps, tauons],
descriptors=["[B+ -> D- tau+]cc", "[B+ -> D- tau-]cc"])
# @register_line_builder(all_lines)
# def b0todptaunu_dptokpipi_tautopipipinu_line(
# name="Hlt2B0ToDpTauNu_DpToKPiPi_TauToPiPiPiNuLine", prescale=1):
# kaons = make_kaons()
# pions = make_pions()
# pis = make_prong_pions()
# tauons = make_tauons_hadronic_decay(particles=[pis, pis, pis])
# dps = make_dplus_tokpipi(daughter_trpchi2_min = 0.01)
# b0s = make_b2xtaunu(
# particles=[dps, tauons],
# descriptors=["[B+ -> D- tau+]cc", "[B+ -> D- tau-]cc"])
return HltLine(
name=name,
algs=sl_line_prefilter() + [b0s],
extra_outputs=[
("Kaons", kaons),
("Pions", pions),
("Pis", tauons),
],
prescale=prescale,
)
# return HltLine(
# name=name,
# algs=sl_line_prefilter() + [b0s],
# extra_outputs=[
# ("Kaons", kaons),
# ("Pions", pions),
# ("Pis", tauons),
# ],
# prescale=prescale,
# )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment