source: branches/start/MagicSoft/Mars/mdatacheck/MHistosAdc.h@ 9223

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