Skip to content
Snippets Groups Projects

Initial import of MVA-based B->K*mumu line

Closed Rebecca Murta requested to merge mva_line into master

MVA-based HLT2 line for B->K*mumu.

For muons, kaons, pions, dimuon, K* rdbuilder_thor definitions are used

Ideally Kstar and dimuon builders will use MVA selections but currently it isn't possible to use the CHILD functor for MVA input variables

B builder uses MVA selection, may add isolation variables as inputs if this becomes possible with ThOr functors, and may also add outputs of dimuon/K* MVA as input variables (requires CHILD functor)

The MVA selection seems to work with the TMVA.h file (Rec!2588 (merged)) - this will be needed for testing, as well as lhcb-datapkg/ParamFiles!37 (closed) for the weights file.

Edited by Miroslav Saur

Merge request reports

Merge request pipeline #3511656 passed

Merge request pipeline passed for 3115b53e

Approved by

Closed by Sebastien PonceSebastien Ponce 2 years ago (Jun 7, 2022 9:43am UTC)

Merge details

  • The changes were not merged into master.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
121 # Config={
122 # 'XMLFile': dimuon_XMLFile,
123 # 'Name': 'BDT',
124 # 'TMVAOptions': 'Silent',
125 # },
126 # Inputs=dimunon_BDTInputs
127 #) > 0.1)
128
129 return ParticleCombiner([muons, muons],
130 name=name,
131 DecayDescriptor=DecayDescriptor,
132 CombinationCut=combination_code,
133 CompositeCut=vertex_code)
134
135
136 B0_XMLFile = 'add filename here'
  • 9 # or submit itself to any jurisdiction. #
    10 ###############################################################################
    11 """ Definition of MVA-based B -> K* Mu Mu HLT2 line """
    12
    13 from Moore.config import register_line_builder
    14 from Moore.lines import Hlt2Line
    15
    16 from RecoConf.reconstruction_objects import upfront_reconstruction
    17
    18 from Hlt2Conf.lines.rd.builders import mva_builder
    19
    20 all_lines = {}
    21
    22
    23 @register_line_builder(all_lines)
    24 def BdToKstarMuMu_line(name="Hlt2RD_BdToKstarMuMu_Line", prescale=1):
  • 64 # 'TMVAOptions': 'Silent',
    65 # },
    66 # Inputs=Kstar_BDTInputs
    67 #) > 0.1)
    68
    69 vertex_code = require_all(F.CHI2DOF < vchi2pdof_max, F.PT > kstar0_pt_min)
    70 return ParticleCombiner([kaons, pions],
    71 name=name,
    72 DecayDescriptor=descriptor,
    73 CombinationCut=combination_code,
    74 CompositeCut=vertex_code)
    75
    76
    77 dimuon_XMLFile = ''
    78 dimuon_BDTInputs = {
    79 #"log_mu_plus_MINIPCHI2_": F.CHILD(1,F.MINIPCHI2(pvs)),
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading