#ifndef MFILLADCSPECT_H
#define MFILLADCSPECT_H

#ifndef MTASK_H
#include "MTask.h"
#endif

#include "MParList.h"
#include <TSystem.h>

#include "MRawEvtHeader.h"
#include "MRawEvtData.h"
#include "MRawEvtPixelIter.h"
#include "MHistosAdc.h"

class MFillAdcSpect : public MTask {
 private:
  MRawEvtData      *fRawEvtData;
  MRawEvtPixelIter *fPixelIter ; 

  MHistosAdc       *fHistos ; 

 public:   
  MFillAdcSpect (const char *name=NULL, const char *title=NULL); 

  Bool_t PreProcess(MParList *pList);
  Bool_t Process() ;
  
  //  ClassDef(MFillAdcSpect, 1)	// Task to read the raw data binary file

};
    
#endif

