Typedefs | |
typedef std::vector < PhotonNormalPair > | IntersectionList |
typedef std::vector< utl::Photon > | PhotonList |
typedef std::pair< utl::Photon, utl::Vector > | PhotonNormalPair |
Functions | |
double | Plane (const utl::Point &point, const utl::Vector &normal, const utl::Photon &photonIn, utl::Photon &photonOut) |
Vector | RandomNormal (utl::RandomEngine &rndm, const Vector &normalIn, double sigma_alpha, const Vector &rayIn) |
int | Reflection (const utl::Photon &photonIn, const Vector &normal, utl::Photon &photonOut) |
int | Refraction (const double n12, const utl::Photon &photonIn, const Vector &normal, PhotonList &photonsOut) |
int | Sphere (const Point &origin, const double radius, const utl::Photon &photonIn, IntersectionList &intersection) |
typedef std::vector<PhotonNormalPair> TelescopeSimulatorKG::RTFunctions::IntersectionList |
Definition at line 28 of file RTFunctions.h.
typedef std::vector<utl::Photon> TelescopeSimulatorKG::RTFunctions::PhotonList |
Definition at line 21 of file RTFunctions.h.
typedef std::pair<utl::Photon, utl::Vector> TelescopeSimulatorKG::RTFunctions::PhotonNormalPair |
Definition at line 27 of file RTFunctions.h.
double TelescopeSimulatorKG::RTFunctions::Plane | ( | const utl::Point & | point, |
const utl::Vector & | normal, | ||
const utl::Photon & | photonIn, | ||
utl::Photon & | photonOut | ||
) |
Definition at line 41 of file RTFunctions.cc.
References RdGeoCeLDFFitter::a, RdGeoCeLDFFitter::b, utl::Photon::GetDirection(), utl::Photon::GetPosition(), and utl::Photon::SetPosition().
Referenced by mdet::Scintillator::ComputeGroundPlane(), mdet::Scintillator::ComputePlaneHelper(), TelescopeSimulatorKG2::Filter::Filter(), utl::Line::GetPerpendicularPlane(), sdet::SDenseStationListXMLManager::DenseStations::Init(), ShowerInventorNS::ShowerInventor::Run(), testGeometryUtilities::testLinePlaneIntersection1(), testGeometryUtilities::testPerpendicularProjection(), testGeometryUtilities::testPlanePlaneIntersection1(), testGeometryUtilities::testPlanePlaneIntersection2(), testGeometryUtilities::testPlanePlaneIntersection3(), TelescopeSimulatorKG::Filter::Trace(), TelescopeSimulatorKG::Camera::TraceMerc(), and TelescopeSimulatorKG::Camera::TraceShadow().
utl::Vector TelescopeSimulatorKG::RTFunctions::RandomNormal | ( | utl::RandomEngine & | rndm, |
const Vector & | normalIn, | ||
double | sigma_alpha, | ||
const Vector & | rayIn | ||
) |
Definition at line 210 of file RTFunctions.cc.
References utl::BasicVector< HepVector >::GetCoordinateSystem(), utl::RandomEngine::GetEngine(), utl::BasicVector< HepVector >::GetPhi(), utl::BasicVector< HepVector >::GetTheta(), utl::kPi, utl::TransformerConstructor< Policy >::RotationY(), and utl::TransformerConstructor< Policy >::RotationZ().
Referenced by TelescopeSimulatorKG::Filter::Trace().
int TelescopeSimulatorKG::RTFunctions::Reflection | ( | const utl::Photon & | photonIn, |
const Vector & | normal, | ||
utl::Photon & | photonOut | ||
) |
Definition at line 29 of file RTFunctions.cc.
References utl::Photon::GetDirection(), and utl::Photon::SetDirection().
Referenced by TelescopeSimulatorKG::Mirror::Trace(), and TelescopeSimulatorKG::Camera::TraceMerc().
int TelescopeSimulatorKG::RTFunctions::Refraction | ( | const double | n12, |
const utl::Photon & | photonIn, | ||
const Vector & | normal, | ||
PhotonList & | photonsOut | ||
) |
Definition at line 61 of file RTFunctions.cc.
References utl::Photon::GetDirection(), utl::Vector::GetMag2(), utl::Photon::GetWeight(), std::pow(), utl::Photon::SetDirection(), utl::Photon::SetWeight(), and sqrt().
Referenced by TelescopeSimulatorKG::Filter::Trace(), TelescopeSimulatorKG::Camera::Trace(), and TelescopeSimulatorKG::Lens::Trace().
int TelescopeSimulatorKG::RTFunctions::Sphere | ( | const Point & | origin, |
const double | radius, | ||
const utl::Photon & | photonIn, | ||
IntersectionList & | intersection | ||
) |
Definition at line 142 of file RTFunctions.cc.
References utl::Photon::GetDirection(), utl::Vector::GetMag2(), utl::Photon::GetPosition(), max, utl::Vector::Normalize(), utl::Photon::SetPosition(), and sqrt().
Referenced by TelescopeSimulatorKG::Mirror::Trace(), TelescopeSimulatorKG::Camera::TraceShadow(), and TelescopeSimulatorKG::Camera::TraceSurf().