CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LocalMagneticField.h
Go to the documentation of this file.
1 #ifndef FastSimualtion_TrajectoryManager_LocalMagneticField_h
2 #define FastSimualtion_TrajectoryManager_LocalMagneticField_h
3 
14 
15 class LocalMagneticField final : public MagneticField {
16 public:
18  LocalMagneticField(double value);
19 
20  ~LocalMagneticField() override {}
21 
22  GlobalVector inTesla(const GlobalPoint& gp) const override;
23 
24 private:
26 };
27 
28 #endif
~LocalMagneticField() override
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
LocalMagneticField(double value)
Construct passing the Z field component in Tesla.