Changeset 1965 for trunk/MagicSoft/Mars/mgui/MCamDisplay.h
- Timestamp:
- 04/19/03 18:39:05 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MCamDisplay.h
r1904 r1965 12 12 class TText; 13 13 class TArrow; 14 class TVirtualPad;15 14 16 15 class MGeomCam; … … 46 45 UInt_t fW; // Width of canvas 47 46 UInt_t fH; // Height of canvas 48 TVirtualPad *fDrawingPad; // pad in which we are drawing49 Bool_t fIsAllocated;50 47 51 48 TBox *GetBox(Int_t i) { return (TBox*) fLegend->At(i); } … … 62 59 63 60 void UpdateLegend(Float_t min, Float_t max); 64 void Paint(Option_t *option=""); 61 void SetRange(); 62 void SetPalette(); 65 63 66 64 public: 65 MCamDisplay(); 67 66 MCamDisplay(MGeomCam *geom); 68 67 ~MCamDisplay(); 69 68 70 69 void SetAutoScale(Bool_t input=kTRUE) { fAutoScale = input; } 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);70 void FillPhotNum(const MCerPhotEvt &event); 71 void FillRatio(const MCerPhotEvt &event); 72 void FillLevels(const MCerPhotEvt &event, Float_t lvl1, Float_t lvl2); 73 void FillErrorPhot(const MCerPhotEvt &event); 74 void FillLevels(const MCerPhotEvt &event, const MImgCleanStd &clean); 75 void FillPedestals(const MPedestalCam &event); 77 76 78 77 void DrawPixelNumbers(); 79 78 80 virtual void Reset(); 81 virtual void Draw(Option_t *option=""); 82 virtual void SavePrimitive(ofstream &out, Option_t *); 83 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py); 79 void Paint(Option_t *option=""); 80 void Reset(); 81 void Draw(Option_t *option=""); 82 void SavePrimitive(ofstream &out, Option_t *); 83 Int_t DistancetoPrimitive(Int_t px, Int_t py); 84 84 //virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); 85 85
Note:
See TracChangeset
for help on using the changeset viewer.