13 #include <TGeoManager.h>
14 #include <TGeoVolume.h>
25 const std::string& filename1,
26 const std::string& filename2,
29 const double targetmag_y) :
30 field_config_(kFieldSeaQuest),
31 filename1_(filename1),
32 filename2_(filename2),
35 _taregetmag_y(targetmag_y)
39 cout <<
"PHFieldConfig_v3::PHFieldConfig_v3:" << endl;
40 cout <<
" from file1 [" << filename1 <<
"]" << endl;
41 cout <<
" and file2 [" << filename2 <<
"]" << endl;
42 cout <<
"scale1: " << setprecision(5) <<
scale1_ <<
", scale2: " << setprecision(5) <<
scale2_ <<
", targetmag_y: " <<
_taregetmag_y << endl;
62 os <<
"PHFieldConfig_v3::identify -";
const std::string & get_filename1() const
field value in Tesla for target field model ONLY for PHFieldConfig_v3
virtual void Reset()
Clear Event.
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
virtual PHObject * clone() const
Virtual copy constructor.
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()
PHFieldConfig_v3()
default constructor for ROOT file IO
std::string get_field_config_description() const