| 1 | #ifndef MARS_MCalibrationTestCam
|
|---|
| 2 | #define MARS_MCalibrationTestCam
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MCalibrationCam
|
|---|
| 5 | #include "MCalibrationCam.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MCalibrationTestCam : public MCalibrationCam
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 |
|
|---|
| 12 | TArrayI fNumUninterpolated; // Number uninterpolated Pixels per area index
|
|---|
| 13 | Int_t fNumUninterpolatedInMaxCluster; // Number of not interpolateable pixels in biggest cluster
|
|---|
| 14 |
|
|---|
| 15 | void Add(const UInt_t a, const UInt_t b);
|
|---|
| 16 | void AddArea(const UInt_t a, const UInt_t b);
|
|---|
| 17 | void AddSector(const UInt_t a, const UInt_t b);
|
|---|
| 18 |
|
|---|
| 19 | public:
|
|---|
| 20 |
|
|---|
| 21 | MCalibrationTestCam(const char *name=NULL, const char *title=NULL);
|
|---|
| 22 |
|
|---|
| 23 | void Clear (Option_t *o="");
|
|---|
| 24 |
|
|---|
| 25 | const Int_t GetNumUninterpolated ( Int_t aidx ) const {
|
|---|
| 26 | return fNumUninterpolated[aidx]; }
|
|---|
| 27 | const Int_t GetNumUninterplatedInMaxCluster () const {
|
|---|
| 28 | return fNumUninterpolatedInMaxCluster; }
|
|---|
| 29 | Bool_t GetPixelContent ( Double_t &val, Int_t idx,
|
|---|
| 30 | const MGeomCam &cam, Int_t type=0) const;
|
|---|
| 31 |
|
|---|
| 32 | void InitAverageAreas ( const UInt_t i);
|
|---|
| 33 |
|
|---|
| 34 | // Prints
|
|---|
| 35 | void Print (Option_t *o="") const;
|
|---|
| 36 |
|
|---|
| 37 | // Setters
|
|---|
| 38 | void SetNumUninterpolated ( const UInt_t i, const Int_t aidx );
|
|---|
| 39 | void SetNumUninterpolatedInMaxCluster( const UInt_t i ) { fNumUninterpolatedInMaxCluster = i; }
|
|---|
| 40 |
|
|---|
| 41 | // Draw
|
|---|
| 42 | void DrawPixelContent( Int_t num) const {}
|
|---|
| 43 |
|
|---|
| 44 | ClassDef(MCalibrationTestCam, 1) // Container Test Calibration Results Camera
|
|---|
| 45 | };
|
|---|
| 46 |
|
|---|
| 47 | #endif
|
|---|