CMS 3D CMS Logo

Classes | Functions
EmulatedME0Segment.h File Reference
#include <DataFormats/TrackingRecHit/interface/RecSegment.h>
#include <iosfwd>

Go to the source code of this file.

Classes

class  EmulatedME0Segment
 

Functions

std::ostream & operator<< (std::ostream &os, const EmulatedME0Segment &seg)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const EmulatedME0Segment seg 
)

Definition at line 66 of file EmulatedME0Segment.cc.

References EmulatedME0Segment::localDirection(), EmulatedME0Segment::localDirectionError(), EmulatedME0Segment::localPosition(), EmulatedME0Segment::localPositionError(), mathSSE::sqrt(), LocalError::xx(), and LocalError::yy().

66  {
67  os << "EmulatedME0Segment: local pos = " << seg.localPosition() <<
68  " posErr = (" << sqrt(seg.localPositionError().xx())<<","<<sqrt(seg.localPositionError().yy())<<
69  "0,)\n"<<
70  " dir = " << seg.localDirection() <<
71  " dirErr = (" << sqrt(seg.localDirectionError().xx())<<","<<sqrt(seg.localDirectionError().yy())<<
72  "0,)\n";
73  return os;
74 }
virtual LocalPoint localPosition() const
float xx() const
Definition: LocalError.h:24
LocalError localDirectionError() const
Error on the local direction.
float yy() const
Definition: LocalError.h:26
T sqrt(T t)
Definition: SSEVec.h:18
LocalVector localDirection() const
Local direction.
LocalError localPositionError() const