Class Reference for E1039 Core & Analysis Software
|
PHFieldConfig_v1 implements field configuration information for input a field map file. More...
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/PHField/PHFieldConfig_v1.h>
Public Member Functions | |
PHFieldConfig_v1 (FieldConfigTypes field_config, const std::string &filename, double magfield_rescale=1.) | |
PHFieldConfig_v1 () | |
default constructor for ROOT file IO More... | |
virtual | ~PHFieldConfig_v1 () |
virtual PHObject * | clone () const |
Virtual copy constructor. More... | |
virtual void | identify (std::ostream &os=std::cout) const |
virtual void | Reset () |
Clear Event. More... | |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data More... | |
FieldConfigTypes | get_field_config () const |
void | set_field_config (FieldConfigTypes fieldConfig) |
const std::string & | get_filename () const |
void | set_filename (const std::string &filename) |
double | get_magfield_rescale () const |
void | set_magfield_rescale (double magfieldRescale) |
![]() | |
virtual | ~PHFieldConfig () |
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 More... | |
virtual void | set_field_mag_x (double fieldMagX) |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2 More... | |
virtual double | get_field_mag_y () const |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2 More... | |
virtual void | set_field_mag_y (double fieldMagY) |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2 More... | |
virtual double | get_field_mag_z () const |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2 More... | |
virtual void | set_field_mag_z (double fieldMagZ) |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2 More... | |
virtual const std::string & | get_filename1 () const |
field value in Tesla for target field model ONLY for PHFieldConfig_v3 More... | |
virtual const std::string & | get_filename2 () const |
virtual double | get_magfield_rescale1 () const |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v3 More... | |
virtual double | get_magfield_rescale2 () const |
field value in Tesla for uniform field model ONLY for PHFieldConfig_v3 More... | |
virtual void | set_taregetmag_y (double fieldMagX) |
field value in Tesla for target field model ONLY for PHFieldConfig_v3 More... | |
virtual double | get_taregetmag_y () const |
field value in Tesla for target field model ONLY for PHFieldConfig_v3 More... | |
![]() | |
PHObject () | |
ctor More... | |
virtual | ~PHObject () |
dtor More... | |
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 |
void | SplitLevel (const int i) |
int | SplitLevel () const |
void | BufferSize (const int i) |
int | BufferSize () const |
Protected Attributes | |
FieldConfigTypes | field_config_ |
std::string | filename_ |
double | magfield_rescale_ |
Additional Inherited Members | |
![]() | |
enum | FieldConfigTypes { kFieldUniform = 0 , kField2D = 2 , kField3DCylindrical = 3 , kField3DCartesian = 1 , RegionalConst = 4 , kFieldSeaQuest = 5 , kFieldInvalid = 9999 } |
![]() | |
PHFieldConfig () | |
pure virtual interface class. not for direct use More... | |
![]() | |
static const std::string | kInvalid_FileName |
PHFieldConfig_v1 implements field configuration information for input a field map file.
Definition at line 19 of file PHFieldConfig_v1.h.
PHFieldConfig_v1::PHFieldConfig_v1 | ( | FieldConfigTypes | field_config, |
const std::string & | filename, | ||
double | magfield_rescale = 1. |
||
) |
Definition at line 23 of file PHFieldConfig_v1.cc.
|
inline |
default constructor for ROOT file IO
Definition at line 29 of file PHFieldConfig_v1.h.
References PHFieldConfig::kFieldInvalid, and PHFieldConfig_v1().
Referenced by clone(), and PHFieldConfig_v1().
|
virtual |
Definition at line 32 of file PHFieldConfig_v1.cc.
|
virtual |
Virtual copy constructor.
Reimplemented from PHObject.
Definition at line 38 of file PHFieldConfig_v1.cc.
References PHFieldConfig_v1().
|
inlinevirtual |
Reimplemented from PHFieldConfig.
Definition at line 51 of file PHFieldConfig_v1.h.
References field_config_.
Referenced by identify().
|
inlinevirtual |
Reimplemented from PHFieldConfig.
Definition at line 60 of file PHFieldConfig_v1.h.
References filename_.
Referenced by identify().
|
inlinevirtual |
Reimplemented from PHFieldConfig.
Definition at line 70 of file PHFieldConfig_v1.h.
References magfield_rescale_.
Referenced by identify().
|
virtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHFieldConfig.
Definition at line 46 of file PHFieldConfig_v1.cc.
References get_field_config(), PHFieldConfig::get_field_config_description(), get_filename(), get_magfield_rescale(), and isValid().
|
virtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHFieldConfig.
Definition at line 66 of file PHFieldConfig_v1.cc.
References filename_.
Referenced by identify().
|
virtual |
|
inlinevirtual |
Reimplemented from PHFieldConfig.
Definition at line 55 of file PHFieldConfig_v1.h.
References field_config_.
|
inlinevirtual |
Reimplemented from PHFieldConfig.
Definition at line 65 of file PHFieldConfig_v1.h.
References filename_.
|
inlinevirtual |
Reimplemented from PHFieldConfig.
Definition at line 75 of file PHFieldConfig_v1.h.
References magfield_rescale_.
|
protected |
Definition at line 81 of file PHFieldConfig_v1.h.
Referenced by get_field_config(), and set_field_config().
|
protected |
Definition at line 82 of file PHFieldConfig_v1.h.
Referenced by get_filename(), isValid(), and set_filename().
|
protected |
Definition at line 83 of file PHFieldConfig_v1.h.
Referenced by get_magfield_rescale(), and set_magfield_rescale().