source: trunk/MagicSoft/Mars/mhist/MHFadcPix.h@ 770

Last change on this file since 770 was 712, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 692 bytes
Line 
1#ifndef MHFADCPIX_H
2#define MHFADCPIX_H
3
4#ifndef MAGIC_H
5#include "MAGIC.h"
6#endif
7
8#ifndef ROOT_TH1
9#include <TH1.h>
10#endif
11
12class MHFadcPix : public TObject
13{
14private:
15 TH1F *fHistHi;
16 TH1F *fHistLo;
17
18public:
19 MHFadcPix(UInt_t pixid=0);
20 ~MHFadcPix();
21
22 TH1F *GetHistHi() { return fHistHi; }
23 TH1F *GetHistLo() { return fHistLo; }
24
25 void FillHi(Byte_t i) { fHistHi->Fill(i); }
26 void FillLo(Byte_t i) { fHistLo->Fill(i); }
27
28 void DrawHi() { fHistHi->Draw(); }
29 void DrawLo() { fHistLo->Draw(); }
30
31 void Draw(Option_t *opt=NULL);
32
33 ClassDef(MHFadcPix, 1) // Conatiner to hold two histograms container spektrums for the lo-/hi gain of one pixel
34};
35
36#endif
37
Note: See TracBrowser for help on using the repository browser.