32 switch (get_field_config())
35 return "Uniform field";
38 return "2D field map expressed in cylindrical coordinates";
40 case kField3DCylindrical:
41 return "3D field map expressed in cylindrical coordinates";
43 case kField3DCartesian:
44 return "3D field map expressed in Cartesian coordinates";
47 return "RegionalConst Field";
50 return "SeaQuest Field: 2 3D Cartesian";
53 return "Invalid Field";
62 os <<
"PHFieldConfig::identify - isValid() = " << isValid() << endl;
87 return kInvalid_FileName;
96 return std::numeric_limits<double>::signaling_NaN();
106 return std::numeric_limits<double>::signaling_NaN();
113 return std::numeric_limits<double>::signaling_NaN();
120 return std::numeric_limits<double>::signaling_NaN();
131 return std::numeric_limits<double>::signaling_NaN();
142 return std::numeric_limits<double>::signaling_NaN();
154 return std::numeric_limits<double>::signaling_NaN();
virtual double get_taregetmag_y() const
field value in Tesla for target field model ONLY for PHFieldConfig_v3
std::string get_field_config_description() const
virtual void identify(std::ostream &os=std::cout) const
virtual void set_field_mag_z(double fieldMagZ)
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2
virtual double get_magfield_rescale1() const
field value in Tesla for uniform field model ONLY for PHFieldConfig_v3
virtual void set_magfield_rescale(double magfieldRescale)
virtual void Reset()
Clear Event.
virtual void set_field_mag_x(double fieldMagX)
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2
virtual double get_field_mag_x() const
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 FieldConfigTypes get_field_config() const
virtual double get_magfield_rescale() const
virtual void set_filename(const std::string &filename)
PHFieldConfig()
pure virtual interface class. not for direct use
virtual const std::string & get_filename() const
virtual double get_magfield_rescale2() const
field value in Tesla for uniform field model ONLY for PHFieldConfig_v3
virtual void set_field_config(FieldConfigTypes fieldConfig)
virtual double get_field_mag_y() const
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2
virtual void set_taregetmag_y(double fieldMagX)
field value in Tesla for target field model ONLY for PHFieldConfig_v3
virtual int isValid() const
isValid returns non zero if object contains vailid data
virtual void set_field_mag_y(double fieldMagY)
field value in Tesla for uniform field model ONLY for PHFieldConfig_v2
static const std::string kInvalid_FileName