next up previous contents index
Next: Readout Configuration Up: Event Decoding and I/O Previous: MOD data   Contents   Index

DET data

DETector data are produced from the RAW data by the Raw2Det program. It is from these data the event reconstruction begins. The class DetEvent provides for each detector the array with its data.

typedef map< Detector, vector<uint16> > detector_map;

class DetEvent : public IstraEvent {
public:
  // ... header ... EventStage is EST_DET.

  uint32 status;       // status given by the Raw2Det program

  detector_map itsData;
};

enum Detector can be found in the file Detector.hh. Detector data are pairs of sensitive element (wire, tile etc) number and amplitude. Sensitive element numbers are started from zero. If for some detector a signal amplitude has no sense then zero is written. The only exception is LOGIC where there are no sensitive elements and the signals only are written.

In files the map itsData is headed by 16-bit length. Detectors are written as 16-bit words and vectors of detector information is also headed by 16-bit length.



Alexander V.Inyakin 2002-04-05