DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Implementation object of a field with constant strength. More...
#include <FieldTypes.h>
Public Member Functions | |
ConstantField ()=default | |
Initializing constructor. More... | |
virtual void | fieldComponents (const double *, double *field) |
Call to access the field components at a given location. More... | |
Public Member Functions inherited from dd4hep::CartesianField::Object | |
Object () | |
Default constructor. More... | |
virtual | ~Object () |
Default destructor. More... | |
Public Member Functions inherited from dd4hep::CartesianField::TypedObject | |
NamedObject (const char *nam, const char *typ="") | |
Default constructor. More... | |
NamedObject (const std::string &nam) | |
Default constructor. More... | |
NamedObject (const std::string &nam, const std::string &typ) | |
Default constructor. More... | |
NamedObject ()=default | |
Default constructor. More... | |
NamedObject (const NamedObject &c)=default | |
Default constructor. More... | |
NamedObject (NamedObject &&c)=default | |
Default constructor. More... | |
Public Member Functions inherited from dd4hep::NamedObject | |
NamedObject (const char *nam, const char *typ="") | |
Initializing constructor. More... | |
NamedObject (const std::string &nam) | |
Initializing constructor. More... | |
NamedObject (const std::string &nam, const std::string &typ) | |
Initializing constructor. More... | |
NamedObject ()=default | |
Standard constructor. More... | |
NamedObject (const NamedObject &c)=default | |
Copy constructor. More... | |
NamedObject (NamedObject &&c)=default | |
Move constructor. More... | |
virtual | ~NamedObject ()=default |
Default destructor. More... | |
NamedObject & | operator= (const NamedObject &c)=default |
Assignment operator. More... | |
NamedObject & | operator= (NamedObject &&c)=default |
Move assignment operator. More... | |
const char * | GetName () const |
Access name. More... | |
void | SetName (const char *nam) |
Set name (used by Handle) More... | |
void | SetTitle (const char *tit) |
Set Title (used by Handle) More... | |
const char * | GetTitle () const |
Get name (used by Handle) More... | |
Public Attributes | |
Direction | direction |
Field direction. More... | |
Public Attributes inherited from dd4hep::CartesianField::Object | |
Properties | properties |
Field extensions. More... | |
Public Attributes inherited from dd4hep::CartesianField::TypedObject | |
int | field_type { UNKNOWN } |
Field type. More... | |
Public Attributes inherited from dd4hep::NamedObject | |
std::string | name |
The object name. More... | |
std::string | type |
The object type. More... | |
Additional Inherited Members | |
Public Types inherited from dd4hep::CartesianField::Object | |
typedef std::vector< double > | Coefficents |
Utility definition for concrete implementations. More... | |
Implementation object of a field with constant strength.
Generic constant uniform field
Definition at line 34 of file FieldTypes.h.
|
default |
Initializing constructor.
|
virtual |
Call to access the field components at a given location.
Compute the field components at a given location and add to given field.
Implements dd4hep::CartesianField::Object.
Definition at line 41 of file FieldTypes.cpp.
Direction dd4hep::ConstantField::direction |
Field direction.
Definition at line 37 of file FieldTypes.h.