#include <LightRay.h>
Public Member Functions | |
const CLHEP::Hep3Vector & | direction () const |
void | dumpData (const ALIstring &str) const |
void | intersect (const ALIPlane &plane) |
void | intersect (const OpticalObject &opto) |
CLHEP::Hep3Vector | IntersectWithOptOPlane (const OpticalObject *optoplane) |
CLHEP::Hep3Vector | IntersectWithPlane (const CLHEP::Hep3Vector &plane_point, const CLHEP::Hep3Vector &plane_normal) |
LightRay () | |
LightRay (OpticalObject *p1, OpticalObject *p2) | |
LightRay (CLHEP::Hep3Vector &vec1, CLHEP::Hep3Vector &vec2) | |
const CLHEP::Hep3Vector & | point () const |
void | reflect (const ALIPlane &plane) |
void | refract (const ALIPlane &plate, const ALIdouble refra_ind1, const ALIdouble refra_ind2) |
void | setDirection (const CLHEP::Hep3Vector &direc) |
void | setPoint (const CLHEP::Hep3Vector &point) |
void | shiftAndDeviateWhileTraversing (const OpticalObject *opto, char behav) |
void | shiftAndDeviateWhileTraversing (const OpticalObject *opto, ALIdouble shiftX, ALIdouble shiftY, ALIdouble shiftZ, ALIdouble deviX, ALIdouble deviY, ALIdouble deviZ) |
void | startLightRay (OpticalObject *opto) |
~LightRay () | |
Public Attributes | |
CLHEP::Hep3Vector | _direction |
CLHEP::Hep3Vector | _point |
Definition at line 20 of file LightRay.h.
LightRay::LightRay | ( | ) |
Definition at line 19 of file LightRay.cc.
LightRay::LightRay | ( | OpticalObject * | p1, |
OpticalObject * | p2 | ||
) |
Definition at line 52 of file LightRay.cc.
LightRay::LightRay | ( | CLHEP::Hep3Vector & | vec1, |
CLHEP::Hep3Vector & | vec2 | ||
) |
Definition at line 73 of file LightRay.cc.
|
inline |
Definition at line 28 of file LightRay.h.
|
inline |
void LightRay::dumpData | ( | const ALIstring & | str | ) | const |
Definition at line 382 of file LightRay.cc.
Referenced by OptOPinhole::defaultBehaviour().
void LightRay::intersect | ( | const ALIPlane & | plane | ) |
Definition at line 101 of file LightRay.cc.
void LightRay::intersect | ( | const OpticalObject & | opto | ) |
Definition at line 87 of file LightRay.cc.
CLHEP::Hep3Vector LightRay::IntersectWithOptOPlane | ( | const OpticalObject * | optoplane | ) |
CLHEP::Hep3Vector LightRay::IntersectWithPlane | ( | const CLHEP::Hep3Vector & | plane_point, |
const CLHEP::Hep3Vector & | plane_normal | ||
) |
|
inline |
Definition at line 52 of file LightRay.h.
References _point.
Referenced by MeasurementSensor2D::calculateSimulatedValue(), MeasurementCOPS::calculateSimulatedValue(), OptOPinhole::defaultBehaviour(), and setPoint().
void LightRay::reflect | ( | const ALIPlane & | plane | ) |
Definition at line 142 of file LightRay.cc.
void LightRay::refract | ( | const ALIPlane & | plate, |
const ALIdouble | refra_ind1, | ||
const ALIdouble | refra_ind2 | ||
) |
Definition at line 163 of file LightRay.cc.
|
inline |
Definition at line 61 of file LightRay.h.
References _direction.
Referenced by OptOPinhole::defaultBehaviour().
|
inline |
Definition at line 64 of file LightRay.h.
References _point, and point().
Referenced by OptOPinhole::defaultBehaviour().
void LightRay::shiftAndDeviateWhileTraversing | ( | const OpticalObject * | opto, |
char | behav | ||
) |
Definition at line 241 of file LightRay.cc.
void LightRay::shiftAndDeviateWhileTraversing | ( | const OpticalObject * | opto, |
ALIdouble | shiftX, | ||
ALIdouble | shiftY, | ||
ALIdouble | shiftZ, | ||
ALIdouble | deviX, | ||
ALIdouble | deviY, | ||
ALIdouble | deviZ | ||
) |
Definition at line 273 of file LightRay.cc.
void LightRay::startLightRay | ( | OpticalObject * | opto | ) |
Definition at line 28 of file LightRay.cc.
Referenced by OptOLaser::defaultBehaviour(), OptOXLaser::defaultBehaviour(), and OptOSource::defaultBehaviour().
CLHEP::Hep3Vector LightRay::_direction |
Definition at line 78 of file LightRay.h.
Referenced by direction(), and setDirection().
CLHEP::Hep3Vector LightRay::_point |
Definition at line 79 of file LightRay.h.
Referenced by point(), and setPoint().