CMS 3D CMS Logo

Functions
EmulatedME0Segment.cc File Reference
#include <DataFormats/MuonReco/interface/EmulatedME0Segment.h>
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 60 of file EmulatedME0Segment.cc.

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

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 }
float xx() const
Definition: LocalError.h:22
LocalVector localDirection() const override
Local direction.
LocalError localPositionError() const override
LocalPoint localPosition() const override
float yy() const
Definition: LocalError.h:24
T sqrt(T t)
Definition: SSEVec.h:19
LocalError localDirectionError() const override
Error on the local direction.