CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
ExtractBarrelDetLayerR Struct Reference

Public Types

typedef Surface::Scalar result_type
 

Public Member Functions

result_type operator() (const DetLayer *p) const
 

Detailed Description

Definition at line 256 of file MuonDetLayerGeometry.cc.

Member Typedef Documentation

Definition at line 257 of file MuonDetLayerGeometry.cc.

Member Function Documentation

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

Definition at line 258 of file MuonDetLayerGeometry.cc.

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

258  {
259  const BarrelDetLayer * bdl = dynamic_cast<const BarrelDetLayer*>(p);
260  if (bdl) return bdl->specificSurface().radius();
261  else return -1.;
262  }
Scalar radius() const
Radius of the cylinder.
Definition: Cylinder.h:55
virtual const BoundCylinder & specificSurface() const
Extension of the interface.