CMS 3D CMS Logo

Public Types | Public Member Functions

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 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 AlCaHLTBitMon_ParallelJobs::p, and BarrelDetLayer::specificSurface().

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