#include "Ring.h" #include #include "Led.h" #include "Leds.h" #include "Rings.h" ClassImp(Ring); Ring::Ring() : fX(0), fY(0), fR(0), fPhi(0), fDx(-1), fDy(-1), fDr(-1), fDphi(-1) { } bool Ring::CalcCenter(const Leds &leds, Int_t i, Int_t j, Int_t k) { Double_t h1 = leds(i).GetY()- leds(j).GetY(); if (h1==0) { Swap(&j, &k); h1 = leds(i).GetY()- leds(j).GetY(); if (h1==0) { cout << "h1==0" <