ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/CMSSW/PhysicsTools/PythonAnalysis/scripts/edmDumpEventContent
(Generate patch)

Comparing CMSSW/PhysicsTools/PythonAnalysis/scripts/edmDumpEventContent (file contents):
Revision 1.2 by hegner, Tue Mar 24 17:02:54 2009 UTC vs.
Revision 1.3 by hegner, Fri Apr 3 21:00:47 2009 UTC

# Line 40 | Line 40 | if __name__ == "__main__":
40      if 2 == len(args):
41          try:
42              import PhysicsTools.PythonAnalysis as cmstools
43 +            sys.argv.append( '-b-' ) #to let ROOT understand we are in batch mode
44              import ROOT
45              ROOT.gSystem.Load("libFWCoreFWLite.so")
46              ROOT.AutoLibraryLoader.enable()
# Line 48 | Line 49 | if __name__ == "__main__":
49          except:
50              "Could not read %s" %filename
51      else:
52 <        print "Usage: EdmDumpEventContent filename.root"
52 >        print "Usage: edmDumpEventContent filename.root"
53  
54                                                      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines