#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 "DrcPhoton.h" #include "DrcOptReflAbs.h" #include "DrcSurfAbs.h" #include "DrcOptMatAbs.h" #include "DrcOptDev.h" //---------------------------------------------------------------------- DrcSurfAbs::DrcSurfAbs() { m_name = "unnamed DrcSurfAbs"; m_verbosity = 0; m_coupledFlag = false; m_printColor = 1;//black m_reflectivity = 0; m_copyNumber = 0; m_pixel = false; } //---------------------------------------------------------------------- DrcSurfAbs::~DrcSurfAbs() { delete m_reflectivity; } //---------------------------------------------------------------------- void DrcSurfAbs::copy(const DrcSurfAbs& s) { m_copyNumber = s.m_copyNumber; m_coupledFlag = false; // no coupled lists if (s.m_verbosity>=5) cout<<" DrcSurfAbs:copy: clear couplings."<clone(); m_pixel = s.m_pixel; } //---------------------------------------------------------------------- DrcSurfAbs::DrcSurfAbs(const DrcSurfAbs& s) { if (s.m_verbosity>=1) cout<<" DrcSurfAbs::DrcSurfAbs" <<"(const DrcSurfAbs&) name,copy: " <=1) cout<<" DrcSurfAbs::operator=" <<"(const DrcSurfAbs&) name,copy: " <=3) { cout<<" DrcSurfAbs::setCoupled"<=4) cout<<" set coupling for "<name()<=3) cout<<" DrcSurfAbs::setReflectivity() name="<