1 #ifndef MagneticField_VolumeBasedMagneticField_h
2 #define MagneticField_VolumeBasedMagneticField_h
20 std::vector<MagBLayer *> theBLayers,
21 std::vector<MagESector *> theESectors,
22 std::vector<MagVolume6Faces*> theBVolumes,
23 std::vector<MagVolume6Faces*> theEVolumes,
24 float rMax,
float zMax,
26 bool isParamFieldOwned=
false);
GlobalVector inTeslaUnchecked(const GlobalPoint &g) const
const MagGeometry * field
const MagVolume * findVolume(const GlobalPoint &gp) const
virtual MagneticField * clone() const
Returns a shallow copy.
virtual ~VolumeBasedMagneticField()
bool isZSymmetric() 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
bool isDefined(const GlobalPoint &gp) const
True if the point is within the region where the concrete field.
GlobalVector inTesla(const GlobalPoint &g) const
Field value ad specified global point, in Tesla.
const MagneticField * paramField
VolumeBasedMagneticField(const edm::ParameterSet &config, std::vector< MagBLayer * > theBLayers, std::vector< MagESector * > theESectors, std::vector< MagVolume6Faces * > theBVolumes, std::vector< MagVolume6Faces * > theEVolumes, float rMax, float zMax, const MagneticField *param=0, bool isParamFieldOwned=false)