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