next up previous contents
Next: Entering a single particle Up: Examples Previous: Examples

Reading a Monte Carlo data file

This example shows how to read a FREESCO data file, and send the GEANT hits to the TAS data analysis routines:

  1. Specify that you wish to read from a logical unit:
    LUN 48
    logical unit 48 is currently assigned in the file EOSGX_LOGICALS.COM when the logical name EOSG_INPUT_1 is defined.
  2. Specify the running mode ``simulated data'' (see Section 2.2), where the GEANT hits are loaded into the HITS table, and can be processed by the TAS routines:
    RUN_MODE DSIM
  3. Disable the HIT_FINDER module to disable processing of experimental data.
    SET/MODULE HIT_FINDER OFF
  4. Enable and disable any other modules according to the desired data analysis.
  5. At this point one can type:
    GO n
    where n is the number of events to process. At the present timegif GO -1 will cause problems in that the HITS table is not cleared between events, and in this mode the GEANT hits are added to the HITS table.



E895 common account
Wed Aug 6 16:32:35 EDT 1997