24
20
# Create an empty array of mappers, then populate it
25
21
# with the functionality you want to use.
26
22
my_map = MAUS.MapPyGroup()
27
25
my_map.append(MAUS.MapCppTOFDigits())
28
26
my_map.append(MAUS.MapCppTOFSlabHits())
29
27
my_map.append(MAUS.MapCppTOFSpacePoints())
31
35
# The Go() drives all the components you pass in then put all the output
32
36
# into a file called 'mausput'
33
37
MAUS.Go(my_input, my_map, MAUS.ReducePyDoNothing(), MAUS.OutputPyJSON())