CMS 3D CMS Logo

CSCSegment.cc File Reference

Date
2008/01/22 18:43:44
More...

#include <DataFormats/CSCRecHit/interface/CSCSegment.h>
#include <iostream>

Go to the source code of this file.

Functions

DetId buildDetId (CSCDetId id)
std::ostream & operator<< (std::ostream &os, const CSCSegment &seg)


Detailed Description

Date
2008/01/22 18:43:44

Author:
Matteo Sani

Definition in file CSCSegment.cc.


Function Documentation

DetId @3526::buildDetId ( CSCDetId  id  )  [inline, static]

Definition at line 13 of file CSCSegment.cc.

References GeomDetEnumerators::endcap.

00013                                 {
00014     return CSCDetId(id.endcap(),id.station(),id.ring(),id.chamber(), 0);
00015   }

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

Definition at line 90 of file CSCSegment.cc.

References CSCSegment::chi2(), CSCSegment::localDirection(), CSCSegment::localPosition(), and CSCSegment::specificRecHits().

00090                                                               {
00091   os << "CSCSegment: local pos = " << seg.localPosition() << 
00092     " dir = " << seg.localDirection() <<
00093     " chi2 = " << seg.chi2() << " #rechits = " << seg.specificRecHits().size();
00094   return os;  
00095 }


Generated on Tue Jun 9 17:51:56 2009 for CMSSW by  doxygen 1.5.4