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 JPHYSICS;
149 using namespace JPHYSICS;
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.
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.
double getKappaC()
Get average R-dependence of arrival time of Cherenkov light (a.k.a.
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.
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.
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.
then JCookie sh JDataQuality D $DETECTOR_ID R
JPosition3D()
Default constructor.
const double getInverseSpeedOfLight()
Get inverse speed of light.
double getDot(const JVector3D &pos) const
Get cosine angle of emission of Cherenkov light on PMT.
double getTanThetaC()
Get average tangent of Cherenkov angle of water corresponding to group velocity.
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.
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 JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
do echo Generating $dir eval D
double getDot(const JAxis3D &axis) const
Get cosine angle of impact of Cherenkov light on PMT.
JVector3D & add(const JVector3D &vector)
Add vector.