Ignore:
Timestamp:
09/05/04 18:56:47 (21 years ago)
Author:
rwagner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/caos
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/caos/Led.h

    r2278 r4865  
    4040    }
    4141
     42    void SetX(Double_t x)     { fX=x; }
     43    void SetY(Double_t y)     { fY=y; }
     44
    4245    Double_t GetX() const    { return fX; }
    4346    Double_t GetY() const    { return fY; }
  • trunk/MagicSoft/Cosy/caos/Rings.cc

    r2278 r4865  
    1414    int nPoints = leds.GetEntries();
    1515
    16     if (nPoints<5)
     16    if (nPoints<fMinNumberLeds)
    1717        return;
    1818
  • trunk/MagicSoft/Cosy/caos/Rings.h

    r2278 r4865  
    1616private:
    1717    Ring fCenter;
     18    Short_t fMinNumberLeds;
    1819
    1920    void CalcCenters(const Leds &leds, Float_t min, Float_t max);
    2021
    2122public:
    22     Rings() : TClonesArray("Ring", 1) {}
     23    Rings() : TClonesArray("Ring", 1)
     24        {
     25            fMinNumberLeds=5;
     26        }
     27
     28    void SetMinNumberLeds(Short_t n) { fMinNumberLeds=n; }
    2329
    2430    void CalcRings(Leds &leds, Float_t min=-1, Float_t max=-1);
Note: See TracChangeset for help on using the changeset viewer.