| 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 |
|
|---|
| 12 | class MCalibrationTestCam : public MCalibrationCam
|
|---|
| 13 | {
|
|---|
| 14 | private:
|
|---|
| 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 |
|
|---|
| 23 | public:
|
|---|
| 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
|
|---|