#include "Rings.h" #include #include "Led.h" #include "Leds.h" ClassImp(Rings); using namespace std; void Rings::CalcCenters(const Leds &leds, Float_t min, Float_t max) { Clear(); int nPoints = leds.GetEntries(); if (nPoints=0&&ring.GetR()=0&&ring.GetR()>max)) { RemoveAt(n); continue; } n++; } // Expand(n); } void Rings::CalcRings(Leds &leds, Float_t min, Float_t max) { CalcCenters(leds, min, max); fCenter.InterpolCenters(*this); int n = leds.GetEntries(); for (int j=0; j0) { TClonesArray::Print(); cout << "Center: " << endl; fCenter.Print(); } }