11 #ifndef PHFieldConfig_H_
12 #define PHFieldConfig_H_
28 identify(std::ostream& os = std::cout)
const;
PHFieldConfig store field configuration information.
virtual double get_taregetmag_y() const
field value in Tesla for target field model ONLY for PHFieldConfig_v3
@ kFieldUniform
Constant field.
@ kField2D
2D field map expressed in cylindrical coordinates
@ kField3DCartesian
3D field map expressed in Cartesian coordinates
@ kField3DCylindrical
3D field map expressed in cylindrical coordinates
@ kFieldInvalid
invalid value
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)
virtual const std::string & get_filename2() const
PHFieldConfig()
pure virtual interface class. not for direct use
virtual const std::string & get_filename() const
virtual const std::string & get_filename1() const
field value in Tesla for target field model ONLY for PHFieldConfig_v3
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