CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/Geometry/CommonTopologies/src/RadialStripTopology.cc

Go to the documentation of this file.
00001 #include <Geometry/CommonTopologies/interface/RadialStripTopology.h>
00002 #include "FWCore/Utilities/interface/Exception.h"
00003 
00004 float RadialStripTopology::pitch() const {  
00005   throw cms::Exception("RadialStripTopology") << "pitch() called - makes no sense, use localPitch(.) instead."; 
00006   return 0.;
00007 }
00008 
00009 
00010 std::ostream & operator<<( std::ostream & os, const RadialStripTopology & rst ) {
00011   os  << "RadialStripTopology " << std::endl
00012       << " " << std::endl
00013       << "number of strips          " << rst.nstrips() << std::endl
00014       << "centre to whereStripsMeet " << rst.centreToIntersection() << std::endl
00015       << "detector height in y      " << rst.detHeight() << std::endl
00016       << "angular width of strips   " << rst.phiPitch() << std::endl
00017       << "phi of one edge           " << rst.phiOfOneEdge() << std::endl
00018       << "y axis orientation        " << rst.yAxisOrientation() << std::endl
00019       << "y of centre of strip plane " << rst.yCentreOfStripPlane() << std::endl;
00020   return os;
00021 }