source: branches/start/MagicSoft/MarsOctober/mocttest/MHistosAdc.h@ 9492

Last change on this file since 9492 was 447, checked in by harald, 24 years ago
Bringing the sources for the octobertest under CVS controll. (november, 3rd, 2000)
  • Property svn:executable set to *
File size: 830 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();
18 ~MHistosAdc();
19
20 void FillAdcHist(Int_t iPix, UChar_t * data);
21 void SaveHist(char *name);
22
23 void Print(Option_t * t = NULL);
24
25
26 TObjArray* GetHighList()
27 {
28 return ( fHistHigh ) ;
29 }
30
31 Int_t GetHighEntries()
32 {
33 return (fHistHigh->GetEntries() ) ;
34 }
35
36 Int_t GetLowEntries()
37 {
38 return (fHistLow->GetEntries() ) ;
39 }
40
41
42 ClassDef(MHistosAdc, 1) // list of Histograms with ADC spectra
43};
44
45#endif
46
Note: See TracBrowser for help on using the repository browser.