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