13 <contact>software-tracking@belle2.org</contact>
14 <input>CosmicsSimNoBkg.root</input>
15 <output>CDCCRTrackingValidation.root</output>
16 <description>This module validates that track finding
is capable of reconstructing tracks
in cosmics run.</description>
20from tracking.validation.run import TrackingValidationRun
24VALIDATION_OUTPUT_FILE = 'CDCCRTrackingValidation.root'
25CONTACT = 'software-tracking@belle2.org'
30class CDCCR(TrackingValidationRun):
31 """Validate the CDC cosmic-ray track-finding"""
35 generator_module =
'Cosmics'
37 root_input_file =
'../CosmicsSimNoBkg.root'
42 """Add the CDC cosmic-ray track-finding module to the basf2 path"""
47 'WhichParticles': [
'CDC'],
51 'UseOnlyAxialCDCHits':
False,
52 "UseReassignedHits":
True,
56 use_fit_information =
True
66 output_file_name = VALIDATION_OUTPUT_FILE
70 basf2.set_random_seed(1337)
71 validation_run =
CDCCR()
72 validation_run.configure_and_execute_from_commandline()
75if __name__ ==
'__main__':
76 logging.basicConfig(level=logging.INFO)
80 print(
"This validation deactivated and thus basf2 is not executed.\n"
81 "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....
def add_cr_track_finding(path, reco_tracks="RecoTracks", components=None, merge_tracks=True, use_second_cdc_hits=False)