#include "Ring.h" #include #include "Led.h" #include "Leds.h" #include "Rings.h" ClassImp(Ring); 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" <