1 | #ifndef MARS_MHCalibrationChargeBlindCam
|
---|
2 | #define MARS_MHCalibrationChargeBlindCam
|
---|
3 |
|
---|
4 | #ifndef MARS_MH
|
---|
5 | #include "MH.h"
|
---|
6 | #endif
|
---|
7 | #ifndef MARS_MHCalibrationChargeBlindPix
|
---|
8 | #include "MHCalibrationChargeBlindPix.h"
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | class TObjArray;
|
---|
12 |
|
---|
13 | class MRawRunHeader;
|
---|
14 | class MExtractedSignalBlindPixel;
|
---|
15 | class MCalibrationChargeBlindCam;
|
---|
16 | class MHCalibrationChargeBlindPix;
|
---|
17 |
|
---|
18 | class MHCalibrationChargeBlindCam : public MH
|
---|
19 | {
|
---|
20 | private:
|
---|
21 |
|
---|
22 | MExtractedSignalBlindPixel *fSignal; //! Extracted Signal class
|
---|
23 | MCalibrationChargeBlindCam *fCam; //! Calibration Cam with the results
|
---|
24 | MRawRunHeader *fRunHeader; //! Run Header
|
---|
25 |
|
---|
26 | TObjArray *fBlindPixelsArray; //-> Array of calibration pixels, one per pixel
|
---|
27 |
|
---|
28 | MHCalibrationChargeBlindPix::FitFunc_t fFitFunc;
|
---|
29 |
|
---|
30 | public:
|
---|
31 |
|
---|
32 | MHCalibrationChargeBlindCam(const char *name=NULL, const char *title=NULL);
|
---|
33 | ~MHCalibrationChargeBlindCam();
|
---|
34 |
|
---|
35 | Bool_t SetupFill( const MParList *pList);
|
---|
36 | Bool_t ReInit ( MParList *pList);
|
---|
37 | Bool_t Fill ( const MParContainer *par, const Stat_t w=1);
|
---|
38 | Bool_t Finalize ( );
|
---|
39 |
|
---|
40 | // Clone
|
---|
41 | TObject *Clone(const char *name="") const;
|
---|
42 |
|
---|
43 | // Draw
|
---|
44 | void Draw(Option_t *opt="");
|
---|
45 |
|
---|
46 | const Int_t GetSize() const { return fBlindPixelsArray->GetSize(); }
|
---|
47 |
|
---|
48 | MHCalibrationChargeBlindPix &operator[] (UInt_t i);
|
---|
49 | const MHCalibrationChargeBlindPix &operator[] (UInt_t i) const;
|
---|
50 |
|
---|
51 | void SetFitFunc(const MHCalibrationChargeBlindPix::FitFunc_t func) { fFitFunc = func; }
|
---|
52 |
|
---|
53 | ClassDef(MHCalibrationChargeBlindCam, 1) // Histogram class for Blind Pixel Calibration
|
---|
54 | };
|
---|
55 |
|
---|
56 | #endif
|
---|
57 |
|
---|
58 |
|
---|
59 |
|
---|
60 |
|
---|
61 |
|
---|
62 |
|
---|
63 |
|
---|
64 |
|
---|
65 |
|
---|