18 namespace JGEOMETRY3D {}
19 namespace JPP {
using namespace JGEOMETRY3D; }
21 namespace JGEOMETRY3D {
112 void move(
const double step,
const double velocity)
116 __t += step / velocity;
128 using namespace JTOOLS;
149 using namespace JTOOLS;
197 in >>
static_cast<JAxis3D&
>(track);
198 in >>
static_cast<JTime&
> (track);
213 out << static_cast<const JAxis3D&>(track);
215 out << static_cast<const JTime&> (track);
230 in >>
static_cast<JAxis3D&
>(track);
231 in >>
static_cast<JTime&
> (track);
246 out << static_cast<const JAxis3D&>(track);
247 out << static_cast<const JTime&> (track);
Interface for binary output.
do echo Generating $dir eval D
friend JReader & operator>>(JReader &in, JTrack3D &track)
Read track from input.
JDirection3D()
Default constructor.
double getDot(const JAngle3D &angle) const
Get dot product.
double getT() const
Get time.
JTrack3D(const JAxis3D &axis, const JTime &t0)
Constructor.
JTime & sub(const JTime &value)
Subtraction operator.
friend std::ostream & operator<<(std::ostream &out, const JTrack3D &track)
Write track to output.
const JDirection3D & getDirection() const
Get direction.
JTrack3D(const JVertex3D &vertex, const JVersor3D &dir)
Constructor.
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
void move(const double step, const double velocity)
Move vertex along this track with given velocity.
void move(const double step)
Move vertex along this axis.
JVersor3D getDirection(const JVector3D &pos) const
Get photon direction of Cherenkov light on PMT.
JTime & add(const JTime &value)
Addition operator.
JVector3D & sub(const JVector3D &vector)
Subtract vector.
JTrack3D()
Default constructor.
Data structure for vector in three dimensions.
JTrack3D(const JVector3D &pos, const JVersor3D &dir, const JTime &t0)
Constructor.
Interface for binary input.
const JPosition3D & getPosition() const
Get position.
friend JWriter & operator<<(JWriter &out, const JTrack3D &track)
Write track to output.
then usage $script[distance] fi case set_variable R
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
double getLengthSquared() const
Get length squared.
JVertex3D getVertex() const
Get vertex of this track.
JPosition3D()
Default constructor.
double getDot(const JVector3D &pos) const
Get cosine angle of emission of Cherenkov light on PMT.
friend std::istream & operator>>(std::istream &in, JTrack3D &track)
Read track from input.
Data structure for position in three dimensions.
Data structure for normalised vector in three dimensions.
double getDot(const JAxis3D &axis) const
Get cosine angle of impact of Cherenkov light on PMT.
JVector3D & add(const JVector3D &vector)
Add vector.