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

Member Typedef Documentation

◆ result_type [1/2]

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

102  {
103  const BarrelDetLayer* bdl = dynamic_cast<const BarrelDetLayer*>(p);
104  if (bdl)
105  return bdl->specificSurface().radius();
106  else
107  return -1.;
108  }

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

◆ operator()() [2/2]

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

Definition at line 261 of file MuonDetLayerGeometry.cc.

261  {
262  const BarrelDetLayer* bdl = dynamic_cast<const BarrelDetLayer*>(p);
263  if (bdl)
264  return bdl->specificSurface().radius();
265  else
266  return -1.;
267  }

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

AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
BarrelDetLayer
Definition: BarrelDetLayer.h:22
BarrelDetLayer::specificSurface
virtual const BoundCylinder & specificSurface() const final
Extension of the interface.
Definition: BarrelDetLayer.h:39