Typedefs | |
| typedef std::vector < PhotonNormalPair > | IntersectionList |
| typedef std::vector< utl::Photon > | PhotonList |
| typedef std::pair< utl::Photon, utl::Vector > | PhotonNormalPair |
Functions | |
| void | Absorption (const utl::Photon &photonIn, const double filterAbsorptionFactor, utl::Photon &photonOut) |
| void | Absorption (const utl::Photon &photonIn, const double mirrorAbsorptionFactorTop, const double mirrorAbsorptionFactorBot, const double verticalPosOnMirror, utl::Photon &photonOut, const double mirrorSize) |
| void | Cubic (const double a0, const double a1, const double a2, const double a3, std::vector< double > &roots) |
| void | Cubic (const double a0, const double a1, const double a2, const double a3, vector< double > &roots) |
| int | CurvedLensSurface (const utl::Point &origin, const utl::Vector &inwards, const double torusRadius, const double tubeRadius, const utl::Photon &photonIn, const utl::Photon &photonLens) |
| Vector | LambertDiffusion (utl::RandomEngine &rndm, const Vector &rayIn, const Vector &normal, const double amountOfStrayLight, const double MaxTheta) |
| Vector | MirrorDiffusion (utl::RandomEngine &rndm, const Vector &specularDir, const utl::TabulatedFunction *mirrorDiffusionTop, const utl::TabulatedFunction *mirrorDiffusionBot, const double verticalPosOnMirror) |
| double | Plane (const utl::Point &point, const utl::Vector &normal, const utl::Photon &photonIn, utl::Photon &photonOut) |
| void | Quartic (const double a0, const double a1, const double a2, const double a3, const double a4, std::vector< double > &roots) |
| void | Quartic (const double a0, const double a1, const double a2, const double a3, const double a4, vector< double > &roots) |
| Vector | RandomFacet (utl::RandomEngine &rndm, const Vector &normalIn, const double sigma_alpha, const Vector &rayIn) |
| Vector | RandomNormal (utl::RandomEngine &rndm, const Vector &normalIn, const double sigma_alpha) |
| void | 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) |
| bool | Sphere (const Point &origin, const double radius, const utl::Photon &photonIn, IntersectionList &intersection) |
| void | Torus (const utl::Point &origin, const utl::Vector &inwards, const double torusRadius, const double tubeRadius, const utl::Photon &photonIn, IntersectionList &intersections) |
| Vector | TorusNormal (const utl::Point &origin, const utl::Vector &inwards, const utl::Point &point, const double torusRadius, const double tubeRadius) |
| typedef std::vector<PhotonNormalPair> TelescopeSimulatorKG2::RTFunctions::IntersectionList |
Definition at line 47 of file /RTFunctions.h.
| typedef std::vector<utl::Photon> TelescopeSimulatorKG2::RTFunctions::PhotonList |
Definition at line 35 of file /RTFunctions.h.
| typedef std::pair<utl::Photon, utl::Vector> TelescopeSimulatorKG2::RTFunctions::PhotonNormalPair |
Definition at line 46 of file /RTFunctions.h.
| void TelescopeSimulatorKG2::RTFunctions::Absorption | ( | const utl::Photon & | photonIn, |
| const double | filterAbsorptionFactor, | ||
| utl::Photon & | photonOut | ||
| ) |
Definition at line 49 of file /RTFunctions.cc.
References utl::Photon::GetWeight(), and utl::Photon::SetWeight().
Referenced by TelescopeSimulatorKG2::Filter::Trace(), and TelescopeSimulatorKG2::Mirror::Trace().
| void TelescopeSimulatorKG2::RTFunctions::Absorption | ( | const utl::Photon & | photonIn, |
| const double | mirrorAbsorptionFactorTop, | ||
| const double | mirrorAbsorptionFactorBot, | ||
| const double | verticalPosOnMirror, | ||
| utl::Photon & | photonOut, | ||
| const double | mirrorSize | ||
| ) |
Definition at line 64 of file /RTFunctions.cc.
References utl::Photon::GetWeight(), and utl::Photon::SetWeight().
| void TelescopeSimulatorKG2::RTFunctions::Cubic | ( | const double | a0, |
| const double | a1, | ||
| const double | a2, | ||
| const double | a3, | ||
| std::vector< double > & | roots | ||
| ) |
| void TelescopeSimulatorKG2::RTFunctions::Cubic | ( | const double | a0, |
| const double | a1, | ||
| const double | a2, | ||
| const double | a3, | ||
| vector< double > & | roots | ||
| ) |
| int TelescopeSimulatorKG2::RTFunctions::CurvedLensSurface | ( | const utl::Point & | origin, |
| const utl::Vector & | inwards, | ||
| const double | torusRadius, | ||
| const double | tubeRadius, | ||
| const utl::Photon & | photonIn, | ||
| const utl::Photon & | photonLens | ||
| ) |
| utl::Vector TelescopeSimulatorKG2::RTFunctions::LambertDiffusion | ( | utl::RandomEngine & | rndm, |
| const Vector & | rayIn, | ||
| const Vector & | normal, | ||
| const double | amountOfStrayLight, | ||
| const double | MaxTheta | ||
| ) |
Definition at line 659 of file /RTFunctions.cc.
References utl::degree, utl::BasicVector< HepVector >::GetCoordinateSystem(), utl::RandomEngine::GetEngine(), utl::BasicVector< HepVector >::GetPhi(), utl::BasicVector< HepVector >::GetTheta(), utl::BasicVector< HepVector >::kSpherical, std::pow(), utl::TransformerConstructor< Policy >::RotationY(), utl::TransformerConstructor< Policy >::RotationZ(), and sqrt().
Referenced by TelescopeSimulatorKG2::Filter::Trace(), TelescopeSimulatorKG2::Camera::TraceMerc(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
| utl::Vector TelescopeSimulatorKG2::RTFunctions::MirrorDiffusion | ( | utl::RandomEngine & | rndm, |
| const Vector & | specularDir, | ||
| const utl::TabulatedFunction * | mirrorDiffusionTop, | ||
| const utl::TabulatedFunction * | mirrorDiffusionBot, | ||
| const double | verticalPosOnMirror | ||
| ) |
Definition at line 710 of file /RTFunctions.cc.
References utl::deg, utl::BasicVector< HepVector >::GetCoordinateSystem(), utl::RandomEngine::GetEngine(), utl::BasicVector< HepVector >::GetPhi(), utl::BasicVector< HepVector >::GetTheta(), utl::kPi, utl::BasicVector< HepVector >::kSpherical, utl::TransformerConstructor< Policy >::RotationY(), utl::TransformerConstructor< Policy >::RotationZ(), and utl::TabulatedFunction::Y().
Referenced by TelescopeSimulatorKG2::Mirror::Trace().
| double TelescopeSimulatorKG2::RTFunctions::Plane | ( | const utl::Point & | point, |
| const utl::Vector & | normal, | ||
| const utl::Photon & | photonIn, | ||
| utl::Photon & | photonOut | ||
| ) |
Definition at line 81 of file /RTFunctions.cc.
References RdGeoCeLDFFitter::a, RdGeoCeLDFFitter::b, utl::Photon::GetDirection(), utl::Photon::GetPosition(), and utl::Photon::SetPosition().
Referenced by TelescopeSimulatorKG2::Filter::Trace(), TelescopeSimulatorKG2::Camera::TraceMerc(), TelescopeSimulatorKG2::Camera::TraceShadow(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
| void TelescopeSimulatorKG2::RTFunctions::Quartic | ( | const double | a0, |
| const double | a1, | ||
| const double | a2, | ||
| const double | a3, | ||
| const double | a4, | ||
| std::vector< double > & | roots | ||
| ) |
| void TelescopeSimulatorKG2::RTFunctions::Quartic | ( | const double | a0, |
| const double | a1, | ||
| const double | a2, | ||
| const double | a3, | ||
| const double | a4, | ||
| vector< double > & | roots | ||
| ) |
| utl::Vector TelescopeSimulatorKG2::RTFunctions::RandomFacet | ( | utl::RandomEngine & | rndm, |
| const Vector & | normalIn, | ||
| const double | sigma_alpha, | ||
| const Vector & | rayIn | ||
| ) |
Definition at line 607 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().
| utl::Vector TelescopeSimulatorKG2::RTFunctions::RandomNormal | ( | utl::RandomEngine & | rndm, |
| const Vector & | normalIn, | ||
| const double | sigma_alpha | ||
| ) |
Definition at line 563 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().
| void TelescopeSimulatorKG2::RTFunctions::Reflection | ( | const utl::Photon & | photonIn, |
| const Vector & | normal, | ||
| utl::Photon & | photonOut | ||
| ) |
Definition at line 33 of file /RTFunctions.cc.
References utl::Photon::GetDirection(), and utl::Photon::SetDirection().
Referenced by TelescopeSimulatorKG2::Mirror::Trace(), and TelescopeSimulatorKG2::Camera::TraceMerc().
| int TelescopeSimulatorKG2::RTFunctions::Refraction | ( | const double | n12, |
| const utl::Photon & | photonIn, | ||
| const Vector & | normal, | ||
| PhotonList & | photonsOut | ||
| ) |
Definition at line 104 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 TelescopeSimulatorKG2::Filter::Trace(), TelescopeSimulatorKG2::Camera::Trace(), TelescopeSimulatorKG2::Camera::TraceMerc(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
| bool TelescopeSimulatorKG2::RTFunctions::Sphere | ( | const Point & | origin, |
| const double | radius, | ||
| const utl::Photon & | photonIn, | ||
| IntersectionList & | intersection | ||
| ) |
Definition at line 187 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 TelescopeSimulatorKG2::Mirror::Trace(), TelescopeSimulatorKG2::Camera::TraceShadow(), and TelescopeSimulatorKG2::Camera::TraceSurf().
| void TelescopeSimulatorKG2::RTFunctions::Torus | ( | const utl::Point & | origin, |
| const utl::Vector & | inwards, | ||
| const double | torusRadius, | ||
| const double | tubeRadius, | ||
| const utl::Photon & | photonIn, | ||
| IntersectionList & | intersections | ||
| ) |
Definition at line 260 of file /RTFunctions.cc.
References utl::Photon::GetDirection(), utl::Vector::GetMag2(), utl::Photon::GetPosition(), G4StationSimulatorOG::p, Quartic(), utl::Photon::SetPosition(), and TorusNormal().
Referenced by TestTorusKG::TestTorus::Run(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
| utl::Vector TelescopeSimulatorKG2::RTFunctions::TorusNormal | ( | const utl::Point & | origin, |
| const utl::Vector & | inwards, | ||
| const utl::Point & | point, | ||
| const double | torusRadius, | ||
| const double | tubeRadius | ||
| ) |
Definition at line 239 of file /RTFunctions.cc.
References utl::Vector::GetMag(), and G4StationSimulatorOG::p.
Referenced by Torus(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().