8 #include "CLHEP/Matrix/Vector.h"
9 #include "CLHEP/Vector/ThreeVector.h"
27 Field( std::string field_typename );
39 virtual bool construct( EVENT::LCCollection * ) = 0;
48 virtual CLHEP::Hep3Vector
get_field_value(
const CLHEP::Hep3Vector & ) = 0;
60 CLHEP::Hep3Vector _field_error;
64 std::string _field_typename;
Field : A base interface to an electric or magnetic field.
Definition: Field.h:22
CLHEP::HepVector get_field_value(const CLHEP::HepVector &)
gets the field value at a specified point (in carthesian coordinates)
Definition: Field.cc:28
virtual bool construct(EVENT::LCCollection *)=0
constructs the field from an LCCollection of data objects (could be anything...
Field(std::string field_typename)
constructor
Definition: Field.cc:13
std::string get_typename()
returns the typename of the field
Definition: Field.cc:49
virtual CLHEP::Hep3Vector get_field_error()
gets the field error.
Definition: Field.cc:43
virtual Field * new_field(void)=0
returns a new field...
virtual ~Field()
destructor
Definition: Field.cc:23