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

Member Typedef Documentation

◆ result_type [1/2]

Definition at line 120 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 121 of file MTDDetLayerGeometry.cc.

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

121  {
122  const BarrelDetLayer* bdl = dynamic_cast<const BarrelDetLayer*>(p);
123  if (bdl)
124  return bdl->specificSurface().radius();
125  else
126  return -1.;
127  }
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.