EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
PHFieldConfig store field configuration information. More...
#include <fun4all_coresoftware/blob/master/offline/packages/PHField/PHFieldConfig.h>
Public Types | |
enum | FieldConfigTypes { kFieldUniform = 0, kField2D = 2, kField3DCylindrical = 3, kFieldBeast = 4, kFieldCleo = 5, Field3DCartesian = 1, kFieldInvalid = 9999 } |
Public Member Functions | |
~PHFieldConfig () override | |
void | identify (std::ostream &os=std::cout) const override |
virtual FieldConfigTypes | get_field_config () const |
std::string | get_field_config_description () const |
virtual void | set_field_config (FieldConfigTypes) |
virtual const std::string & | get_filename () const |
virtual void | set_filename (const std::string &) |
virtual double | get_magfield_rescale () const |
virtual void | set_magfield_rescale (double) |
virtual double | get_field_mag_x () const |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2 | |
virtual void | set_field_mag_x (double) |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2 | |
virtual double | get_field_mag_y () const |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2 | |
virtual void | set_field_mag_y (double) |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2 | |
virtual double | get_field_mag_z () const |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2 | |
virtual void | set_field_mag_z (double) |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2 | |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual void | Reset () |
Clear Event. | |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | isValid (const float) const |
virtual int | isValid (const double) const |
virtual int | isValid (const int) const |
virtual int | isValid (const unsigned int) const |
virtual int | isImplemented (const float f) const |
virtual int | isImplemented (const double f) const |
virtual int | isImplemented (const int i) const |
virtual int | isImplemented (const unsigned int i) const |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Protected Member Functions | |
PHFieldConfig () | |
pure virtual interface class. not for direct use | |
Static Protected Attributes | |
static const std::string | kInvalid_FileName |
PHFieldConfig store field configuration information.
Definition at line 20 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 20 of file PHFieldConfig.h
kFieldUniform |
Constant field. |
kField2D |
2D field map expressed in cylindrical coordinates |
kField3DCylindrical |
3D field map expressed in cylindrical coordinates |
kFieldBeast |
Beast field map from https://github.com/eic/BeastMagneticField. |
kFieldCleo |
Cleo field map from https://gitlab.com/eic/escalate/g4e/-/blob/master/SolenoidMag3D.TABLE. |
Field3DCartesian |
3D field map expressed in Cartesian coordinates |
kFieldInvalid |
invalid value |
Definition at line 30 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 30 of file PHFieldConfig.h
|
inlineoverride |
Definition at line 23 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 23 of file PHFieldConfig.h
|
inlineprotected |
pure virtual interface class. not for direct use
Definition at line 82 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 82 of file PHFieldConfig.h
|
inlinevirtual |
Reimplemented in PHFieldConfigv1, and PHFieldConfigv2.
Definition at line 49 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 49 of file PHFieldConfig.h
References kFieldInvalid.
Referenced by PHFieldUtility::BuildFieldMap().
string PHFieldConfig::get_field_config_description | ( | ) | const |
Definition at line 18 of file PHFieldConfig.cc.
View newest version in sPHENIX GitHub at line 18 of file PHFieldConfig.cc
Referenced by PHFieldConfigv1::identify(), and PHFieldConfigv2::identify().
|
inlinevirtual |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2
Reimplemented in PHFieldConfigv2.
Definition at line 64 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 64 of file PHFieldConfig.h
Referenced by PHFieldUtility::BuildFieldMap().
|
inlinevirtual |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2
Reimplemented in PHFieldConfigv2.
Definition at line 70 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 70 of file PHFieldConfig.h
Referenced by PHFieldUtility::BuildFieldMap().
|
inlinevirtual |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2
Reimplemented in PHFieldConfigv2.
Definition at line 76 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 76 of file PHFieldConfig.h
Referenced by PHFieldUtility::BuildFieldMap().
|
inlinevirtual |
Reimplemented in PHFieldConfigv1.
Definition at line 55 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 55 of file PHFieldConfig.h
References kInvalid_FileName.
Referenced by PHFieldUtility::BuildFieldMap().
|
inlinevirtual |
Reimplemented in PHFieldConfigv1.
Definition at line 59 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 59 of file PHFieldConfig.h
Referenced by PHFieldUtility::BuildFieldMap().
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in PHFieldConfigv1, and PHFieldConfigv2.
Definition at line 48 of file PHFieldConfig.cc.
View newest version in sPHENIX GitHub at line 48 of file PHFieldConfig.cc
Referenced by PHFieldUtility::BuildFieldMap(), and PHFieldUtility::GetFieldConfigNode().
|
inlinevirtual |
Reimplemented in PHFieldConfigv1.
Definition at line 53 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 53 of file PHFieldConfig.h
|
inlinevirtual |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2
Reimplemented in PHFieldConfigv2.
Definition at line 67 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 67 of file PHFieldConfig.h
|
inlinevirtual |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2
Reimplemented in PHFieldConfigv2.
Definition at line 73 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 73 of file PHFieldConfig.h
|
inlinevirtual |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2
Reimplemented in PHFieldConfigv2.
Definition at line 78 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 78 of file PHFieldConfig.h
|
inlinevirtual |
Reimplemented in PHFieldConfigv1.
Definition at line 57 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 57 of file PHFieldConfig.h
|
inlinevirtual |
Reimplemented in PHFieldConfigv1.
Definition at line 61 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 61 of file PHFieldConfig.h
|
staticprotected |
Definition at line 84 of file PHFieldConfig.h.
View newest version in sPHENIX GitHub at line 84 of file PHFieldConfig.h
Referenced by get_filename().