Ignore:
Timestamp:
07/06/01 14:48:54 (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

    r695 r859  
    8686    // if no canvas is yet existing to draw into, create a new one
    8787    //
    88     if ( !gPad ) new TCanvas("display", "MAGIC display", 0, 0, 650, 500) ;
     88    if (!gPad) new TCanvas("display", "MAGIC display", 0, 0, 650, 500);
    8989
    9090    //
    9191    // draw all pixels of the camera
    9292    //
    93     for (UInt_t i=0; i< fNumPixels; i++)
     93    for (UInt_t i=0; i<fNumPixels; i++)
    9494        (*this)[i].Draw();
    9595
     
    9797    // draw legend
    9898    //
    99     for (Int_t i=0; i< kITEMS_LEGEND; i++)
     99    for (Int_t i=0; i<kITEMS_LEGEND; i++)
    100100    {
    101101        GetBox(i)->Draw();
  • trunk/MagicSoft/Mars/mgui/MGeomCam.h

    r695 r859  
    3131    UInt_t GetNumPixels() const { return fNumPixels; }
    3232
    33     MGeomPix &operator[](Int_t i) { return *(MGeomPix*)fPixels->At(i); }
     33    MGeomPix &operator[](Int_t i)       { return *(MGeomPix*)fPixels->At(i); }
     34    MGeomPix &operator[](Int_t i) const { return *(MGeomPix*)fPixels->At(i); }
    3435
    3536    virtual void Print(Option_t *opt=NULL);
Note: See TracChangeset for help on using the changeset viewer.