#include using std::cout; using std::cerr; using std::cin; using std::endl; #include using std::valarray; #include using std::fstream; #include using std::string; #include using std::list; #include "TObject.h" #include "TVector3.h" #include "TRandom.h" #include "Math/Vector3D.h" using ROOT::Math::XYZVector; #include "Math/Point3D.h" using ROOT::Math::XYZPoint; #include "Math/Transform3D.h" using ROOT::Math::Transform3D; #include "Math/RotationX.h" using ROOT::Math::RotationX; #include "Math/RotationY.h" using ROOT::Math::RotationY; #include "Math/RotationZ.h" using ROOT::Math::RotationZ; #include "Math/Rotation3D.h" using ROOT::Math::Rotation3D; #include "PndDrcPhoton.h" #include "PndDrcOptReflAbs.h" #include "PndDrcSurfAbs.h" #include "PndDrcOptMatAbs.h" #include "PndDrcOptDev.h" //---------------------------------------------------------------------- PndDrcSurfAbs::PndDrcSurfAbs() { m_name = "unnamed PndDrcSurfAbs"; m_verbosity = 0; m_coupledFlag = false; m_printColor = 1;//black m_reflectivity = 0; m_copyNumber = 0; m_pixel = false; m_internal = false; } //---------------------------------------------------------------------- PndDrcSurfAbs::~PndDrcSurfAbs() { delete m_reflectivity; } //---------------------------------------------------------------------- void PndDrcSurfAbs::copy(const PndDrcSurfAbs& s) { m_copyNumber = s.m_copyNumber; m_coupledFlag = false; // no coupled lists if (s.m_verbosity>=5) cout<<" PndDrcSurfAbs:copy: clear couplings."<clone(); m_pixel = s.m_pixel; m_internal = s.m_internal; } //---------------------------------------------------------------------- PndDrcSurfAbs::PndDrcSurfAbs(const PndDrcSurfAbs& s) { if (s.m_verbosity>=1) cout<<" PndDrcSurfAbs::PndDrcSurfAbs" <<"(const PndDrcSurfAbs&) name,copy: " <=1) cout<<" PndDrcSurfAbs::operator=" <<"(const PndDrcSurfAbs&) name,copy: " <=3) { cout<<" PndDrcSurfAbs::setCoupled"<=4) cout<<" set coupling for "<name()<=3) cout<<" PndDrcSurfAbs::setReflectivity() name="<