CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
defaultRKPropagator::RKMagVolume Class Referencefinal

#include <defaultRKPropagator.h>

Inheritance diagram for defaultRKPropagator::RKMagVolume:
MagVolume GloballyPositioned< float > MagneticField

Public Member Functions

const std::vector< VolumeSide > & faces () const override
 Access to volume faces - dummy implementation. More...
 
bool inside (const GlobalPoint &gp, double tolerance=0.) const override
 
 RKMagVolume (const PositionType &pos, const RotationType &rot, const MagneticFieldProvider< float > *mfp)
 
- Public Member Functions inherited from MagVolume
LocalVector fieldInTesla (const LocalPoint &lp) const
 
GlobalVector fieldInTesla (const GlobalPoint &lp) const
 
virtual bool inside (const LocalPoint &lp, double tolerance=0.) const
 
::GlobalVector inTesla (const ::GlobalPoint &gp) const override
 
bool isIron () const
 Temporary hack to pass information on material. Will eventually be replaced! More...
 
 MagVolume (const PositionType &pos, const RotationType &rot, const MagneticFieldProvider< float > *mfp, double sf=1.)
 
void ownsFieldProvider (bool o)
 
const MagneticFieldProvider< float > * provider () const
 
void setIsIron (bool iron)
 
 ~MagVolume () override
 
- Public Member Functions inherited from GloballyPositioned< float >
float eta () const
 
 GloballyPositioned ()
 
 GloballyPositioned (const PositionType &pos, const RotationType &rot)
 
void move (const GlobalVector &displacement)
 
float phi () const
 
const PositionTypeposition () const
 
void rotate (const RotationType &rotation)
 
const RotationTyperotation () const
 
GlobalPoint toGlobal (const LocalPoint &lp) const
 
Point3DBase< U, GlobalTagtoGlobal (const Point3DBase< U, LocalTag > &lp) const
 
GlobalVector toGlobal (const LocalVector &lv) const
 
Vector3DBase< U, GlobalTagtoGlobal (const Vector3DBase< U, LocalTag > &lv) const
 
LocalPoint toLocal (const GlobalPoint &gp) const
 
Point3DBase< U, LocalTagtoLocal (const Point3DBase< U, GlobalTag > &gp) const
 
LocalVector toLocal (const GlobalVector &gv) const
 
Vector3DBase< U, LocalTagtoLocal (const Vector3DBase< U, GlobalTag > &gv) const
 
virtual ~GloballyPositioned ()
 
- Public Member Functions inherited from MagneticField
virtual MagneticFieldclone () const
 
GlobalVector inInverseGeV (const GlobalPoint &gp) const
 Field value ad specified global point, in 1/Gev. More...
 
GlobalVector inKGauss (const GlobalPoint &gp) const
 Field value ad specified global point, in KGauss. More...
 
virtual GlobalVector inTesla (const GlobalPoint &gp) const =0
 Field value ad specified global point, in Tesla. More...
 
virtual GlobalVector inTeslaUnchecked (const GlobalPoint &gp) const
 
float inverseBzAtOriginInGeV () const
 The inverse of field z component for this map in GeV. More...
 
virtual bool isDefined (const GlobalPoint &) const
 True if the point is within the region where the concrete field. More...
 
 MagneticField ()
 
 MagneticField (const MagneticField &orig)
 
int nominalValue () const
 The nominal field value for this map in kGauss. More...
 
virtual ~MagneticField ()
 

Private Attributes

std::vector< VolumeSidetheFaces
 

Additional Inherited Members

- Public Types inherited from MagVolume
typedef GloballyPositioned< float > Base
 
typedef GloballyPositioned< float >::GlobalPoint GlobalPoint
 
typedef GloballyPositioned< float >::GlobalVector GlobalVector
 
typedef GloballyPositioned< float >::LocalPoint LocalPoint
 
typedef GloballyPositioned< float >::LocalVector LocalVector
 
- Public Types inherited from GloballyPositioned< float >
typedef Point3DBase< float, GlobalTagGlobalPoint
 
typedef Vector3DBase< float, GlobalTagGlobalVector
 
typedef Point3DBase< float, LocalTagLocalPoint
 
typedef Vector3DBase< float, LocalTagLocalVector
 
typedef Point3DBase< float, GlobalTagPositionType
 
typedef TkRotation< float > RotationType
 
typedef float Scalar
 
- Static Public Member Functions inherited from GloballyPositioned< float >
static float iniEta ()
 
static float iniPhi ()
 
- Protected Member Functions inherited from MagneticField
void setNominalValue ()
 

Detailed Description

Definition at line 27 of file defaultRKPropagator.h.

Constructor & Destructor Documentation

◆ RKMagVolume()

defaultRKPropagator::RKMagVolume::RKMagVolume ( const PositionType pos,
const RotationType rot,
const MagneticFieldProvider< float > *  mfp 
)
inline

Definition at line 29 of file defaultRKPropagator.h.

References MagneticField::setNominalValue().

30  : MagVolume(pos, rot, mfp) {
32  }
MagVolume(const PositionType &pos, const RotationType &rot, const MagneticFieldProvider< float > *mfp, double sf=1.)
Definition: MagVolume.h:21
void setNominalValue()

Member Function Documentation

◆ faces()

const std::vector<VolumeSide>& defaultRKPropagator::RKMagVolume::faces ( ) const
inlineoverridevirtual

Access to volume faces - dummy implementation.

Implements MagVolume.

Definition at line 37 of file defaultRKPropagator.h.

References theFaces.

37 { return theFaces; }
std::vector< VolumeSide > theFaces

◆ inside()

bool defaultRKPropagator::RKMagVolume::inside ( const GlobalPoint gp,
double  tolerance = 0. 
) const
inlineoverridevirtual

Implements MagVolume.

Definition at line 34 of file defaultRKPropagator.h.

34 { return true; }

Member Data Documentation

◆ theFaces

std::vector<VolumeSide> defaultRKPropagator::RKMagVolume::theFaces
private

Definition at line 40 of file defaultRKPropagator.h.

Referenced by faces().