~9marusia6/maus/beamlinesimulation

« back to all changes in this revision

Viewing changes to bin/examples/load_root_file.py

  • Committer: justinchristensen at berkeley
  • Date: 2012-06-08 08:47:52 UTC
  • mfrom: (669.1.1 release)
  • Revision ID: justinchristensen@berkeley.edu-20120608084752-5x3f3rzflhhcewwi
new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
    # note it is a feature of ROOT that if you close the file it will delete
93
93
    # existing histograms...
94
94
    print "Closing root file"
 
95
 
 
96
    # A feature of ROOT is that closing the root file has weird effects like
 
97
    # deleting the histograms drawn above from memory - beware. Probably also
 
98
    # silently deallocates memory assigned to data. Probably does some other
 
99
    # sinister stuff.
95
100
    root_file.Close()
96
101
 
97
102
if __name__ == "__main__":