source: trunk/MagicSoft/Mars/mcalib/MCalibrationQECam.h@ 3492

Last change on this file since 3492 was 3321, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MCalibrationQECam
2#define MARS_MCalibrationQECam
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7#ifndef MARS_MCamEvent
8#include "MCamEvent.h"
9#endif
10
11class TClonesArray;
12
13class MCalibrationQEPix;
14class MCalibrationQECam : public MParContainer, public MCamEvent
15{
16private:
17
18 Int_t fNumPixels;
19 TClonesArray *fPixels; //-> Array of MCalibrationPix with fit results
20
21public:
22
23 MCalibrationQECam(const char *name=NULL, const char *title=NULL);
24 ~MCalibrationQECam();
25
26 void Clear( Option_t *o="" );
27 void InitSize( const UInt_t i );
28
29 // Getters
30 Int_t GetSize() const;
31 UInt_t GetNumPixels() const { return fNumPixels; }
32
33 // Others
34 MCalibrationQEPix &operator[](UInt_t i);
35 const MCalibrationQEPix &operator[](UInt_t i) const;
36
37 // Prints
38 void Print(Option_t *o="") const;
39
40 // Others
41 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
42 void DrawPixelContent(Int_t num) const;
43
44 ClassDef(MCalibrationQECam, 1) // Container for calibration information of the camera
45};
46
47#endif
48
49
50
51
52
Note: See TracBrowser for help on using the repository browser.