Belle II Software  release-08-01-10
V0DQM.py
1 # !/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 
4 
11 
12 """
13 This module defines functions to add the V0 DQM module.
14 """
15 
16 import basf2
17 import modularAnalysis as ma
18 from vertex import kFit
19 
20 
21 def add_V0_dqm(path):
22  ma.fillParticleList("pi+:V0DQM", '', False, path)
23  ma.reconstructDecay('K_S0:V0DQM -> pi-:V0DQM pi+:V0DQM', '', 1, True, path)
24  kFit('K_S0:V0DQM', 0.001, path=path)
25 
26  dqm = basf2.register_module('V0ObjectsDQM')
27  dqm.param('V0PListName', 'K_S0:V0DQM')
28  path.add_module(dqm)