#include <cmath>
#include "RecoTracker/RoadSearchSeedFinder/interface/RoadSearchCircleSeed.h"
#include "RecoTracker/TkSeedGenerator/interface/FastCircle.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/SiStripDetId/interface/StripSubdetector.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &ost, const RoadSearchCircleSeed &seed) |
std::ostream& operator<< | ( | std::ostream & | ost, |
const RoadSearchCircleSeed & | seed | ||
) |
Definition at line 284 of file RoadSearchCircleSeed.cc.
References RoadSearchCircleSeed::Center(), RoadSearchCircleSeed::ImpactParameter(), RoadSearchCircleSeed::InBarrel(), point, RoadSearchCircleSeed::Points(), RoadSearchCircleSeed::Radius(), RoadSearchCircleSeed::straightLine, RoadSearchCircleSeed::Type(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
{ // // print operator // if ( seed.Type() == RoadSearchCircleSeed::straightLine ) { ost << "Straight Line: number of points: " << seed.Points().size() << "\n"; unsigned int counter = 0; for ( std::vector<GlobalPoint>::const_iterator point = seed.Points().begin(); point != seed.Points().end(); ++point ) { ++counter; ost << " Point " << counter << ": " << point->x() << "," << point->y() << "\n"; } } else { ost << "Circle: number of points: " << seed.Points().size() << "\n"; ost << " Radius : " << seed.Radius() << "\n"; ost << " In the barrel : " << seed.InBarrel() << "\n"; ost << " ImpactParameter: " << seed.ImpactParameter() << "\n"; ost << " Center : " << seed.Center().x() << "," << seed.Center().y() << "\n"; unsigned int counter = 0; for ( std::vector<GlobalPoint>::const_iterator point = seed.Points().begin(); point != seed.Points().end(); ++point ) { ++counter; ost << " Point " << counter << " : " << point->x() << "," << point->y() << "\n"; } } return ost; }