CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | 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

Public Member Functions

virtual const std::vector
< VolumeSide > & 
faces () const
 Access to volume faces - dummy implementation. More...
 
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
 
- 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
 
virtual ::GlobalVector inTesla (const ::GlobalPoint &gp) const
 
bool isIron () const
 Temporary hack to pass information on material. Will eventually be replaced! More...
 
 MagVolume (const PositionType &pos, const RotationType &rot, DDSolidShape shape, const MagneticFieldProvider< float > *mfp, double sf=1.)
 
void ownsFieldProvider (bool o)
 
const MagneticFieldProvider
< float > * 
provider () const
 
void setIsIron (bool iron)
 
DDSolidShape shapeType () const
 
virtual ~MagVolume ()
 
- 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
 
virtual bool isDefined (const GlobalPoint &gp) 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 ()
 
- Public Member Functions inherited from MagneticFieldProvider< float >
virtual LocalVectorType derivativeInTeslaPerMeter (const LocalPointType &p, int N) const
 
virtual int hasDerivatives () const
 
virtual ~MagneticFieldProvider ()
 

Private Attributes

std::vector< VolumeSidetheFaces
 
const MagneticFieldtheField
 

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,
GlobalTag
GlobalPoint
 
typedef Vector3DBase< float,
GlobalTag
GlobalVector
 
typedef Point3DBase< float,
LocalTag
LocalPoint
 
typedef Vector3DBase< float,
LocalTag
LocalVector
 
typedef Point3DBase< float,
GlobalTag
PositionType
 
typedef TkRotation< float > RotationType
 
typedef float Scalar
 
- Public Types inherited from MagneticFieldProvider< float >
typedef Point3DBase< float,
GlobalTag
GlobalPointType
 
typedef Vector3DBase< float,
GlobalTag
GlobalVectorType
 
typedef Point3DBase< float,
LocalTag
LocalPointType
 
typedef Vector3DBase< float,
LocalTag
LocalVectorType
 
- Static Public Member Functions inherited from GloballyPositioned< float >
static float iniEta ()
 
static float iniPhi ()
 

Detailed Description

Definition at line 14 of file defaultRKPropagator.h.

Member Function Documentation

virtual const std::vector<VolumeSide>& defaultRKPropagator::GCC11_FINAL::faces ( ) const
inlinevirtual

Access to volume faces - dummy implementation.

Implements MagVolume.

Definition at line 39 of file defaultRKPropagator.h.

39 {return theFaces;}
std::vector< VolumeSide > theFaces
virtual bool defaultRKPropagator::GCC11_FINAL::inside ( const GlobalPoint gp,
double  tolerance = 0. 
) const
inlinevirtual

Implements MagVolume.

Definition at line 36 of file defaultRKPropagator.h.

36 {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.

33  :
34  MagVolume( pos, rot, shape, mfp) {}
MagVolume(const PositionType &pos, const RotationType &rot, DDSolidShape shape, const MagneticFieldProvider< float > *mfp, double sf=1.)
Definition: MagVolume.h:23
defaultRKPropagator::GCC11_FINAL::TrivialFieldProvider ( const MagneticField field)
inline

Definition at line 17 of file defaultRKPropagator.h.

17 : theField(field) {}
LocalVectorType defaultRKPropagator::GCC11_FINAL::valueInTesla ( const LocalPointType p) const
inlineoverridevirtual

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().

19  {
20  // NOTE: the following transformation only works for the central volume
21  // where global and local coordinates are numerically equal !
22  GlobalPoint gp(lp.basicVector());
24  }
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
Vector3DBase< float, LocalTag > LocalVectorType
const BasicVectorType & basicVector() const
Definition: PV3DBase.h:56

Member Data Documentation

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

Definition at line 42 of file defaultRKPropagator.h.

const MagneticField* defaultRKPropagator::GCC11_FINAL::theField
private

Definition at line 27 of file defaultRKPropagator.h.