Commit in mcd-analysis/src/main/java/org/lcsim/mcd/analysis on MAIN | |||
LCIOOutput.java | +27 | added 1.1 |
driver to demonstrate fast MC
diff -N LCIOOutput.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ LCIOOutput.java 19 Dec 2012 10:40:23 -0000 1.1 @@ -0,0 +1,27 @@
+package org.lcsim.mcd.analysis; + +import java.io.File; +import org.lcsim.event.util.JetDriver; +import org.lcsim.mc.fast.MCFast; +import org.lcsim.util.Driver; +import org.lcsim.util.loop.LCIODriver; +/** + * A example of writing LCIO output. + * + * @see org.lcsim.util.loop.LCIODriver + * + * @author Tony Johnson + * @version $Id: LCIOOutput.java,v 1.1 2012/12/19 10:40:23 wenzel Exp $ + */ +public class LCIOOutput extends Driver +{ + public LCIOOutput() + { + // Create MCFast with standard options + add(new MCFast()); + add(new JetDriver()); + // Write the file in users home directory + File output = new File(System.getProperty("user.home"),"Tutorialfastmc.slcio"); + add(new LCIODriver(output)); + } +}
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