154 in >>
static_cast<JAxis3D&
>(shower);
155 in >>
static_cast<JTime&
> (shower);
170 out << static_cast<const JAxis3D&>(shower);
172 out << static_cast<const JTime&> (shower);
187 in >>
static_cast<JAxis3D&
>(shower);
188 in >>
static_cast<JTime&
> (shower);
203 out << static_cast<const JAxis3D&>(shower);
204 out << static_cast<const JTime&> (shower);
JDirection3D()
Default constructor.
const JDirection3D & getDirection() const
Get direction.
double getDot(const JAngle3D &angle) const
Get dot product.
Data structure for position in three dimensions.
const JPosition3D & getPosition() const
Get position.
JShower3D(const JVertex3D &vertex, const JVersor3D &dir)
Constructor.
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
friend std::istream & operator>>(std::istream &in, JShower3D &shower)
Read shower from input.
JVertex3D getVertex() const
Get vertex of this track.
friend std::ostream & operator<<(std::ostream &out, const JShower3D &shower)
Write shower to output.
double getDot(const JVector3D &pos) const
Get cosine angle of emission of Cherenkov light on PMT.
JVersor3D getDirection(const JVector3D &pos) const
Get photon direction of Cherenkov light on PMT.
JShower3D()
Default constructor.
const JDirection3D & getDirection() const
Get direction.
double getT() const
Get time.
double getDot(const JAxis3D &axis) const
Get cosine angle of impact of Cherenkov light on PMT.
friend JWriter & operator<<(JWriter &out, const JShower3D &shower)
Write shower to output.
friend JReader & operator>>(JReader &in, JShower3D &shower)
Read shower from input.
JTime & add(const JTime &value)
Addition operator.
double getT() const
Get time.
JTime & sub(const JTime &value)
Subtraction operator.
Data structure for vector in three dimensions.
JVector3D & add(const JVector3D &vector)
Add vector.
JVector3D & sub(const JVector3D &vector)
Subtract vector.
Data structure for normalised vector in three dimensions.
Interface for binary input.
Interface for binary output.
Auxiliary classes and methods for 3D geometrical objects and operations.
double getDistance(const JFirst_t &first, const JSecond_t &second)
Get distance between objects.
Auxiliary methods for light properties of deep-sea water.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).