CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
ExtractBarrelDetLayerR Struct Reference

Public Types

typedef Surface::Scalar result_type
 
typedef Surface::Scalar result_type
 

Public Member Functions

result_type operator() (const DetLayer *p) const
 
result_type operator() (const DetLayer *p) const
 

Detailed Description

Definition at line 129 of file MTDDetLayerGeometry.cc.

Member Typedef Documentation

Definition at line 130 of file MTDDetLayerGeometry.cc.

Definition at line 377 of file MuonDetLayerGeometry.cc.

Member Function Documentation

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

Definition at line 131 of file MTDDetLayerGeometry.cc.

References AlCaHLTBitMon_ParallelJobs::p, and BarrelDetLayer::specificSurface().

131  {
132  const BarrelDetLayer * bdl = dynamic_cast<const BarrelDetLayer*>(p);
133  if (bdl) return bdl->specificSurface().radius();
134  else return -1.;
135  }
virtual const BoundCylinder & specificSurface() const final
Extension of the interface.
result_type ExtractBarrelDetLayerR::operator() ( const DetLayer p) const
inline

Definition at line 378 of file MuonDetLayerGeometry.cc.

References AlCaHLTBitMon_ParallelJobs::p, and BarrelDetLayer::specificSurface().

378  {
379  const BarrelDetLayer * bdl = dynamic_cast<const BarrelDetLayer*>(p);
380  if (bdl) return bdl->specificSurface().radius();
381  else return -1.;
382  }
virtual const BoundCylinder & specificSurface() const final
Extension of the interface.