13 <contact>Nils.Braun@kit.edu</contact>
14 <input>EvtGenSim.root</input>
15 <output>NoCKFValidationBkg.root</output>
16 <description>This script validates the tracking chain without the CKF
in Y(4S) runs
with background.</description>
20from tracking.validation.run import TrackingValidationRun
24VALIDATION_OUTPUT_FILE = 'NoCKFValidationBkg.root'
29def setupFinderModule(path):
30 tracking.add_hit_preparation_modules(path, components=["SVD",
"PXD"])
35 """Validate the track-finding chain, excluding the Kalman fitter/filter, with Y(4S) events and background overlay"""
39 generator_module =
'generic'
41 root_input_file =
'../EvtGenSim.root'
43 finder_module = staticmethod(setupFinderModule)
50 "UseReassignedHits":
True,
51 'UseOnlyBeforeTOP':
True,
57 use_fit_information =
True
63 output_file_name = VALIDATION_OUTPUT_FILE
67 basf2.set_random_seed(1337)
69 validation_run.configure_and_execute_from_commandline()
72if __name__ ==
'__main__':
73 logging.basicConfig(level=logging.INFO)
77 print(
"This validation deactivated and thus basf2 is not executed.\n"
78 "If you want to run this validation, please set the 'ACTIVE' flag above to 'True'.\n"
def add_track_finding(path, components=None, reco_tracks="RecoTracks", prune_temporary_tracks=True, use_second_cdc_hits=False, use_mc_truth=False, svd_ckf_mode="SVD_after", add_both_directions=True, svd_standalone_mode="VXDTF2", use_svd_to_cdc_ckf=True, use_ecl_to_cdc_ckf=False, add_cdcTrack_QI=True, add_vxdTrack_QI=False, pxd_filtering_offline=False, use_HLT_ROIs=False, create_intercepts_for_pxd_ckf=False)