19 #ifndef EMFIELD_POLYNOMIAL_MAGNETIC_FIELD_H 20 #define EMFIELD_POLYNOMIAL_MAGNETIC_FIELD_H 1 78 virtual void tree_dump (std::ostream & out_ = std::clog,
79 const std::string & title_ =
"",
80 const std::string & indent_ =
"",
81 bool inherit_ =
false)
const;
85 double _magnetic_field_unit_;
97 #endif // EMFIELD_POLYNOMIAL_MAGNETIC_FIELD_H virtual int compute_electric_field(const geomtools::vector_3d &position_, double time_, geomtools::vector_3d &electric_field_) const
Main function to compute electric field.
#define EMFIELD_REGISTRATION_INTERFACE(EMFIELD_CLASS_NAME)
Definition: electromagnetic_field_macros.h:157
virtual void initialize(const datatools::properties &setup_, datatools::service_manager &service_manager_, emfield::base_electromagnetic_field::field_dict_type &dict_)
Initialization.
virtual ~polynomial_magnetic_field()
Destructor.
coordinate_limits_type xlimits
Definition: polynomial_magnetic_field.h:48
std::pair< double, double > coordinate_limits_type
Typedef for space limits.
Definition: polynomial_magnetic_field.h:38
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.
virtual int compute_magnetic_field(const geomtools::vector_3d &position_, double time_, geomtools::vector_3d &magnetic_field_) const
Main function to compute magnetic field.
coordinate_limits_type zlimits
Definition: polynomial_magnetic_field.h:50
polynomial_magnetic_field(uint32_t flags_=0)
Contructor.
std::map< std::string, handle_type > field_dict_type
Definition: base_electromagnetic_field.h:49
polynomial_parameters_type py
Definition: polynomial_magnetic_field.h:45
polynomial_parameters_type pz
Definition: polynomial_magnetic_field.h:46
Abstract base class for all electromagnetic field.
Definition: base_electromagnetic_field.h:43
polynomial_parameters_type px
Definition: polynomial_magnetic_field.h:44
virtual void reset()
Reset.
magnetic_field_coordinate()
Top-level namespace of the Bayeux/emfield module library.
Definition: base_electromagnetic_field.h:40
Definition: polynomial_magnetic_field.h:30
std::vector< double > polynomial_parameters_type
Typedef for polynomial parameters.
Definition: polynomial_magnetic_field.h:35
coordinate_limits_type ylimits
Definition: polynomial_magnetic_field.h:49
Internal structure to embed polynomial parameters.
Definition: polynomial_magnetic_field.h:41