Commit in hps-java/src/main/java/org/lcsim/hps/users/phansson on MAIN | |||
ecalPlots.java | +8 | -2 | 1.5 -> 1.6 |
Added plotting of single histogram.
diff -u -r1.5 -r1.6 --- ecalPlots.java 24 Jul 2012 23:28:10 -0000 1.5 +++ ecalPlots.java 1 Nov 2012 15:44:45 -0000 1.6 @@ -91,13 +91,19 @@
ITree tree=null; try {
- tree = af.createTreeFactory().create("test.aida");
+ String[] list = cmd.getArgs(); + String file = list[0]; + tree = af.createTreeFactory().create(file); + printObjectsInTree(tree); + IHistogram1D h = (IHistogram1D)tree.find(list[1]); + ecalhtplots.plotBasic1D(h,list[1],"","","",false); +
} catch (IllegalArgumentException ex) { Logger.getLogger(ecalPlots.class.getName()).log(Level.SEVERE, null, ex); } catch (IOException ex) { Logger.getLogger(ecalPlots.class.getName()).log(Level.SEVERE, null, ex); }
- printObjectsInTree(tree);
+
return; }
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1