# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |