/** @file
 * $Source: /home/cvsmanager/yoda/event/mcmd/McmdEvent.h,v $
 * $Id: McmdEvent.h,v 4.0 2005/03/06 04:33:01 kusanagi Exp $
 * $Author: kusanagi $
 * 
 * Header file for the McmdEvent class.
 */
#ifndef MCMD_EVENT_H
#define MCMD_EVENT_H

#include "event/SubPacket.h"
#include "event/mcmd/McmdRecord.h"
#include <TClonesArray.h>

namespace pamela {
  /**
   * McmdEvent data Wrapper
   *
   * The McmdEvent represents the "McmdEvent" packet generated by the PAMELA CPU software.
   * Is the results of several read of the PAMELA TMTC board.
   */
  class McmdEvent: public pamela::SubPacket {
  private:
    static TClonesArray *fgRecords;
    
  public:
    /**
     * Contain multiple instances of pamela::McmdRecord type.
     */
    TClonesArray        *Records;

    int                  Mcmd_crc_ok;

    McmdEvent(void);
    ~McmdEvent(void);

    ClassDef(McmdEvent, 1)
  };
}

#endif /* MCMD_EVENT_H */

