#include <MagVolume6Faces.h>
Public Member Functions | |
const std::vector< VolumeSide > & | faces () const override |
Access to volume faces. More... | |
bool | inside (const GlobalPoint &gp, double tolerance=0.) const override |
MagVolume6Faces (const PositionType &pos, const RotationType &rot, const std::vector< VolumeSide > &faces, const MagneticFieldProvider< float > *mfp, double sf=1.) | |
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 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 |
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 () |
Public Attributes | |
char | copyno |
short | volumeNo |
Private Attributes | |
std::vector< VolumeSide > | theFaces |
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 |
Static Public Member Functions inherited from GloballyPositioned< float > | |
static float | iniEta () |
static float | iniPhi () |
Protected Member Functions inherited from MagneticField | |
void | setNominalValue () |
A MagVolume defined by a number of sides (surfaces) NOTE that despite the name the sides can be less (or more) than 6!!!
inside() is implemented by checking that the given point is on the correct side of each of the surfaces sides.
Definition at line 23 of file MagVolume6Faces.h.
MagVolume6Faces::MagVolume6Faces | ( | const PositionType & | pos, |
const RotationType & | rot, | ||
const std::vector< VolumeSide > & | faces, | ||
const MagneticFieldProvider< float > * | mfp, | ||
double | sf = 1. |
||
) |
Definition at line 3 of file MagVolume6Faces.cc.
References MagneticField::setNominalValue().
|
inlineoverridevirtual |
Access to volume faces.
Implements MagVolume.
Definition at line 35 of file MagVolume6Faces.h.
References theFaces.
|
overridevirtual |
Implements MagVolume.
Definition at line 12 of file MagVolume6Faces.cc.
References mps_fire::i, SurfaceOrientation::onSurface, and theFaces.
char MagVolume6Faces::copyno |
Definition at line 39 of file MagVolume6Faces.h.
Referenced by MagELayer::findVolume().
|
private |
Definition at line 43 of file MagVolume6Faces.h.
short MagVolume6Faces::volumeNo |
Definition at line 38 of file MagVolume6Faces.h.
Referenced by MagELayer::findVolume().