source: trunk/MagicSoft/Mars/mdatacheck/MHistosAdc.h@ 574

Last change on this file since 574 was 466, checked in by tbretz, 24 years ago
see Changelog
  • Property svn:executable set to *
File size: 1.0 KB
Line 
1#ifndef MHISTOSADC_H
2#define MHISTOSADC_H
3
4#ifndef MAGIC_H
5#include "MAGIC.h"
6#endif
7
8#ifndef ROOT_TObjArray
9#include <TObjArray.h>
10#endif
11
12#ifndef MPARCONTAINER_H
13#include "MParContainer.h"
14#endif
15
16class MHistosAdc : public MParContainer
17{
18private:
19 TObjArray *fHistHigh; // List of High gain Histograms
20 TObjArray *fHistLow; // List of Low gain Histograms
21
22public:
23 MHistosAdc(const char *name=NULL, const char *title=NULL);
24 ~MHistosAdc();
25
26 void FillAdcHistHigh(Int_t iPix, Byte_t data);
27 void FillAdcHistLow (Int_t iPix, Byte_t data);
28
29 void SaveHist(char *name);
30
31 void Print(Option_t * t = NULL);
32
33
34 TObjArray* GetHighList()
35 {
36 return ( fHistHigh ) ;
37 }
38
39 TObjArray* GetLowList()
40 {
41 return ( fHistLow ) ;
42 }
43
44 Int_t GetHighEntries()
45 {
46 return (fHistHigh->GetEntries() ) ;
47 }
48
49 Int_t GetLowEntries()
50 {
51 return (fHistLow->GetEntries() ) ;
52 }
53
54
55 ClassDef(MHistosAdc, 1) // list of Histograms with ADC spectra
56};
57
58#endif
59
Note: See TracBrowser for help on using the repository browser.