10import modularAnalysis
as ma
13"""The unit test case for track momentum scaling"""
15path = b2.create_path()
18b2.set_random_seed(
"1103")
21 entrySequences=[
"0:5"],
24ma.fillParticleList(
'pi+:sig',
"pt > 0.1", path=path)
27ma.printVariableValues(
'pi+:sig', [
'p',
'px',
'py',
'pz',
'M',
'E',
'theta',
'phi'], path=path)
31ma.scaleTrackMomenta([
'pi+:sig'], scale=1.01, path=path)
32ma.printVariableValues(
'pi+:sig', [
'p',
'px',
'py',
'pz',
'M',
'E',
'theta',
'phi'], path=path)
def require_file(filename, data_type="", py_case=None)
def clean_working_directory()
def configure_logging_for_tests(user_replacements=None)
def set_loglevel(loglevel)