source: trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindCam.h@ 4965

Last change on this file since 4965 was 4929, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.6 KB
Line 
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
11class TObjArray;
12
13class MRawRunHeader;
14class MExtractedSignalBlindPixel;
15class MCalibrationChargeBlindCam;
16class MHCalibrationChargeBlindPix;
17
18class MHCalibrationChargeBlindCam : public MH
19{
20private:
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
30public:
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
Note: See TracBrowser for help on using the repository browser.