Changeset 1815 for trunk/MagicSoft


Ignore:
Timestamp:
03/11/03 18:28:04 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/Changelog

    r1810 r1815  
    11                                                                  -*-*- END -*-*-
    22 2003/03/11 - Daniela Dorner, Thomas Bretz:
    3  
     3
     4   * .cosyrc_magic, .cosyrc_model:
     5     - added
     6   
     7   * caos/Leds.h, caos/Rings.h:
     8     - changed from operator[] to At()
     9   
     10   * caos/Ring.cc:
     11     - changed Floats to Doubles
     12   
     13   * caos/Rings.cc:
     14     - replaced Expand by Clear
     15
    416   * base/MStar.h:
    517     - added Compare
     
    4759
    4860 2003/03/02 - Daniela Dorner, Thomas Bretz (LaPalma):
     61
     62   * tpoint/tpointfit.C:
     63     - added
     64   
     65   * main/MBending.[h,cc]:
     66     - adapted to Magic bending model
     67
     68   * candrv/nodedrv.cc:
     69     - some changes to the output
     70 
     71   * candrv/vmodican.cc:
     72     - minor changes
     73 
     74   * devdrv/macs.[h,cc]:
     75     - implemented
     76     - removed guarding
     77     - removed motor off
     78   
     79   * devdrv/shaftencoder.cc:
     80     - removed Gaurding
     81     
     82   * gui/MGEmbeddedCanvas.[h,cc]:
     83     - added overloads for Resize
     84   
     85   * gui/MGSkyPosition.[h,cc]:
     86     - added SetDotRange
     87
     88   * gui/MGStarguider.cc:
     89     - write interpolated pictures
     90     
     91   * videodev/PngReader.cc:
     92     - removed unused variable
     93     
     94   * videodev/Writer.cc:
     95     - added warning if file couldn't be opened
    4996
    5097   * videodev/CaosFilter.[h,cc], videodev/PngReader.[h,cc]:
  • trunk/MagicSoft/Cosy/caos/Leds.h

    r1802 r1815  
    2323    //nst Led &GetLed(int i) const { return *(Led*)( (*this)[i] ); }
    2424
    25     const Led &operator()(int i) const { return *(Led*)((*(Leds*)this)[i]); }
    26     Led &operator()(int i) { return *(Led*)((*(Leds*)this)[i]); }
     25    const Led &operator()(int i) const { return *(Led*)At(i); }
     26    Led &operator()(int i) { return *(Led*)At(i); }
    2727
    2828    void Print(Option_t *o=NULL) const;
  • trunk/MagicSoft/Cosy/caos/Ring.cc

    r1802 r1815  
    1212bool Ring::CalcCenter(const Leds &leds, Int_t i, Int_t j, Int_t k)
    1313{
    14     Float_t h1 = leds(i).GetY()- leds(j).GetY();
     14    Double_t h1 = leds(i).GetY()- leds(j).GetY();
    1515
    1616    if (h1==0)
     
    2525    }
    2626
    27     Float_t h2 = leds(j).GetY() - leds(k).GetY();
     27    Double_t h2 = leds(j).GetY() - leds(k).GetY();
    2828
    2929    if (h2==0)
     
    3838    }
    3939
    40     const Float_t w1 = leds(i).GetX() - leds(j).GetX();
    41     const Float_t w2 = leds(j).GetX() - leds(k).GetX();
     40    const Double_t w1 = leds(i).GetX() - leds(j).GetX();
     41    const Double_t w2 = leds(j).GetX() - leds(k).GetX();
    4242
    43     const Float_t m1 = -w1/h1;
    44     const Float_t m2 = -w2/h2;
     43    const Double_t m1 = -w1/h1;
     44    const Double_t m2 = -w2/h2;
    4545
    4646    if (m2-m1==0)
  • trunk/MagicSoft/Cosy/caos/Rings.cc

    r1802 r1815  
    1010void Rings::CalcCenters(const Leds &leds)
    1111{
     12    Clear();
     13
    1214    int nPoints = leds.GetEntries();
    1315
     
    2830            }
    2931
    30     Expand(n);
     32    //    Expand(n);
    3133}
    3234
  • trunk/MagicSoft/Cosy/caos/Rings.h

    r1802 r1815  
    2626    void Print(Option_t *o=NULL) const;
    2727
    28     const Ring &operator()(int i) const { return *(Ring*)((*(Rings*)this)[i]); }
    29     Ring &operator()(int i) { return *(Ring*)((*(Rings*)this)[i]); }
     28    const Ring &operator()(int i) const { return *(Ring*)At(i); }
     29    Ring &operator()(int i) { return *(Ring*)At(i); }
    3030
    3131    const Ring &GetCenter() const { return fCenter; }
Note: See TracChangeset for help on using the changeset viewer.