Some tips for beginners

  1. TrigAnalyze runs faster than D0TrigSim for the same number of events.
  2. The Monte Carlo files should be in the DST format (reco) and have the RAW DATA CHUNK in them in order to run D0Trigsim. This can be checked by doing

    >d0ev dst_file_name \\ Then search for RawDataChunk (should show up in the file)

    Also, note that D0TrigSim will not run on the TMB (Thumbnail Versions, d0reco).

  3. You can check the number of events in a DST or TMB file by doing the following

    >dsdump --notree your_dst_file > neetievtcounter.log //this writes one line per event

    >wc neetievtcounter.log //returns

    1000 7000 44893 neetievtcounter.log

    The first number is the number of lines, so the file has 1000 events.

  4. The size of a root file should not exceed 1.9 GB.
  5. Core will be dumped only when there is error, not otherwise.
  6. Use Data Display Debugger to debug a code, for e.g.

    >d0setwa

    >ddd TrigSim_ana_x&// Then File->Open Core dump


Neeti Parashar
Last modified: Mon Feb 9 19:56:40 CST 2004