#include <MagVolume.h>
Public Types | |
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 Member Functions | |
virtual const std::vector< VolumeSide > & | faces () const =0 |
Access to volume faces. More... | |
LocalVector | fieldInTesla (const LocalPoint &lp) const |
GlobalVector | fieldInTesla (const GlobalPoint &lp) const |
virtual bool | inside (const GlobalPoint &gp, double tolerance=0.) const =0 |
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, 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 |
~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 PositionType & | position () const |
void | rotate (const RotationType &rotation) |
const RotationType & | rotation () const |
GlobalPoint | toGlobal (const LocalPoint &lp) const |
Point3DBase< U, GlobalTag > | toGlobal (const Point3DBase< U, LocalTag > &lp) const |
GlobalVector | toGlobal (const LocalVector &lv) const |
Vector3DBase< U, GlobalTag > | toGlobal (const Vector3DBase< U, LocalTag > &lv) const |
LocalPoint | toLocal (const GlobalPoint &gp) const |
Point3DBase< U, LocalTag > | toLocal (const Point3DBase< U, GlobalTag > &gp) const |
LocalVector | toLocal (const GlobalVector &gv) const |
Vector3DBase< U, LocalTag > | toLocal (const Vector3DBase< U, GlobalTag > &gv) const |
virtual | ~GloballyPositioned () |
Public Member Functions inherited from MagneticField | |
virtual MagneticField * | clone () 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 &) 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 | |
bool | isIronFlag |
const MagneticFieldProvider< float > * | theProvider |
bool | theProviderOwned |
double | theScalingFactor |
DDSolidShape | theShape |
Additional Inherited Members | |
Static Public Member Functions inherited from GloballyPositioned< float > | |
static float | iniEta () |
static float | iniPhi () |
Definition at line 14 of file MagVolume.h.
typedef GloballyPositioned<float> MagVolume::Base |
Definition at line 17 of file MagVolume.h.
typedef GloballyPositioned<float>::GlobalPoint MagVolume::GlobalPoint |
Definition at line 20 of file MagVolume.h.
typedef GloballyPositioned<float>::GlobalVector MagVolume::GlobalVector |
Definition at line 21 of file MagVolume.h.
typedef GloballyPositioned<float>::LocalPoint MagVolume::LocalPoint |
Definition at line 18 of file MagVolume.h.
typedef GloballyPositioned<float>::LocalVector MagVolume::LocalVector |
Definition at line 19 of file MagVolume.h.
|
inline |
|
override |
Definition at line 6 of file MagVolume.cc.
References theProvider, and theProviderOwned.
Referenced by MagVolume().
|
pure virtual |
Access to volume faces.
Implemented in MagVolume6Faces, NavVolume6Faces, defaultRKPropagator::RKMagVolume, and MagCylinder.
Referenced by NavVolume6Faces::NavVolume6Faces(), provider(), and SteppingHelixPropagator::refToMagVolume().
MagVolume::LocalVector MagVolume::fieldInTesla | ( | const LocalPoint & | lp | ) | const |
Definition at line 11 of file MagVolume.cc.
References theProvider, theScalingFactor, and MagneticFieldProvider< T >::valueInTesla().
Referenced by MagGeometry::fieldInTesla(), RKLocalFieldProvider::inTesla(), inTesla(), SteppingHelixPropagator::loadState(), and shapeType().
MagVolume::GlobalVector MagVolume::fieldInTesla | ( | const GlobalPoint & | lp | ) | const |
Definition at line 16 of file MagVolume.cc.
References theProvider, theScalingFactor, GloballyPositioned< float >::toGlobal(), GloballyPositioned< float >::toLocal(), and MagneticFieldProvider< T >::valueInTesla().
|
pure virtual |
Implemented in NavVolume6Faces, MagVolume6Faces, defaultRKPropagator::RKMagVolume, and MagCylinder.
Referenced by MagBLayer::findVolume(), inside(), NavVolume6Faces::isIron(), SteppingHelixPropagator::refToMagVolume(), and shapeType().
|
inlinevirtual |
Reimplemented in MagCylinder.
Definition at line 37 of file MagVolume.h.
References inside(), GloballyPositioned< float >::toGlobal(), and RecoTauCleanerPlugins::tolerance.
|
inlineoverride |
Definition at line 46 of file MagVolume.h.
References fieldInTesla().
Referenced by SteppingHelixPropagator::getNextState(), SteppingHelixPropagator::loadState(), and SteppingHelixPropagator::makeAtomStep().
|
inline |
Temporary hack to pass information on material. Will eventually be replaced!
Definition at line 51 of file MagVolume.h.
References isIronFlag.
Referenced by SteppingHelixPropagator::isYokeVolume().
|
inline |
Definition at line 53 of file MagVolume.h.
References connectstrParser::o, and theProviderOwned.
Referenced by MagGeoBuilderFromDDD::buildMagVolumes().
|
inline |
|
inline |
|
inline |
Definition at line 31 of file MagVolume.h.
References fieldInTesla(), runTauDisplay::gp, inside(), theShape, and RecoTauCleanerPlugins::tolerance.
Referenced by SteppingHelixPropagator::refToMagVolume().
|
private |
Definition at line 62 of file MagVolume.h.
Referenced by isIron(), and setIsIron().
|
private |
Definition at line 58 of file MagVolume.h.
Referenced by fieldInTesla(), provider(), and ~MagVolume().
|
private |
Definition at line 59 of file MagVolume.h.
Referenced by ownsFieldProvider(), and ~MagVolume().
|
private |
Definition at line 60 of file MagVolume.h.
Referenced by fieldInTesla().
|
private |
Definition at line 57 of file MagVolume.h.
Referenced by shapeType().