source: trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindCam.h@ 4793

Last change on this file since 4793 was 4602, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.7 KB
Line 
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
21class MExtractedSignalBlindPixel;
22class MCalibrationChargeBlindCam;
23class MRawRunHeader;
24class MHCalibrationChargeBlindPix;
25class MHCalibrationChargeBlindCam : public MH
26{
27private:
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
37public:
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
Note: See TracBrowser for help on using the repository browser.