Belle II Software
release-08-01-10
debug_display.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
11
12
import
basf2
13
14
from
trackfindingcdc.run.display
import
CDCDisplayRun
15
16
import
logging
17
18
19
class
CDCDebugDisplayRun
(CDCDisplayRun):
20
"""Read generated events or generate new events then display the CDC tracks"""
21
22
23
finder_module = basf2.register_module(
"TFCDC_TrackFinderAutomaton"
)
24
# finder_module = basf2.register_module("TFCDC_SegmentFinderFacetAutomaton")
25
# finder_module.param({
26
# "ClusterFilter": "mva_bkg",
27
# "ClusterFilterParameters": {"cut": 0.2},
28
# "WriteSuperClusters": True,
29
# "WriteClusters": True,
30
# "FacetFilter": "none",
31
# "FacetRelationFilter": "none",
32
# })
33
34
35
finder_module = [
"TFCDC_WireHitPreparer"
,
"TFCDC_ClusterPreparer"
, finder_module,
"PrintCollections"
]
36
37
finder_module = basf2.register_module(
"TFCDC_WireHitPreparer"
)
38
39
40
show_all_drawoptions =
True
41
# Also show draw options that are related to the cellular automaton track finder
42
# on the command line!
43
44
45
def
main
():
46
cdcDebugDisplayRun =
CDCDebugDisplayRun
()
47
cdcDebugDisplayRun.configure_and_execute_from_commandline()
48
49
50
if
__name__ ==
'__main__'
:
51
logging.basicConfig(level=logging.INFO)
52
main
()
debug_display.CDCDebugDisplayRun
Definition:
debug_display.py:19
main
Definition:
main.py:1
main
int main(int argc, char **argv)
Run all tests.
Definition:
test_main.cc:91
tracking
trackFindingCDC
scripts
trackfindingcdc
run
debug_display.py
Generated on Mon Sep 23 2024 14:06:17 for Belle II Software by
1.9.1