Last change
on this file since 6161 was 452, checked in by harald, 24 years ago |
Further improvements in the layout of some guiclasses.
Know the fundament for calculating the pedestals is created with
the first implementation of the classes MPixPedest and MPedest.
A first task for calculating the pedestals is set up (MCalcPed1).
|
-
Property svn:executable
set to
*
|
File size:
909 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 |
|
---|
10 | class MHistosAdc : 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 | 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 | TObjArray* GetLowList()
|
---|
32 | {
|
---|
33 | return ( fHistLow ) ;
|
---|
34 | }
|
---|
35 |
|
---|
36 | Int_t GetHighEntries()
|
---|
37 | {
|
---|
38 | return (fHistHigh->GetEntries() ) ;
|
---|
39 | }
|
---|
40 |
|
---|
41 | Int_t GetLowEntries()
|
---|
42 | {
|
---|
43 | return (fHistLow->GetEntries() ) ;
|
---|
44 | }
|
---|
45 |
|
---|
46 |
|
---|
47 | ClassDef(MHistosAdc, 1) // list of Histograms with ADC spectra
|
---|
48 | };
|
---|
49 |
|
---|
50 | #endif
|
---|
51 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.