|
| OverlayedField ()=default |
| Default constructor. More...
|
|
template<typename Q > |
| OverlayedField (const Handle< Q > &e) |
| Constructor to be used when reading the already parsed DOM tree. More...
|
|
| OverlayedField (const std::string &name) |
| Object constructor. More...
|
|
int | fieldType () const |
| Access the field type. More...
|
|
bool | changesEnergy () const |
| Does the field change the energy of charged particles? More...
|
|
void | add (CartesianField field) |
| Add a new field component. More...
|
|
void | combinedElectric (const Position &pos, double *field) const |
| Returns the 3 electric field components (x, y, z) if many components are present. More...
|
|
Direction | combinedElectric (const Position &pos) const |
| Returns the 3 electric field components (x, y, z) if many components are present. More...
|
|
void | combinedElectric (const double *pos, double *field) const |
| Returns the 3 electric field components (x, y, z) if many components are present. More...
|
|
void | combinedMagnetic (const Position &pos, double *field) const |
| Returns the 3 magnetic field components (x, y, z) if many components are present. More...
|
|
Direction | combinedMagnetic (const Position &pos) const |
| Returns the 3 magnetic field components (x, y, z) at a given position. More...
|
|
void | combinedMagnetic (const double *pos, double *field) const |
| Returns the 3 magnetic field components (x, y, z) if many components are present. More...
|
|
void | electricField (const Position &pos, double *field) const |
| Returns the 3 electric field components (x, y, z). More...
|
|
Direction | electricField (const Position &pos) const |
| Returns the 3 electric field components (x, y, z) at a given position. More...
|
|
void | electricField (const Position &pos, Direction &field) const |
| Returns the 3 electric field components (x, y, z). More...
|
|
void | electricField (const double *pos, double *field) const |
| Returns the 3 electric field components (x, y, z). More...
|
|
void | magneticField (const Position &pos, double *field) const |
| Returns the 3 magnetic field components (x, y, z). More...
|
|
void | magneticField (const double *pos, double *field) const |
| Returns the 3 magnetic field components (x, y, z). More...
|
|
void | magneticField (const double *pos, Direction &field) const |
| Returns the 3 magnetic field components (x, y, z). More...
|
|
Direction | magneticField (const Position &pos) const |
| Returns the 3 electric field components (x, y, z) at a given position. More...
|
|
void | electromagneticField (const Position &pos, double *field) const |
| Returns the 3 electric (val[0]-val[2]) and magnetic field components (val[3]-val[5]). More...
|
|
void | electromagneticField (const double *pos, double *val) const |
| Returns the 3 electric (val[0]-val[2]) and magnetic field components (val[3]-val[5]). More...
|
|
Properties & | properties () const |
| Access to properties container. More...
|
|
Public Member Functions inherited from dd4hep::Handle< NamedObject > |
| Handle ()=default |
| Default constructor. More...
|
|
| Handle (Handle< NamedObject > &&element)=default |
| Copy constructor. More...
|
|
| Handle (const Handle< NamedObject > &element)=default |
| Copy constructor. More...
|
|
| Handle (NamedObject *element) |
| Initializing constructor from pointer. More...
|
|
| Handle (Q *element) |
| Initializing constructor from unrelated pointer with type checking. More...
|
|
| Handle (const Handle< Q > &element) |
| Initializing constructor from unrelated handle with type checking. More...
|
|
Handle< NamedObject > & | operator= (Handle< NamedObject > &&element)=default |
| Assignment move operator. More...
|
|
Handle< NamedObject > & | operator= (const Handle< NamedObject > &element)=default |
| Assignment copy operator. More...
|
|
bool | operator== (const Handle< NamedObject > &element) const |
| Boolean operator == used for RB tree insertions. More...
|
|
bool | operator< (const Handle< NamedObject > &element) const |
| Boolean operator < used for RB tree insertions. More...
|
|
bool | operator> (const Handle< NamedObject > &element) const |
| Boolean operator > used for RB tree insertions. More...
|
|
bool | isValid () const |
| Check the validity of the object held by the handle. More...
|
|
bool | operator! () const |
| Check the validity of the object held by the handle. More...
|
|
Handle< NamedObject > & | clear () |
| Release the object held by the handle. More...
|
|
NamedObject * | operator-> () const |
| Access the held object using the -> operator. More...
|
|
| operator NamedObject & () const |
| Automatic type conversion to an object references. More...
|
|
NamedObject & | operator* () const |
| Access the held object using the * operator. More...
|
|
NamedObject * | ptr () const |
| Access to the held object. More...
|
|
Q * | _ptr () const |
| Access to an unrelated object type. More...
|
|
Q * | data () const |
| Access to an unrelated object type. More...
|
|
Q & | object () const |
| Access to an unrelated object type. More...
|
|
NamedObject * | access () const |
| Checked object access. Throws invalid handle runtime exception if invalid handle. More...
|
|
const char * | name () const |
| Access the object name (or "" if not supported by the object) More...
|
|
const char * | name () const |
|
const char * | name () const |
|
void | assign (Object *n, const std::string &nam, const std::string &title) |
| Assign a new named object. Note: object references must be managed by the user. More...
|
|
void | assign (_Segmentation *s, const std::string &n, const std::string &) |
|
void | assign (NamedObject *p, const std::string &n, const std::string &t) |
|
void | destroy () |
| Destroy the underlying object (be careful here: things are not reference counted)! More...
|
|
Class describing a field overlay with several sources.
Generic structure describing any field type (electric or magnetic) with field components in Cartesian coordinates.
The actual behaviour is solely implemented in the underlying object classes. The overlay field is the sum of several magnetic of electric field components.
The resulting field vectors are computed by the vector addition of the individual components.
- Author
- M.Frank
- Version
- 1.0
Definition at line 138 of file Fields.h.