List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
TelescopeSimulatorKG::RayTracer Class Reference

Simulates all ray tracing inside a telescope. More...

#include <RayTracer.h>

Public Member Functions

TPolyLine3D * DrawTrack (const utl::Point &p1, const utl::Point &p2, int color) const
 
 RayTracer (const fdet::Telescope &tel, utl::RandomEngine &random, bool doShadow=true, bool doShadowSupport=true, bool hasMercedes=true, bool plotPhotonTracks=false, double drawPhotonsProbabilty=0)
 
void SetCorrectorRing (bool f)
 
RTResult Trace (const utl::Photon &photonIn, utl::Photon &photonOut, int &nreflections, int &col, int &row)
 Raytracing through the telescope components. More...
 
 ~RayTracer ()
 

Static Public Member Functions

static int GetDebugLevel ()
 
static void SetDebugLevel (int l)
 

Private Member Functions

RayTraceroperator= (const RayTracer &)
 
 RayTracer ()
 
 RayTracer (const RayTracer &)
 

Private Attributes

CamerafCamera
 
bool fDoShadow
 
bool fDoShadowSupport
 
double fDrawPhotonProbability
 
FilterfFilter
 
bool fHasCorrectorRing
 
bool fHasMercedes
 
LensfLens
 
MirrorfMirror
 
TObjArray * fObjectsPhotons
 
bool fPlotPhotonTracks
 
const utl::RandomEnginefRandom
 
const fdet::TelescopefTel
 

Static Private Attributes

static int fgDebugLevel = 0
 

Detailed Description

Simulates all ray tracing inside a telescope.

Author
Ralf Ulrich
Date
Mon Apr 24 23:27:58 ART 2006

Definition at line 38 of file RayTracer.h.

Constructor & Destructor Documentation

TelescopeSimulatorKG::RayTracer::RayTracer ( )
private
TelescopeSimulatorKG::RayTracer::RayTracer ( const RayTracer )
private
RayTracer::RayTracer ( const fdet::Telescope tel,
utl::RandomEngine random,
bool  doShadow = true,
bool  doShadowSupport = true,
bool  hasMercedes = true,
bool  plotPhotonTracks = false,
double  drawPhotonsProbabilty = 0 
)
RayTracer::~RayTracer ( )

Member Function Documentation

TPolyLine3D * RayTracer::DrawTrack ( const utl::Point p1,
const utl::Point p2,
int  color 
) const
static int TelescopeSimulatorKG::RayTracer::GetDebugLevel ( )
inlinestatic
RayTracer& TelescopeSimulatorKG::RayTracer::operator= ( const RayTracer )
private
void TelescopeSimulatorKG::RayTracer::SetCorrectorRing ( bool  f)
inline

Definition at line 61 of file RayTracer.h.

References fHasCorrectorRing.

static void TelescopeSimulatorKG::RayTracer::SetDebugLevel ( int  l)
inlinestatic

Definition at line 64 of file RayTracer.h.

References fgDebugLevel.

RTResult RayTracer::Trace ( const utl::Photon photonIn,
utl::Photon photonOut,
int &  nreflections,
int &  col,
int &  row 
)

Member Data Documentation

Camera* TelescopeSimulatorKG::RayTracer::fCamera
private

Definition at line 80 of file RayTracer.h.

Referenced by RayTracer(), Trace(), and ~RayTracer().

bool TelescopeSimulatorKG::RayTracer::fDoShadow
private

Definition at line 69 of file RayTracer.h.

Referenced by Trace().

bool TelescopeSimulatorKG::RayTracer::fDoShadowSupport
private

Definition at line 70 of file RayTracer.h.

Referenced by Trace().

double TelescopeSimulatorKG::RayTracer::fDrawPhotonProbability
private

Definition at line 76 of file RayTracer.h.

Referenced by Trace().

Filter* TelescopeSimulatorKG::RayTracer::fFilter
private

Definition at line 82 of file RayTracer.h.

Referenced by RayTracer(), Trace(), and ~RayTracer().

int TelescopeSimulatorKG::RayTracer::fgDebugLevel = 0
staticprivate

Definition at line 84 of file RayTracer.h.

Referenced by GetDebugLevel(), and SetDebugLevel().

bool TelescopeSimulatorKG::RayTracer::fHasCorrectorRing
private

Definition at line 72 of file RayTracer.h.

Referenced by RayTracer(), SetCorrectorRing(), and Trace().

bool TelescopeSimulatorKG::RayTracer::fHasMercedes
private

Definition at line 71 of file RayTracer.h.

Referenced by Trace().

Lens* TelescopeSimulatorKG::RayTracer::fLens
private

Definition at line 79 of file RayTracer.h.

Referenced by RayTracer(), Trace(), and ~RayTracer().

Mirror* TelescopeSimulatorKG::RayTracer::fMirror
private

Definition at line 81 of file RayTracer.h.

Referenced by RayTracer(), Trace(), and ~RayTracer().

TObjArray* TelescopeSimulatorKG::RayTracer::fObjectsPhotons
private

Definition at line 77 of file RayTracer.h.

Referenced by RayTracer(), Trace(), and ~RayTracer().

bool TelescopeSimulatorKG::RayTracer::fPlotPhotonTracks
private

Definition at line 75 of file RayTracer.h.

Referenced by Trace(), and ~RayTracer().

const utl::RandomEngine* TelescopeSimulatorKG::RayTracer::fRandom
private

Definition at line 68 of file RayTracer.h.

const fdet::Telescope* TelescopeSimulatorKG::RayTracer::fTel
private

Definition at line 67 of file RayTracer.h.

Referenced by DrawTrack(), RayTracer(), Trace(), and ~RayTracer().


The documentation for this class was generated from the following files:

, generated on Tue Sep 26 2023.