source: branches/Mars_McMismatchStudy/mcalib/MCalibrationTestCam.h@ 18164

Last change on this file since 18164 was 6329, 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
8class MCalibrationTestCam : public MCalibrationCam
9{
10private:
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
19public:
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
Note: See TracBrowser for help on using the repository browser.