22 namespace JPP {
using namespace JFIT; }
90 void move(
const double step,
const double velocity)
95 __t += step / velocity;
105 void setZ(
const double z,
const double velocity)
268 return JDirection3D(D);
293 in >>
static_cast<JLine1Z&
> (object);
309 out << static_cast<const JLine1Z&> (object);
311 out << static_cast<const JVersor3Z&>(object);
do echo Generating $dir eval D
double getDot(const JAngle3D &angle) const
Get dot product.
Auxiliary base class for aritmetic operations of derived class types.
double getT() const
Get time.
double getKappaC()
Get average R-dependence of arrival time of Cherenkov light (a.k.a.
JVersor3Z & negate()
Prefix unary minus.
double getDistance(const JVector3D &pos) const
Get distance.
friend std::istream & operator>>(std::istream &in, JLine3Z &object)
Read object from input.
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
const JDirection3D & getDirection() const
Get direction.
JVersor3Z & sub(const JVersor3Z &value)
Subtraction operator.
Data structure for fit of straight line in positive z-direction.
JVertex3D & add(const JVertex3D &value)
Addition operator.
JVertex3D & negate()
Prefix unary minus.
double JLine3Z::* parameter_type
JVertex3D & div(const double value)
Division operator.
JVersor3Z & add(const JVersor3Z &value)
Addition operator.
JVertex3D & sub(const JVertex3D &value)
Subtraction operator.
double getDot(const JAxis3D &axis) const
Get cosine angle of impact of Cherenkov light on PMT.
double getDY() const
Get y direction.
JVersor3Z & mul(const double value)
Multiplication operator.
double getDistanceSquared(const JVector3D &pos) const
Get distance squared.
JVersor3D getDirection(const JVector3D &pos) const
Get photon direction of Cherenkov light on PMT.
JVector3D & sub(const JVector3D &vector)
Subtract vector.
static parameter_type pDX()
JLine3Z & div(const double value)
Division operator.
Data structure for vector in three dimensions.
JVertex3D & mul(const double value)
Multiplication operator.
double JLine1Z::* parameter_type
JVersor3Z & div(const double value)
Division operator.
JLine3Z & add(const JLine3Z &value)
Addition operator.
const JPosition3D & getPosition() const
Get position.
then usage $script[distance] fi case set_variable R
double getLengthSquared() const
Get length squared.
static parameter_type pDY()
void move(const double step, const double velocity)
Move vertex along this line with given velocity.
JLine3Z & mul(const double value)
Multiplication operator.
const JVersor3Z & getDirection() const
Get direction.
JLine3Z()
Default constructor.
friend std::ostream & operator<<(std::ostream &out, const JLine3Z &object)
Write object to output.
void setZ(const double z, const double velocity)
Set z-position.
JLine3Z(const JLine1Z &line)
Constructor.
JPosition3D()
Default constructor.
const double getInverseSpeedOfLight()
Get inverse speed of light.
double getDX() const
Get x direction.
Data structure for fit of straight line paralel to z-axis.
Base class for data structures with artithmetic capabilities.
double getTanThetaC()
Get average tangent of Cherenkov angle of water corresponding to group velocity.
JLine3Z & sub(const JLine3Z &value)
Subtraction operator.
Data structure for position in three dimensions.
double getDZ() const
Get z direction.
Data structure for normalised vector in three dimensions.
Data structure for normalised vector in positive z-direction.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
JLine3Z(const JLine1Z &line, const JVersor3Z &dir)
Constructor.
double getZ() const
Get z position.
JLine3Z & negate()
Prefix unary minus.