source: trunk/MagicSoft/Mars/mcalib/MCalibrationTestCam.h@ 6020

Last change on this file since 6020 was 5047, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.5 KB
Line 
1#ifndef MARS_MCalibrationTestCam
2#define MARS_MCalibrationTestCam
3
4#ifndef MARS_MCalibrationCam
5#include "MCalibrationCam.h"
6#endif
7
8#ifndef ROOT_TArrayI
9#include <TArrayI.h>
10#endif
11
12class MCalibrationTestCam : public MCalibrationCam
13{
14private:
15
16 TArrayI fNumUninterpolated; // Number uninterpolated Pixels per area index
17 Int_t fNumUninterpolatedInMaxCluster; // Number of not interpolateable pixels in biggest cluster
18
19 void Add(const UInt_t a, const UInt_t b);
20 void AddArea(const UInt_t a, const UInt_t b);
21 void AddSector(const UInt_t a, const UInt_t b);
22
23public:
24
25 MCalibrationTestCam(const char *name=NULL, const char *title=NULL);
26
27 void Clear (Option_t *o="");
28
29 const Int_t GetNumUninterpolated ( Int_t aidx ) const {
30 return fNumUninterpolated[aidx]; }
31 const Int_t GetNumUninterplatedInMaxCluster () const {
32 return fNumUninterpolatedInMaxCluster; }
33 Bool_t GetPixelContent ( Double_t &val, Int_t idx,
34 const MGeomCam &cam, Int_t type=0) const;
35
36 // Prints
37 void Print (Option_t *o="") const;
38
39 // Setters
40 void SetNumUninterpolated ( const UInt_t i, const Int_t aidx );
41 void SetNumUninterpolatedInMaxCluster( const UInt_t i ) { fNumUninterpolatedInMaxCluster = i; }
42
43 // Draw
44 void DrawPixelContent( Int_t num) const {}
45
46 ClassDef(MCalibrationTestCam, 1) // Container Test Calibration Results Camera
47};
48
49#endif
Note: See TracBrowser for help on using the repository browser.