4
Produce the MC probability density functions for the particle hypothesis
5
given in the specified datacard.
8
import io # generic python library for I/O
10
import MAUS # MAUS libraries
16
# Take as input spills from pre-existing json document, as defined in
18
my_input = MAUS.InputPyJSON()
20
my_output = MAUS.OutputPyJSON()
22
# can specify datacards here or by using appropriate command line calls
23
datacards = io.StringIO(u"")
25
# The Go() drives all the components you pass in, then check the file
26
# (default simulation.out) for output
27
MAUS.Go(my_input, MAUS.MapCppGlobalPID(), MAUS.ReducePyDoNothing(),
30
if __name__ == '__main__':