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
21from tracking import add_track_finding
22from tracking.path_utils import add_hit_preparation_modules
25VALIDATION_OUTPUT_FILE = 'NoCKFValidationBkg.root'
30def setupFinderModule(path):
31 add_hit_preparation_modules(path, components=["SVD",
"PXD"])
32 add_track_finding(path, svd_ckf_mode=
"SVD_alone")
36 """Validate the track-finding chain, excluding the Kalman fitter/filter, with Y(4S) events and background overlay"""
40 generator_module =
'generic'
42 root_input_file =
'../EvtGenSim.root'
44 finder_module = staticmethod(setupFinderModule)
51 "UseReassignedHits":
True,
52 'UseOnlyBeforeTOP':
True,
58 use_fit_information =
True
64 output_file_name = VALIDATION_OUTPUT_FILE
68 basf2.set_random_seed(1337)
70 validation_run.configure_and_execute_from_commandline()
73if __name__ ==
'__main__':
74 logging.basicConfig(level=logging.INFO)
78 print(
"This validation deactivated and thus basf2 is not executed.\n"
79 "If you want to run this validation, please set the 'ACTIVE' flag above to 'True'.\n"