#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(), cmsDriverOptions::counter, 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; }