13 <contact>software-tracking@belle2.org</contact>
14 <input>EvtGenSim.root</input>
15 <output>CDCAutomatonTrackingValidationBkg.root</output>
17 This module validates that cdc cellular automaton track finding
18 is capable of reconstructing tracks
in Y(4S) runs.
23from tracking.validation.run import TrackingValidationRun
26VALIDATION_OUTPUT_FILE = 'CDCAutomatonTrackingValidationBkg.root'
27CONTACT = 'software-tracking@belle2.org'
32class CDCAutomaton(TrackingValidationRun):
33 """Validate the CDC TrackFinderAutomaton"""
37 generator_module =
'generic'
39 root_input_file =
'../EvtGenSim.root'
42 """Add the CDC TrackFinderAutomaton to the basf2 path"""
43 path.add_module(
'TFCDC_TrackFinderAutomaton',
49 'WhichParticles': [
'CDC'],
53 'UseOnlyAxialCDCHits':
False,
54 "UseReassignedHits":
True,
56 "UseOnlyBeforeTOP":
True,
58 'MinCDCStereoHits': 6,
59 "AllowFirstCDCSuperLayerOnly":
True,
67 output_file_name = VALIDATION_OUTPUT_FILE
71 basf2.set_random_seed(1337)
73 validation_run.configure_and_execute_from_commandline()
76if __name__ ==
'__main__':
77 logging.basicConfig(level=logging.INFO)
81 print(
"This validation deactivated and thus basf2 is not executed.\n"
82 "If you want to run this validation, please set the 'ACTIVE' flag above to 'True'.\n"
None finder_module
Name of the finder module to be used - can be everything that is accepted by tracking....