THANKS!!!!
T
On Tue, 5 Feb 2013, McCormick, Jeremy I. wrote:
> Hi,
>
> I added a simple frontend to the LCSim Fast MC today for those who want to run it. No local build of lcsim is required. You only need a Java installation.
>
>> From a Linux terminal, you can try it out as follows:
>
> -------------------
>
> # fetch the jar locally
> wget http://www.lcsim.org/maven2/org/lcsim/lcsim/2.6-SNAPSHOT/lcsim-2.6-20130205.231947-5-bin.jar
>
> # run the fast mc with no arguments
> java -cp ./lcsim-2.6-20130205.231947-5-bin.jar org.lcsim.mc.fast.frontend.Main
>
> -------------------
>
> The above will print the command line usage of the program, which is the following:
>
> -------------------
>
> usage: org.lcsim.mc.fast.frontend.Main
> -S use simple
> -b use beam spot constraint
> -d print debug info
> -h print usage information
> -i input file
> -m random seed
> -o output file name
> -p use default ref point
> -r number of events to process
> -s number of events to skip
>
> -------------------
>
> Your java version should probably be 1.6 which is what I used for testing.
>
> All options have defaults, except the input file, which can be a .stdhep or .lcsio file.
>
> So, for instance, you could run it on a StdHep file like this, assuming you have SLAC NFS access:
>
> java -cp ./target/lcsim-2.6-SNAPSHOT-bin.jar org.lcsim.mc.fast.frontend.Main -i /nfs/slac/g/lcd/mc/prj/data/ZPole/stdhep/pythia/pythiaZPoleuds-0-1000.stdhep
>
> This prints out the following message (showing default option values):
>
> -------------------
>
> Received the following command line parameters:
> inputFileName = /nfs/slac/g/lcd/mc/prj/data/ZPole/stdhep/pythia/pythiaZPoleuds-0-1000.stdhep
> outputFileName = fastmc.slcio
> detector = sidloi3
> events to process = -1
> events to skip = -1
> seed = -2005057325
> refPoint000 = true
> beamSpotConstraint = true
> simple mode = true
> debug mode = false
>
> -------------------
>
> NOTE: The seed is randomly generated unless provided explicitly.
>
> This will by default write out a file called "fastmc.slcio" that contains the following collections:
>
> -------------------
>
> "Clusters" - energy smeared calorimeter clusters
> "ClustersToMCP" - relations between MC particles and their clusters
> "GenFinalStateParticles" - final state MC particles
> "MCFastReconstructedParticles" - ReconstructedParticles with tracks and clusters
> "MCParticle" - input MC particles from the event file
> "Tracks" - tracks generated by fast MC
> "TracksToMCP" - relations between MC particles and their tracks
>
> -------------------
>
> These collections can then be used for analysis and additional reconstruction in any LCIO compliant tool.
>
> NOTE: I completely rewrote a front-end main program that was provided by Tim via Norman, which was about 5 years old. It had included drivers for jet and vertex reconstruction, but I decided to leave them out. The jet driver could be put back in but the vertex driver was from an old hep.lcd package for ZvTop, and our current version of that package does not work, as far as I'm aware.
>
> I would like some feedback as far as whether this works for everyone, so please give it a try.
>
> --Jeremy
>
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-DEV&A=1
|