#ifndef MDATACHECK_H
#define MDATACHECK_H

#ifndef MAGIC_H
#include "MAGIC.h"
#endif

#ifndef ROOT_TGFrame
#include <TGFrame.h>
#endif

#ifndef MVIEWADCSPECTRA_H
#include "MViewAdcSpectra.h"
#endif

#ifndef MBROWSER_H
#include "MBrowser.h"
#endif

class TGTextButton;

class MDataCheck : public MBrowser
{
private:

    MViewAdcSpectra fViewAdc;

    TGTextButton   *fButPedADC;
    TGTextButton   *fButPedTDC;
    TGTextButton   *fButCrADC;
    TGTextButton   *fButCrTDC;

public:
    MDataCheck(const TGWindow *main=NULL, const TGWindow *p=NULL,
                    const UInt_t w=500, const UInt_t h=500) ;

    ~MDataCheck();

    Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);

    ClassDef(MDataCheck, 0) // GUI: The 'data-check' window.
};

#endif


