Changeset 980 for trunk


Ignore:
Timestamp:
10/24/01 11:51:33 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mgui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgui/MCamDisplay.cc

    r979 r980  
    2424//
    2525MCamDisplay::MCamDisplay(MGeomCam *geom)
    26     : fAutoScale(kTRUE), fW(0), fH(0), fMinPhe(-2), fMaxPhe(50), fDrawingPad(NULL)
     26    : fAutoScale(kTRUE), fMinPhe(-2), fMaxPhe(50), fW(0), fH(0), fDrawingPad(NULL)
    2727{
    2828    //
  • trunk/MagicSoft/Mars/mgui/MCamDisplay.h

    r978 r980  
    2424
    2525    UInt_t         fNumPixels;   // number of pixels in the present geometry
    26     Int_t          fRange;       // the range in millimeters of the present geometry
     26    Float_t        fRange;       // the range in millimeters of the present geometry
    2727
    2828    Float_t        fMinPhe;      // The minimal number of Phe
     
    3333    TClonesArray  *fLegText;     // array of all texts
    3434
     35    UInt_t         fW;           // Width of canvas
     36    UInt_t         fH;           // Height of canvas
    3537    TVirtualPad   *fDrawingPad;  // pad in which we are drawing
    36 
    3738
    3839    TBox  *GetBox(Int_t i)  { return (TBox*) fLegend->At(i); }
    3940    TText *GetText(Int_t i) { return (TText*)fLegText->At(i); }
    4041
    41     void SetPixColor(const MCerPhotPix &pix);
    42 
    4342    MHexagon &operator[](int i) { return *((MHexagon*)fPixels->At(i)); }
    4443
     44    void  SetPixColor(const MCerPhotPix &pix);
    4545    Int_t GetColor(Float_t wert);
    4646
    4747    void UpdateLegend();
     48    void Paint(Option_t *option="");
    4849
    4950public:
     
    5152    ~MCamDisplay();
    5253
    53     void Draw(Option_t *option = "");
    54 
     54    void SetAutoScale(Bool_t input=kTRUE) { fAutoScale = input; }
    5555    void DrawPhotNum(const MCerPhotEvt *event);
    56     void DrawPhotErr(const MCerPhotEvt *event);
    5756
    5857    void Reset();
    59 
    60     void SetAutoScale(Bool_t input = kTRUE)
    61     {
    62         fAutoScale = input;
    63     }
     58    void Draw(Option_t *option="");
    6459
    6560    ClassDef(MCamDisplay, 0) // Displays the magic camera
Note: See TracChangeset for help on using the changeset viewer.