CMS 3D CMS Logo

Public Member Functions | Private Attributes

defaultRKPropagator::GCC11_FINAL Class Reference

#include <defaultRKPropagator.h>

Inheritance diagram for defaultRKPropagator::GCC11_FINAL:
MagVolume MagneticFieldProvider< float > GloballyPositioned< float > MagneticField

List of all members.

Public Member Functions

virtual const std::vector
< VolumeSide > & 
faces () const
 Access to volume faces - dummy implementation.
virtual bool inside (const GlobalPoint &gp, double tolerance=0.) const
 RKMagVolume (const PositionType &pos, const RotationType &rot, DDSolidShape shape, const MagneticFieldProvider< float > *mfp)
 TrivialFieldProvider (const MagneticField *field)
LocalVectorType valueInTesla (const LocalPointType &lp) const override

Private Attributes

std::vector< VolumeSidetheFaces
const MagneticFieldtheField

Detailed Description

Definition at line 14 of file defaultRKPropagator.h.


Member Function Documentation

virtual const std::vector<VolumeSide>& defaultRKPropagator::GCC11_FINAL::faces ( ) const [inline, virtual]

Access to volume faces - dummy implementation.

Implements MagVolume.

Definition at line 39 of file defaultRKPropagator.h.

{return theFaces;}
virtual bool defaultRKPropagator::GCC11_FINAL::inside ( const GlobalPoint gp,
double  tolerance = 0. 
) const [inline, virtual]

Implements MagVolume.

Definition at line 36 of file defaultRKPropagator.h.

{return true;}
defaultRKPropagator::GCC11_FINAL::RKMagVolume ( const PositionType pos,
const RotationType rot,
DDSolidShape  shape,
const MagneticFieldProvider< float > *  mfp 
) [inline]

Definition at line 32 of file defaultRKPropagator.h.

                                                                               :
      MagVolume( pos, rot, shape, mfp) {}
defaultRKPropagator::GCC11_FINAL::TrivialFieldProvider ( const MagneticField field) [inline]

Definition at line 17 of file defaultRKPropagator.h.

: theField(field) {}
LocalVectorType defaultRKPropagator::GCC11_FINAL::valueInTesla ( const LocalPointType p) const [inline, override, virtual]

Returns the field vector in the local frame, at local position p

Implements MagneticFieldProvider< float >.

Definition at line 19 of file defaultRKPropagator.h.

References PV3DBase< T, PVType, FrameType >::basicVector().

                                                                           {
      // NOTE: the following transformation only works for the central volume
      // where global and local coordinates are numerically equal !
      GlobalPoint gp(lp.basicVector());
      return LocalVectorType(theField->inTesla(gp).basicVector());
    }

Member Data Documentation

Definition at line 42 of file defaultRKPropagator.h.

Definition at line 27 of file defaultRKPropagator.h.