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

◆ operator<<()

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

Definition at line 60 of file EmulatedME0Segment.cc.

60  {
61  os << "EmulatedME0Segment: local pos = " << seg.localPosition() << " posErr = ("
62  << sqrt(seg.localPositionError().xx()) << "," << sqrt(seg.localPositionError().yy()) << "0,)\n"
63  << " dir = " << seg.localDirection() << " dirErr = (" << sqrt(seg.localDirectionError().xx()) << ","
64  << sqrt(seg.localDirectionError().yy()) << "0,)\n";
65  return os;
66 }

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

LocalError::xx
float xx() const
Definition: LocalError.h:22
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
EmulatedME0Segment::localPositionError
LocalError localPositionError() const override
Definition: EmulatedME0Segment.cc:18
EmulatedME0Segment::localPosition
LocalPoint localPosition() const override
Definition: EmulatedME0Segment.h:34
EmulatedME0Segment::localDirectionError
LocalError localDirectionError() const override
Error on the local direction.
Definition: EmulatedME0Segment.cc:22
EmulatedME0Segment::localDirection
LocalVector localDirection() const override
Local direction.
Definition: EmulatedME0Segment.h:37
LocalError::yy
float yy() const
Definition: LocalError.h:24