1 #ifndef CYLINDRICAL2DMAGNETICFIELD_H
2 #define CYLINDRICAL2DMAGNETICFIELD_H 1
9 #include <CLHEP/Matrix/Vector.h>
10 #include <CLHEP/Vector/ThreeVector.h>
13 #include "MagneticField.h"
44 void init(
double,
double,
double,
double,
double);
53 virtual bool construct(EVENT::LCCollection *);
90 std::vector<std::vector<FieldMapEntry> > _field_map;
95 #endif // CYLINDRICAL2DMAGNETICFIELD_H
Field : A base interface to an electric or magnetic field.
Definition: Field.h:22
virtual Field * new_field(void)
returns a new field...
Definition: Cylindrical2DMagneticField.cc:43
Definition: Cylindrical2DMagneticField.h:55
CLHEP::Hep3Vector get_field_value_coil_coordinates(const CLHEP::Hep3Vector &)
gets the field value at a point given in coil coordinates
Definition: Cylindrical2DMagneticField.cc:114
MagneticField : A base interface to a magnetic field.
Definition: MagneticField.h:20
Cylindrical2DMagneticField()
constructor
Definition: Cylindrical2DMagneticField.cc:19
virtual bool construct(EVENT::LCCollection *)
constructs the field from an LCCollection of data objects (could be anything...
Definition: Cylindrical2DMagneticField.cc:51
virtual ~Cylindrical2DMagneticField()
destructor
Definition: Cylindrical2DMagneticField.cc:29
void init(double, double, double, double, double)
initialize function – if one copies the marlin registration process it might be better to do it right...
Definition: Cylindrical2DMagneticField.cc:32
Cylindrical2DMagneticField : A magnetic field from a cylindrical 2d field map (r and z) ...
Definition: Cylindrical2DMagneticField.h:28