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 124 of file MTDDetLayerGeometry.cc.

Member Typedef Documentation

◆ result_type [1/2]

Definition at line 125 of file MTDDetLayerGeometry.cc.

◆ result_type [2/2]

Definition at line 260 of file MuonDetLayerGeometry.cc.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 126 of file MTDDetLayerGeometry.cc.

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

126  {
127  const BarrelDetLayer* bdl = dynamic_cast<const BarrelDetLayer*>(p);
128  if (bdl)
129  return bdl->specificSurface().radius();
130  else
131  return -1.;
132  }
virtual const BoundCylinder & specificSurface() const final
Extension of the interface.

◆ operator()() [2/2]

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

Definition at line 261 of file MuonDetLayerGeometry.cc.

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

261  {
262  const BarrelDetLayer* bdl = dynamic_cast<const BarrelDetLayer*>(p);
263  if (bdl)
264  return bdl->specificSurface().radius();
265  else
266  return -1.;
267  }
virtual const BoundCylinder & specificSurface() const final
Extension of the interface.