Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is often necessary or desirable to select individual events for further analysis. One can select and skim events in both raw (EVIO) and reconstructed (LCIO) data formats by following these steps.

Skimming events in raw EVIO

...

format

Skimming raw EVIO files uses the dedicated main program org.hps.record.evio.EvioEventSkimmer. We currently support skimming events from a single run.

  1. Prepare a plain text file containing the event numbers for the events of interest in a single run, one event per line.

  2. Prepare a plain text file containing the list of input EVIO files containing the events of interest. The Data Catalog can be used to determine which run partition any particular event is in. These files will have to have been staged and be disk-resident.

  3. Run the job using the latest hps-java binary jar file

    Code Block
    > java -cp hps-distribution-3.11-SNAPSHOT-bin.jar org.hps.record.evio.EvioEventSkimmer -e evioFileList.txt -s evioEventsToSkim.txt -o skimmedEvents.evio

 

Skimming events in reconstructed LCIO

...

format

Skimming reconstructed LCIO files uses the org.hps.recon.filtering.LcioEventSkimmer Driver and is called in the standard way, summarized here.

...