Last change
on this file since 9178 was 451, checked in by harald, 24 years ago |
This files are neccessary for the TDC histos.
|
File size:
783 bytes
|
Line | |
---|
1 | #ifndef MHISTOSTDC_H
|
---|
2 | #define MHISTOSTDC_H
|
---|
3 |
|
---|
4 | #include "Magic.h"
|
---|
5 |
|
---|
6 | #include <TObjArray.h>
|
---|
7 |
|
---|
8 | #include "MParContainer.h"
|
---|
9 |
|
---|
10 | class MHistosTdc : public MParContainer
|
---|
11 | {
|
---|
12 | private:
|
---|
13 | TObjArray *fHistHigh; // List of High gain Histograms
|
---|
14 | TObjArray *fHistLow; // List of Low gain Histograms
|
---|
15 |
|
---|
16 | public:
|
---|
17 | MHistosTdc();
|
---|
18 | ~MHistosTdc();
|
---|
19 |
|
---|
20 | void FillTdcHist(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 | ClassDef(MHistosTdc, 1) // list of Histograms with Tdc spectra
|
---|
42 | };
|
---|
43 |
|
---|
44 | #endif
|
---|
45 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.