#include <utility>
#include <vector>
#include <iosfwd>
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
#include "DataFormats/TrackingRecHit/interface/TrackingRecHit.h"
#include "RecoTracker/RoadMapRecord/interface/Roads.h"
Go to the source code of this file.
Classes | |
class | LineRZ |
class | LineXY |
class | RoadSearchCircleSeed |
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(), counter(), RoadSearchCircleSeed::ImpactParameter(), RoadSearchCircleSeed::InBarrel(), RoadSearchCircleSeed::Points(), RoadSearchCircleSeed::Radius(), RoadSearchCircleSeed::straightLine, RoadSearchCircleSeed::Type(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
00284 { 00285 // 00286 // print operator 00287 // 00288 00289 if ( seed.Type() == RoadSearchCircleSeed::straightLine ) { 00290 ost << "Straight Line: number of points: " << seed.Points().size() << "\n"; 00291 unsigned int counter = 0; 00292 for ( std::vector<GlobalPoint>::const_iterator point = seed.Points().begin(); 00293 point != seed.Points().end(); 00294 ++point ) { 00295 ++counter; 00296 ost << " Point " << counter << ": " << point->x() << "," << point->y() << "\n"; 00297 } 00298 } else { 00299 ost << "Circle: number of points: " << seed.Points().size() << "\n"; 00300 ost << " Radius : " << seed.Radius() << "\n"; 00301 ost << " In the barrel : " << seed.InBarrel() << "\n"; 00302 ost << " ImpactParameter: " << seed.ImpactParameter() << "\n"; 00303 ost << " Center : " << seed.Center().x() << "," << seed.Center().y() << "\n"; 00304 unsigned int counter = 0; 00305 for ( std::vector<GlobalPoint>::const_iterator point = seed.Points().begin(); 00306 point != seed.Points().end(); 00307 ++point ) { 00308 ++counter; 00309 ost << " Point " << counter << " : " << point->x() << "," << point->y() << "\n"; 00310 } 00311 } 00312 00313 return ost; 00314 }