Print

Print


Commit in lcio/src/python on MAIN
test.py+3-11.4 -> 1.5
fixed bug and added print statement

lcio/src/python
test.py 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- test.py	24 Mar 2006 05:18:34 -0000	1.4
+++ test.py	24 Mar 2006 10:11:44 -0000	1.5
@@ -16,7 +16,9 @@
 # Read some collections
 hits = evt.getCollection('EcalBarrHits')
 particles = evt.getCollection("MCParticle")
-mcp = coll.getElementAt(0)
+mcp = particles.getElementAt(0)
+
+print "MCParticle energy: ", mcp.getEnergy() ;
 
 rdr.close()
 
CVSspam 0.2.8