- Timestamp:
- Nov 17, 2017, 6:06:40 PM (7 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 6038170
- Parents:
- 0f2e086
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/Example1.py
r0f2e086 r433360f 5 5 import ROOT 6 6 7 try: 8 input = raw_input 9 except: 10 pass 11 7 12 if len(sys.argv) < 2: 8 print " Usage: Example1.py input_file"13 print(" Usage: Example1.py input_file") 9 14 sys.exit(1) 10 15 … … 49 54 50 55 # Print jet transverse momentum 51 print jet.PT56 print(jet.PT) 52 57 53 58 # If event contains at least 2 electrons … … 64 69 histMass.Draw() 65 70 66 raw_input("Press Enter to continue...")71 input("Press Enter to continue...")
Note:
See TracChangeset
for help on using the changeset viewer.