11 #ifndef PHFieldConfig_v3_H_
12 #define PHFieldConfig_v3_H_
23 const std::string& filename1,
24 const std::string& filename2,
25 const double scale1 = 1.0,
26 const double scale2 = 1.0,
27 const double targetmag_y = 5.0);
42 identify(std::ostream& os = std::cout)
const;
PHFieldConfig_v3 implements field configuration information for input a field map file.
const std::string & get_filename1() const
field value in Tesla for target field model ONLY for PHFieldConfig_v3
virtual void Reset()
Clear Event.
void set_filename1(const std::string &filename)
virtual int isValid() const
isValid returns non zero if object contains vailid data
const std::string & get_filename2() const
virtual void identify(std::ostream &os=std::cout) const
FieldConfigTypes get_field_config() const
virtual PHObject * clone() const
Virtual copy constructor.
void set_field_config(FieldConfigTypes fieldConfig)
double get_magfield_rescale2() const
field value in Tesla for uniform field model ONLY for PHFieldConfig_v3
double get_magfield_rescale1() const
field value in Tesla for uniform field model ONLY for PHFieldConfig_v3
double get_taregetmag_y() const
field value in Tesla for target field model ONLY for PHFieldConfig_v3
virtual ~PHFieldConfig_v3()
void set_taregetmag_y(double taregetmagY)
field value in Tesla for target field model ONLY for PHFieldConfig_v3
PHFieldConfig_v3()
default constructor for ROOT file IO
void set_filename2(const std::string &filename)
FieldConfigTypes field_config_
PHFieldConfig store field configuration information.