30parser = argparse.ArgumentParser(description=
"NoKickCuts evaluation module")
33 dest=
'use_validation',
37 help=
'print validation plots')
44 help=
'definition of the cuts with the double-gaussian fit')
46args = parser.parse_args()
47use_Validation = args.use_validation
48use_fit = args.use_fitMethod
51main_path = b2.create_path()
53mctrackfinder = b2.register_module(
'TrackFinderMCTruthRecoTracks')
54mctrackfinder.param(
'WhichParticles', [
'SVD'])
55mctrackfinder.param(
'EnergyCut', 0)
57gearbox = b2.register_module(
'Gearbox')
59geometry = b2.register_module(
'Geometry')
61rootinput = b2.register_module(
'RootInput')
64progressbar = b2.register_module(
'ProgressBar')
66mctrackmatcher = b2.register_module(
'MCRecoTracksMatcher')
67mctrackmatcher.param(
'UseCDCHits',
False)
68mctrackmatcher.param(
'UseSVDHits',
True)
69mctrackmatcher.param(
'UsePXDHits',
True)
70mctrackmatcher.param(
'mcRecoTracksStoreArrayName',
'MCRecoTracks')
72NoKickCuts = b2.register_module(
'NoKickCutsEval')
73NoKickCuts.param(
'useValidation', use_Validation)
74NoKickCuts.param(
'useFitMethod', use_fit)
77main_path.add_module(rootinput)
78main_path.add_module(gearbox)
79main_path.add_module(geometry)
80main_path.add_module(mctrackfinder)
81main_path.add_module(NoKickCuts)
82main_path.add_module(progressbar)