Changeset 1540 for trunk/MagicSoft/Mars/mgui/MCamDisplay.h
- Timestamp:
- 10/15/02 17:02:46 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MCamDisplay.h
r1426 r1540 11 11 class TBox; 12 12 class TText; 13 class TArrow; 13 14 class TVirtualPad; 14 15 … … 17 18 class MCerPhotEvt; 18 19 class MCerPhotPix; 20 class MImgCleanStd; 21 class MPedestalPix; 22 class MPedestalCam; 19 23 20 24 class MCamDisplay : public TObject … … 28 32 Float_t fRange; // the range in millimeters of the present geometry 29 33 30 Float_t fMinPhe; // The minimal number of Phe 31 Float_t fMaxPhe; // The maximum number of Phe 34 Int_t fColors[50]; 32 35 33 Int_t fColors[50]; 36 TArrow *fArrowX; // Coordinate System 37 TArrow *fArrowY; // Coordinate System 38 39 TText *fLegRadius; // Coordinate System 40 TText *fLegDegree; // Coordinate System 34 41 35 42 TClonesArray *fPixels; // array of all hexagons … … 47 54 MHexagon &operator[](int i) { return *((MHexagon*)fPixels->At(i)); } 48 55 49 void SetPixColor(const MCerPhotPix &pix, const Int_t i); 50 Int_t GetColor(Float_t wert); 56 void SetPixColor(const MCerPhotPix &pix, const Int_t i, Float_t min, Float_t max); 57 void SetPixColorRatio(const MCerPhotPix &pix, Float_t min, Float_t max); 58 void SetPixColorLevel(const MCerPhotPix &pix, Float_t lvl1, Float_t lvl2); 59 void SetPixColorError(const MCerPhotPix &pix, const Int_t i, Float_t min, Float_t max); 60 void SetPixColorPedestal(const MPedestalPix &pix, Int_t i, Float_t min, Float_t max); 61 Int_t GetColor(Float_t val, Float_t min, Float_t max); 51 62 52 void UpdateLegend( );63 void UpdateLegend(Float_t min, Float_t max); 53 64 void Paint(Option_t *option=""); 54 65 … … 59 70 void SetAutoScale(Bool_t input=kTRUE) { fAutoScale = input; } 60 71 void DrawPhotNum(const MCerPhotEvt *event); 72 void DrawRatio(const MCerPhotEvt *event); 73 void DrawLevels(const MCerPhotEvt *event, Float_t lvl1, Float_t lvl2); 74 void DrawErrorPhot(const MCerPhotEvt *event); 75 void DrawLevels(const MCerPhotEvt *event, const MImgCleanStd &clean); 76 void DrawPedestals(const MPedestalCam *event); 61 77 62 78 void DrawPixelNumbers();
Note:
See TracChangeset
for help on using the changeset viewer.