EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
PHFieldConfigv1 implements field configuration information for input a field map file. More...
#include <fun4all_coresoftware/blob/master/offline/packages/PHField/PHFieldConfigv1.h>
Public Member Functions | |
PHFieldConfigv1 (FieldConfigTypes field_config, const std::string &filename, double magfield_rescale=1.) | |
PHFieldConfigv1 () | |
default constructor for ROOT file IO | |
~PHFieldConfigv1 () override | |
PHObject * | CloneMe () const override |
Virtual copy constructor. | |
void | identify (std::ostream &os=std::cout) const override |
void | Reset () override |
Clear Content. | |
int | isValid () const override |
isValid returns non zero if object contains vailid data | |
FieldConfigTypes | get_field_config () const override |
void | set_field_config (FieldConfigTypes fieldConfig) override |
const std::string & | get_filename () const override |
void | set_filename (const std::string &filename) override |
double | get_magfield_rescale () const override |
void | set_magfield_rescale (double magfieldRescale) override |
Public Member Functions inherited from PHFieldConfig | |
~PHFieldConfig () override | |
std::string | get_field_config_description () const |
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 * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
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 Attributes | |
FieldConfigTypes | field_config_ |
std::string | filename_ |
double | magfield_rescale_ |
Additional Inherited Members | |
Public Types inherited from PHFieldConfig | |
enum | FieldConfigTypes { kFieldUniform = 0, kField2D = 2, kField3DCylindrical = 3, kFieldBeast = 4, kFieldCleo = 5, Field3DCartesian = 1, kFieldInvalid = 9999 } |
Protected Member Functions inherited from PHFieldConfig | |
PHFieldConfig () | |
pure virtual interface class. not for direct use | |
Static Protected Attributes inherited from PHFieldConfig | |
static const std::string | kInvalid_FileName |
PHFieldConfigv1 implements field configuration information for input a field map file.
Definition at line 23 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 23 of file PHFieldConfigv1.h
PHFieldConfigv1::PHFieldConfigv1 | ( | FieldConfigTypes | field_config, |
const std::string & | filename, | ||
double | magfield_rescale = 1. |
||
) |
Definition at line 15 of file PHFieldConfigv1.cc.
View newest version in sPHENIX GitHub at line 15 of file PHFieldConfigv1.cc
|
inline |
default constructor for ROOT file IO
Definition at line 32 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 32 of file PHFieldConfigv1.h
Referenced by CloneMe().
|
inlineoverride |
Definition at line 37 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 37 of file PHFieldConfigv1.h
|
inlineoverridevirtual |
Virtual copy constructor.
Reimplemented from PHObject.
Definition at line 40 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 40 of file PHFieldConfigv1.h
References PHFieldConfigv1().
|
inlineoverridevirtual |
Reimplemented from PHFieldConfig.
Definition at line 55 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 55 of file PHFieldConfigv1.h
References field_config_.
|
inlineoverridevirtual |
Reimplemented from PHFieldConfig.
Definition at line 64 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 64 of file PHFieldConfigv1.h
References filename_.
Referenced by identify().
|
inlineoverridevirtual |
Reimplemented from PHFieldConfig.
Definition at line 74 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 74 of file PHFieldConfigv1.h
References magfield_rescale_.
Referenced by identify().
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHFieldConfig.
Definition at line 27 of file PHFieldConfigv1.cc.
View newest version in sPHENIX GitHub at line 27 of file PHFieldConfigv1.cc
References PHFieldConfig::get_field_config_description(), get_filename(), get_magfield_rescale(), and isValid().
|
overridevirtual |
isValid returns non zero if object contains vailid data
isValid returns non zero if object contains valid data
Reimplemented from PHObject.
Definition at line 44 of file PHFieldConfigv1.cc.
View newest version in sPHENIX GitHub at line 44 of file PHFieldConfigv1.cc
References filename_.
Referenced by identify().
|
inlineoverridevirtual |
Clear Content.
Reimplemented from PHObject.
Definition at line 49 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 49 of file PHFieldConfigv1.h
|
inlineoverridevirtual |
Reimplemented from PHFieldConfig.
Definition at line 59 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 59 of file PHFieldConfigv1.h
References field_config_.
|
inlineoverridevirtual |
Reimplemented from PHFieldConfig.
Definition at line 69 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 69 of file PHFieldConfigv1.h
References INPUTHEPMC::filename, and filename_.
|
inlineoverridevirtual |
Reimplemented from PHFieldConfig.
Definition at line 79 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 79 of file PHFieldConfigv1.h
References magfield_rescale_.
|
protected |
Definition at line 85 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 85 of file PHFieldConfigv1.h
Referenced by get_field_config(), and set_field_config().
|
protected |
Definition at line 86 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 86 of file PHFieldConfigv1.h
Referenced by get_filename(), isValid(), and set_filename().
|
protected |
Definition at line 87 of file PHFieldConfigv1.h.
View newest version in sPHENIX GitHub at line 87 of file PHFieldConfigv1.h
Referenced by get_magfield_rescale(), and set_magfield_rescale().