You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Working with a Sample Driver

Drivers are for processing events one-by-one and doing some work on the data. This may include performing some physics analysis or creating plots. A driver can contain additional, "child" drivers, so the complexity of the processing algorithm can be segmented into several different logical functions.

Opening the LCIO File

Start JAS3 and open the file from the LCSim Event Browser Tutorial using the File -> Open command.

You should now see the record loop commands and the name of the file displayed in the record source drop-down box.

Opening the Sample Driver

Open a sample driver by going to Help -> Examples and navigating to org.lcsim Examples. Click on Analysis101 to load the sample driver in a new window.

Compiling

Loading

Running some Events

Viewing Histograms

Explanation of Driver Code

  • No labels