~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

Viewing changes to bin/Global/GlobalPID.py

  • Committer: Durga Rajaram
  • Date: 2014-07-16 15:13:05 UTC
  • mfrom: (659.1.92 cand)
  • Revision ID: durga@fnal.gov-20140716151305-q27rv1y9p03v9lks
Tags: MAUS-v0.9, MAUS-v0.9.0
MAUS-v0.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
    my_input = MAUS.InputPyJSON()
19
19
 
20
20
    my_output = MAUS.OutputPyJSON()
 
21
    
 
22
    my_map = MAUS.MapPyGroup()
 
23
    
 
24
    my_map.append(MAUS.MapCppGlobalPID())
21
25
 
22
26
    # can specify datacards here or by using appropriate command line calls
23
27
    datacards = io.StringIO(u"")
24
28
 
25
29
    # The Go() drives all the components you pass in, then check the file
26
30
    # (default simulation.out) for output
27
 
    MAUS.Go(my_input, MAUS.MapCppGlobalPID(), MAUS.ReducePyDoNothing(),
 
31
    MAUS.Go(my_input, my_map, MAUS.ReducePyDoNothing(),
28
32
            my_output, datacards)
29
33
 
30
34
if __name__ == '__main__':