1 #ifndef CGAMAGNETICFIELD_H
2 #define CGAMAGNETICFIELD_H 1
8 #include <CLHEP/Matrix/Vector.h>
27 class CGAElectricField;
53 virtual bool construct( lcio::LCCollection * );
73 static bool _cga_initialized;
80 #endif // CGAMAGNETICFIELD_H
virtual bool construct(lcio::LCCollection *)
constructs the field from an LCCollection of data objects (could be anything...
std::string get_typename()
returns the typename of the field
Field : A base interface to an electric or magnetic field.
Definition: Field.h:22
CGAMagneticField : A magnetic field which gets it's values from Mokka through CGA (Common Geometry Ac...
Definition: CGAMagneticField.h:36
CLHEP::Hep3Vector get_field_value(const CLHEP::Hep3Vector &)
gets the field value at a specified point
GEARElectricField : An electric field which gets it's values from Mokka through CGA (Common Geometry ...
Definition: CGAElectricField.h:31
virtual Field * new_field(void)
returns a new field...
virtual ~CGAMagneticField()
destructor
CGAMagneticField(lcio::LCRunHeader *run_header)
constructor