#ifndef MHFADCPIX_H #define MHFADCPIX_H #ifndef MAGIC_H #include "MAGIC.h" #endif #ifndef ROOT_TH1 #include #endif class MHFadcPix : public TObject { private: TH1F *fHistHi; TH1F *fHistLo; public: MHFadcPix(UInt_t pixid=0); ~MHFadcPix(); TH1F *GetHistHi() { return fHistHi; } TH1F *GetHistLo() { return fHistLo; } void FillHi(Byte_t i) { fHistHi->Fill(i); } void FillLo(Byte_t i) { fHistLo->Fill(i); } void DrawHi() { fHistHi->Draw(); } void DrawLo() { fHistLo->Draw(); } void Draw(Option_t *opt=NULL); ClassDef(MHFadcPix, 1) }; #endif