DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::SolenoidField Class Reference

Implementation object of a solenoidal magnetic field. More...

#include <FieldTypes.h>

Inheritance diagram for dd4hep::SolenoidField:
dd4hep::CartesianField::Object dd4hep::CartesianField::TypedObject dd4hep::NamedObject

Public Member Functions

 SolenoidField ()
 Initializing constructor. More...
 
virtual void fieldComponents (const double *pos, 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...
 
NamedObjectoperator= (const NamedObject &c)=default
 Assignment operator. More...
 
NamedObjectoperator= (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

double innerField
 
double outerField
 
double minZ
 
double maxZ
 
double innerRadius
 
double outerRadius
 
- 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...
 

Detailed Description

Implementation object of a solenoidal magnetic field.

Generic solonoid magnetic field

Author
M.Frank
Version
1.0

Definition at line 53 of file FieldTypes.h.

Constructor & Destructor Documentation

◆ SolenoidField()

SolenoidField::SolenoidField ( )

Initializing constructor.

Definition at line 48 of file FieldTypes.cpp.

Member Function Documentation

◆ fieldComponents()

void SolenoidField::fieldComponents ( const double *  pos,
double *  field 
)
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 55 of file FieldTypes.cpp.

Member Data Documentation

◆ innerField

double dd4hep::SolenoidField::innerField

Definition at line 55 of file FieldTypes.h.

◆ innerRadius

double dd4hep::SolenoidField::innerRadius

Definition at line 59 of file FieldTypes.h.

◆ maxZ

double dd4hep::SolenoidField::maxZ

Definition at line 58 of file FieldTypes.h.

◆ minZ

double dd4hep::SolenoidField::minZ

Definition at line 57 of file FieldTypes.h.

◆ outerField

double dd4hep::SolenoidField::outerField

Definition at line 56 of file FieldTypes.h.

◆ outerRadius

double dd4hep::SolenoidField::outerRadius

Definition at line 60 of file FieldTypes.h.


The documentation for this class was generated from the following files: