Simulates the UV filter in the raytracing of the TelescopeSimulator module. More...
#include <Filter.h>
Public Member Functions | |
TObjArray * | Draw () |
Filter (utl::RandomEngine &rndm, const fdet::Telescope &tel) | |
RTResult | Trace (const utl::Photon &photonIn, utl::Photon &photonOut) |
brief Simulate the filter More... | |
Private Attributes | |
utl::Point | fOrigin |
double | fPosZ = 0 |
utl::RandomEngine * | fRandom = nullptr |
double | fSigRho = 0 |
utl::CoordinateSystemPtr | fTelCS |
Simulates the UV filter in the raytracing of the TelescopeSimulator module.
Definition at line 44 of file Modules/FdSimulation/TelescopeSimulatorKG/Filter.h.
Filter::Filter | ( | utl::RandomEngine & | rndm, |
const fdet::Telescope & | tel | ||
) |
Definition at line 40 of file Modules/FdSimulation/TelescopeSimulatorKG/Filter.cc.
References utl::deg, fOrigin, fPosZ, fSigRho, fTelCS, TelescopeSimulatorKG::RayTracer::GetDebugLevel(), fdet::Telescope::GetFilter(), fdet::Filter::GetSigmaNormal(), fdet::Telescope::GetTelescopeCoordinateSystem(), INFO, and utl::m.
TObjArray * Filter::Draw | ( | ) |
Definition at line 100 of file Modules/FdSimulation/TelescopeSimulatorKG/Filter.cc.
RTResult Filter::Trace | ( | const utl::Photon & | photonIn, |
utl::Photon & | photonOut | ||
) |
brief Simulate the filter
Definition at line 61 of file Modules/FdSimulation/TelescopeSimulatorKG/Filter.cc.
References TelescopeSimulatorKG::eOK, TelescopeSimulatorKG::eReflectedByFilter, fOrigin, fRandom, fSigRho, fTelCS, utl::Photon::GetDirection(), utl::Photon::GetWeight(), TelescopeSimulatorKG::RTFunctions::Plane(), TelescopeSimulatorKG::RTFunctions::RandomNormal(), TelescopeSimulatorKG::RTFunctions::Refraction(), and utl::Photon::SetWeight().
Referenced by TelescopeSimulatorKG::RayTracer::Trace().
|
private |
Definition at line 56 of file Modules/FdSimulation/TelescopeSimulatorKG/Filter.h.
|
private |
Definition at line 58 of file Modules/FdSimulation/TelescopeSimulatorKG/Filter.h.
Referenced by Filter().
|
private |
Definition at line 53 of file Modules/FdSimulation/TelescopeSimulatorKG/Filter.h.
Referenced by Trace().
|
private |
Definition at line 59 of file Modules/FdSimulation/TelescopeSimulatorKG/Filter.h.
|
private |
Definition at line 55 of file Modules/FdSimulation/TelescopeSimulatorKG/Filter.h.