35 public JMath<JVertex3D>
193 in >>
static_cast<JTime&
> (vertex);
208 out << static_cast<const JPosition3D&>(vertex);
210 out << static_cast<const JTime&> (vertex);
226 in >>
static_cast<JTime&
> (vertex);
241 out << static_cast<const JPosition3D&>(vertex);
242 out << static_cast<const JTime&> (vertex);
Base class for data structures with artithmetic capabilities.
const JDirection3D & getDirection() const
Get direction.
Data structure for position in three dimensions.
const JPosition3D & getPosition() const
Get position.
JTime & negate()
Prefix unary minus.
JTime & add(const JTime &value)
Addition operator.
JTime & mul(const double value)
Multiplication operator.
JTime & sub(const JTime &value)
Subtraction operator.
double getT() const
Get time.
JTime & div(const double value)
Division operator.
Data structure for vector in three dimensions.
JVector3D & add(const JVector3D &vector)
Add vector.
double getDistance(const JVector3D &pos) const
Get distance to point.
JVector3D & div(const double factor)
Scale vector.
JVector3D & sub(const JVector3D &vector)
Subtract vector.
JVector3D & negate()
Negate vector.
JVector3D & mul(const double factor)
Scale vector.
Data structure for normalised vector in three dimensions.
double getDot(const JVersor3D &versor) const
Get dot product.
JVertex3D & add(const JVertex3D &value)
Addition operator.
friend std::ostream & operator<<(std::ostream &out, const JVertex3D &vertex)
Write vertex to output.
friend JReader & operator>>(JReader &in, JVertex3D &vertex)
Read vertex from input.
JVertex3D & mul(const double value)
Multiplication operator.
JVertex3D & sub(const JVertex3D &value)
Subtraction operator.
JVertex3D(const JVector3D &pos, const double t)
Constructor.
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
JVertex3D & div(const double value)
Division operator.
double getDot(const JAxis3D &axis) const
Get cosine angle of impact of Cherenkov light on PMT.
friend JWriter & operator<<(JWriter &out, const JVertex3D &vertex)
Write vertex to output.
double getT() const
Get time.
JVertex3D()
Default constructor.
JVersor3D getDirection(const JVector3D &pos) const
Get photon direction of Cherenkov light on PMT.
JVertex3D & negate()
Prefix unary minus.
friend std::istream & operator>>(std::istream &in, JVertex3D &vertex)
Read vertex from input.
Interface for binary input.
Interface for binary output.
Auxiliary classes and methods for 3D geometrical objects and operations.
Auxiliary methods for light properties of deep-sea water.
double getIndexOfRefraction()
Get average index of refraction of water corresponding to group velocity.
const double getInverseSpeedOfLight()
Get inverse speed of light.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary base class for aritmetic operations of derived class types.