#include "DataFormats/Common/interface/RangeMap.h"
#include <DataFormats/TrackingRecHit/interface/RecHit2DLocalPos.h>
#include <DataFormats/MuonDetId/interface/CSCDetId.h>
#include <vector>
#include <map>
#include <iosfwd>
Go to the source code of this file.
Classes | |
class | CSCRecHit2D |
Functions | |
std::ostream & | operator<< (std::ostream &os, const CSCRecHit2D &rh) |
Output operator for CSCRecHit2D. |
std::ostream& operator<< | ( | std::ostream & | os, |
const CSCRecHit2D & | rh | ||
) |
Output operator for CSCRecHit2D.
Definition at line 192 of file CSCRecHit2D.cc.
References CSCRecHit2D::channels(), CSCRecHit2D::errorWithinStrip(), CSCRecHit2D::hitWire(), CSCRecHit2D::localPosition(), CSCRecHit2D::localPositionError(), CSCRecHit2D::nStrips(), CSCRecHit2D::nWireGroups(), CSCRecHit2D::positionWithinStrip(), CSCRecHit2D::quality(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().
{ os << "CSCRecHit2D: local x = " << rh.localPosition().x() << " +/- " << sqrt( rh.localPositionError().xx() ) << " y = " << rh.localPosition().y() << " +/- " << sqrt( rh.localPositionError().yy() ) << " in strip X = " << rh.positionWithinStrip() << " +/- = " << rh.errorWithinStrip()<<" quality = "<<rh.quality()<<"\n"; os << " strip # : "; for(size_t iS =0;iS< rh.nStrips();++iS){ os <<rh.channels(iS)<<" "; } os << "\n wire # : "; os << "nWireGroups " << (int)rh.nWireGroups() << " central wire " << rh.hitWire() <<std::endl; return os; }