#include <Photon.h>
Public Member Functions | |
const utl::Vector & | GetDirection () const |
const utl::Point & | GetPosition () const |
int | GetSource () const |
source of the photons. Should use Eye::LightSource enum types More... | |
utl::TimeInterval | GetTime () const |
double | GetWavelength () const |
double | GetWeight () const |
weight assigned to the photon More... | |
Photon ()=default | |
Photon (const utl::Point &p, const utl::Vector &n, const double lambda, const double weight, const int source=0) | |
void | SetDirection (const utl::Vector &v) |
void | SetPosition (const utl::Point &p) |
void | SetSource (const int source) |
void | SetTime (const utl::TimeInterval &t) |
void | SetWavelength (const double wl) |
void | SetWeight (const double w) |
source of the photons. Should use Eye::LightSource enum types More... | |
Private Attributes | |
utl::Vector | fDirection |
utl::Point | fPosition |
int | fSource = 0 |
utl::TimeInterval | fTime |
double | fWavelength = 0 |
double | fWeight = 0 |
|
default |
|
inline |
|
inline |
Definition at line 26 of file Photon.h.
References fDirection.
Referenced by MultipleScatterer::AddPhotons(), TelescopeSimulatorKG::RTFunctions::Plane(), TelescopeSimulatorKG2::RTFunctions::Plane(), TelescopeSimulatorKG::RTFunctions::Reflection(), TelescopeSimulatorKG2::RTFunctions::Reflection(), TelescopeSimulatorKG::RTFunctions::Refraction(), TelescopeSimulatorKG2::RTFunctions::Refraction(), TelescopeSimulatorLX::TelescopeSimulator::Run(), TelescopeSimulatorKG::RTFunctions::Sphere(), TelescopeSimulatorKG2::RTFunctions::Sphere(), TelescopeSimulatorKG2::RTFunctions::Torus(), TelescopeSimulatorKG::Filter::Trace(), TelescopeSimulatorKG::Camera::Trace(), TelescopeSimulatorKG2::Filter::Trace(), TelescopeSimulatorKG::Lens::Trace(), TelescopeSimulatorKG2::Camera::Trace(), TelescopeSimulatorKG2::Mirror::Trace(), TelescopeSimulatorKG2::RayTracer::Trace(), TelescopeSimulatorKG2::Camera::TraceMerc(), TelescopeSimulatorKG::Camera::TraceMerc(), TelescopeSimulatorKG2::Camera::TraceShadow(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
|
inline |
Definition at line 25 of file Photon.h.
References fPosition.
Referenced by TelescopeSimulatorKG::RTFunctions::Plane(), TelescopeSimulatorKG2::RTFunctions::Plane(), TelescopeSimulatorLX::TelescopeSimulator::Run(), TelescopeSimulatorKG::RTFunctions::Sphere(), TelescopeSimulatorKG2::RTFunctions::Sphere(), TelescopeSimulatorKG2::RTFunctions::Torus(), TelescopeSimulatorKG::Camera::Trace(), TelescopeSimulatorKG2::Filter::Trace(), TelescopeSimulatorKG2::Camera::Trace(), TelescopeSimulatorKG::Lens::Trace(), TelescopeSimulatorKG::RayTracer::Trace(), TelescopeSimulatorKG2::Mirror::Trace(), TelescopeSimulatorKG2::RayTracer::Trace(), TelescopeSimulatorKG2::Camera::TraceMerc(), TelescopeSimulatorKG::Camera::TraceMerc(), TelescopeSimulatorKG2::Camera::TraceShadow(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
|
inline |
source of the photons. Should use Eye::LightSource enum types
Definition at line 24 of file Photon.h.
References fSource.
Referenced by MultipleScatterer::AddPhotons(), and TelescopeSimulatorKG2::RayTracer::Trace().
|
inline |
Definition at line 28 of file Photon.h.
References fTime.
Referenced by MultipleScatterer::AddPhotons(), FdLightCollectionEfficiencyKG::CorrectedApLightCalculator::Run(), TelescopeSimulatorLX::TelescopeSimulator::Run(), TelescopeSimulatorKG::TelescopeSimulator::Run(), TelescopeSimulatorKG2::TelescopeSimulator::Run(), and TelescopeSimulatorKG2::RayTracer::Trace().
|
inline |
Definition at line 27 of file Photon.h.
References fWavelength.
Referenced by MultipleScatterer::AddPhotons(), TelescopeSimulatorLX::TelescopeSimulator::Run(), TelescopeSimulatorKG::Lens::Trace(), TelescopeSimulatorKG2::Mirror::Trace(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
|
inline |
weight assigned to the photon
Definition at line 21 of file Photon.h.
References fWeight.
Referenced by TelescopeSimulatorKG2::RTFunctions::Absorption(), MultipleScatterer::AddPhotons(), TelescopeSimulatorKG::RTFunctions::Refraction(), TelescopeSimulatorKG2::RTFunctions::Refraction(), FdLightCollectionEfficiencyKG::CorrectedApLightCalculator::Run(), TelescopeSimulatorLX::TelescopeSimulator::Run(), TelescopeSimulatorKG::TelescopeSimulator::Run(), TelescopeSimulatorKG2::TelescopeSimulator::Run(), TelescopeSimulatorKG::Filter::Trace(), TelescopeSimulatorKG::Camera::Trace(), TelescopeSimulatorKG2::Filter::Trace(), TelescopeSimulatorKG::Lens::Trace(), TelescopeSimulatorKG2::Camera::Trace(), TelescopeSimulatorKG2::RayTracer::Trace(), TelescopeSimulatorKG2::Camera::TraceMerc(), TelescopeSimulatorKG::Camera::TraceMerc(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
|
inline |
Definition at line 34 of file Photon.h.
References fDirection.
Referenced by MultipleScatterer::AddPhotons(), io::Photon_ROOT::operator>>(), TelescopeSimulatorKG::RTFunctions::Reflection(), TelescopeSimulatorKG2::RTFunctions::Reflection(), TelescopeSimulatorKG::RTFunctions::Refraction(), TelescopeSimulatorKG2::RTFunctions::Refraction(), TelescopeSimulatorKG2::Filter::Trace(), TelescopeSimulatorKG2::Mirror::Trace(), TelescopeSimulatorKG2::Camera::TraceMerc(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
|
inline |
Definition at line 33 of file Photon.h.
References fPosition, and G4StationSimulatorOG::p.
Referenced by io::Photon_ROOT::operator>>(), TelescopeSimulatorKG::RTFunctions::Plane(), TelescopeSimulatorKG2::RTFunctions::Plane(), TelescopeSimulatorKG::RTFunctions::Sphere(), TelescopeSimulatorKG2::RTFunctions::Sphere(), TelescopeSimulatorKG2::RTFunctions::Torus(), TelescopeSimulatorKG::Lens::Trace(), TelescopeSimulatorKG2::Camera::TraceMerc(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
|
inline |
Definition at line 32 of file Photon.h.
References fSource.
Referenced by MultipleScatterer::AddPhotons(), io::Photon_ROOT::operator>>(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
|
inline |
Definition at line 36 of file Photon.h.
References fTime.
Referenced by MultipleScatterer::AddPhotons(), SpotPhotonGeneratorOG::SpotPhotonGenerator::DoSpot(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::EvaluateDirectCherenkovHits(), DrumPhotonGeneratorOG::DrumPhotonGenerator::GenerateDrumPhotons(), io::Photon_ROOT::operator>>(), and ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run().
|
inline |
Definition at line 35 of file Photon.h.
References fWavelength.
Referenced by io::Photon_ROOT::operator>>().
|
inline |
source of the photons. Should use Eye::LightSource enum types
Definition at line 31 of file Photon.h.
References fWeight.
Referenced by TelescopeSimulatorKG2::RTFunctions::Absorption(), MultipleScatterer::AddPhotons(), io::Photon_ROOT::operator>>(), TelescopeSimulatorKG::RTFunctions::Refraction(), TelescopeSimulatorKG2::RTFunctions::Refraction(), TelescopeSimulatorKG::Filter::Trace(), TelescopeSimulatorKG::Camera::Trace(), TelescopeSimulatorKG2::Filter::Trace(), TelescopeSimulatorKG2::Camera::Trace(), TelescopeSimulatorKG::Lens::Trace(), TelescopeSimulatorKG2::Camera::TraceMerc(), TelescopeSimulatorKG::Camera::TraceMerc(), and TelescopeSimulatorKG2::Lens::TraceWithTorus().
|
private |
Definition at line 42 of file Photon.h.
Referenced by GetDirection(), and SetDirection().
|
private |
Definition at line 41 of file Photon.h.
Referenced by GetPosition(), and SetPosition().
|
private |
Definition at line 40 of file Photon.h.
Referenced by GetSource(), and SetSource().
|
private |
|
private |
Definition at line 43 of file Photon.h.
Referenced by GetWavelength(), and SetWavelength().
|
private |
Definition at line 39 of file Photon.h.
Referenced by GetWeight(), and SetWeight().