next up previous contents index
Next: DET data Up: Event Decoding and I/O Previous: RAW data   Contents   Index

MOD data

These data are result of module unpacking from the RAW data. This is an intermediate format used mainly for electronics checks. The class ModEvent provides for each crate (struct Crate) the array with its data (struct CrateChannel).

typedef map< Crate, vector<CrateChannel> > crate_map;

class ModEvent : public IstraEvent {
public:
  // ... header ... EventStage is EST_MOD.

  crate_map itsData;
};

Structures Crate and CrateChannel can be found in the file Module.hh. struct Crate consists of two fields: module_type, e.g. LE_37, LE_59 etc, and crate_number. struct CrateChannel reproduces the data from one channel of registration module (see section 2.2). If the signal amplitude is not defined for the current registration module type then the amplitude is set to zero.

struct Crate {
  ModuleType module_type;
  int        crate_number;
};

struct CrateChannel {
  uint16 module_number;
  uint16 channel;
  uint16 amplitude;
};



Alexander V.Inyakin 2002-04-05