17 namespace JGEOMETRY3D {}
18 namespace JPP {
using namespace JGEOMETRY3D; }
20 namespace JGEOMETRY3D {
117 void move(
const double step,
const double velocity,
const JGeane& geane)
134 in >>
static_cast<JTrack3D&
>(track);
150 const JFormat format(out, getFormat<JTrack3E>(
JFormat_t(9, 3, std::ios::fixed | std::ios::showpos)));
152 out << static_cast<const JTrack3D&>(track);
169 in >>
static_cast<JTrack3D&
>(track);
185 out << static_cast<const JTrack3D&>(track);
friend JReader & operator>>(JReader &in, JTrack3E &track)
Read track from input.
Interface for binary output.
then usage $script< input file >[option[primary[working directory]]] nWhere option can be E
JTrack3E(const JTrack3D &track, const double E)
Constructor.
JTrack3E()
Default constructor.
friend JWriter & operator<<(JWriter &out, const JTrack3E &track)
Write track to output.
void move(const double step, const double velocity)
Move vertex along this track with given velocity.
void move(const double step, const double velocity, const JGeane &geane)
Move vertex along this track with given velocity.
double getE() const
Get energy.
JTrack3E(const JVertex3D &vertex, const JVersor3D &dir, const double E)
Constructor.
Data structure for vector in three dimensions.
JTrack3E(const JVector3D &pos, const JVersor3D &dir, const JTime &t0, const double E)
Constructor.
void setE(const double E)
Set energy.
Interface for binary input.
Interface for muon energy loss.
friend std::istream & operator>>(std::istream &in, JTrack3E &track)
Read track from input.
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
friend std::ostream & operator<<(std::ostream &out, const JTrack3E &track)
Write track to output.