1 #ifndef MagneticField_VolumeBasedMagneticField_h
2 #define MagneticField_VolumeBasedMagneticField_h
15 class testMagneticField;
16 class testMagGeometryAnalyzer;
26 const std::vector<MagBLayer*>& theBLayers,
27 const std::vector<MagESector*>& theESectors,
28 const std::vector<MagVolume6Faces*>& theBVolumes,
29 const std::vector<MagVolume6Faces*>& theEVolumes,
33 bool isParamFieldOwned =
false);
GlobalVector inTesla(const GlobalPoint &g) const override
Field value ad specified global point, in Tesla.
GlobalVector inTeslaUnchecked(const GlobalPoint &g) const override
const MagGeometry * field
const MagVolume * findVolume(const GlobalPoint &gp) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
VolumeBasedMagneticField(int geomVersion, const std::vector< MagBLayer * > &theBLayers, const std::vector< MagESector * > &theESectors, const std::vector< MagVolume6Faces * > &theBVolumes, const std::vector< MagVolume6Faces * > &theEVolumes, float rMax, float zMax, const MagneticField *param=nullptr, bool isParamFieldOwned=false)
friend class testMagneticField
friend class testMagGeometryAnalyzer
MagneticField * clone() const override
Returns a shallow copy.
~VolumeBasedMagneticField() override
bool isDefined(const GlobalPoint &gp) const override
True if the point is within the region where the concrete field.
const MagneticField * paramField