CMS 3D CMS Logo

ExtractBarrelDetLayerR Struct Reference

List of all members.

Public Types

typedef Surface::Scalar result_type

Public Member Functions

result_type operator() (const DetLayer *p) const


Detailed Description

Definition at line 251 of file MuonDetLayerGeometry.cc.


Member Typedef Documentation

typedef Surface::Scalar ExtractBarrelDetLayerR::result_type

Definition at line 252 of file MuonDetLayerGeometry.cc.


Member Function Documentation

result_type ExtractBarrelDetLayerR::operator() ( const DetLayer p  )  const [inline]

Definition at line 253 of file MuonDetLayerGeometry.cc.

References Cylinder::radius(), and BarrelDetLayer::specificSurface().

00253                                                   {
00254     const BarrelDetLayer * bdl = dynamic_cast<const BarrelDetLayer*>(p);
00255     if (bdl) return bdl->specificSurface().radius();
00256     else return -1.;
00257   }


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:20:34 2009 for CMSSW by  doxygen 1.5.4