source: trunk/MagicSoft/Mars/mcalib/MHCalibrationPINDiode.h@ 3124

Last change on this file since 3124 was 3056, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#ifndef MARS_MHCalibrationPINDiode
2#define MARS_MHCalibrationPINDiode
3
4#ifndef MARS_MHCalibrationPixel
5#include "MHCalibrationPixel.h"
6#endif
7
8class TH1I;
9class TH1F;
10class TF1;
11class TPaveText;
12
13class MHCalibrationPINDiode : public MHCalibrationPixel
14{
15private:
16
17 TH1F* fHPINDiodeCharge; // Histogram containing the summed 32 PINDiode slices
18 TH1F* fHPINDiodeErrCharge; // Variance of summed FADC slices
19
20 TH1I* fHPINDiodeChargevsN; // Summed Charge vs. Event Nr.
21
22 const Int_t fChargeNbins;
23 const Int_t fChargevsNbins;
24
25 const Axis_t fTimeFirst;
26 const Axis_t fTimeLast;
27
28public:
29
30 MHCalibrationPINDiode(const char *name=NULL, const char *title=NULL);
31 ~MHCalibrationPINDiode();
32
33 void Clear(Option_t *o="");
34 void Reset();
35
36 // Fill histos
37 Bool_t FillCharge(Float_t q);
38 Bool_t FillChargevsN(Float_t q, Int_t n);
39
40 // Fits -- not yet implemented
41 Bool_t FitCharge(Option_t *option="RQ0") { return kTRUE; }
42
43 // Others
44 void CutAllEdges();
45
46 ClassDef(MHCalibrationPINDiode, 0) // Histograms from the Calibration PIN Diode
47};
48
49#endif
50
Note: See TracBrowser for help on using the repository browser.