104 inline void setE(
const double E)
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);
void move(const double step, const double velocity)
Move vertex along this track with given velocity.
friend std::ostream & operator<<(std::ostream &out, const JTrack3E &track)
Write track to output.
JTrack3E(const JTrack3D &track, const double E)
Constructor.
friend JWriter & operator<<(JWriter &out, const JTrack3E &track)
Write track to output.
void move(const double step, const double velocity, const JGeane &geane)
Move vertex along this track with given velocity.
friend JReader & operator>>(JReader &in, JTrack3E &track)
Read track from input.
friend std::istream & operator>>(std::istream &in, JTrack3E &track)
Read track from input.
JTrack3E()
Default constructor.
JTrack3E(const JVertex3D &vertex, const JVersor3D &dir, const double E)
Constructor.
JTrack3E(const JVector3D &pos, const JVersor3D &dir, const JTime &t0, const double E)
Constructor.
void setE(const double E)
Set energy.
double getE() const
Get energy.
Data structure for vector in three dimensions.
Data structure for normalised vector in three dimensions.
Interface for binary input.
Interface for binary output.
Interface for muon energy loss.
Auxiliary classes and methods for 3D geometrical objects and operations.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).