1#ifndef __JACOUSTICS__JSUPEREVT__
2#define __JACOUSTICS__JSUPEREVT__
103 out <<
object.counter;
152 in >>
object.counter;
172 out <<
object.counter;
173 out <<
object.string;
176 out <<
object.weight;
206 out << static_cast<const JEvt&>(event);
208 for (JSuperEvt::tx_type::const_iterator i = event.
tx.begin(); i != event.
tx.end(); ++i) {
209 out << setw(2) << i->id <<
' '
210 << setw(6) << i->counter <<
' '
211 <<
FIXED(20,6) << i->toe << endl;
214 for (JSuperEvt::rx_type::const_iterator i = event.
rx.begin(); i != event.
rx.end(); ++i) {
215 out << setw(2) << i->id <<
' '
216 << setw(6) << i->counter <<
' '
217 << setw(4) << i->string <<
' '
218 << setw(2) << i->floor <<
' '
219 <<
FIXED(20,6) << i->toa <<
' '
220 <<
FIXED( 5,2) << i->weight << endl;
STD extensions for binary I/O.
Interface for binary input.
Forward declaration of binary output.
Interface for binary output.
Auxiliary classes and methods for acoustic position calibration.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for floating point format specification.
virtual JReader & read(JReader &in) override
Read from input.
virtual JWriter & write(JWriter &out) const override
Write to output.
friend JReader & operator>>(JReader &in, rx_t &object)
Read transmission from input.
friend JWriter & operator<<(JWriter &out, const rx_t &object)
Write transmission to output.
rx_t(const int id, const int counter, const int string, const int floor, const double toa, const double weight)
friend JWriter & operator<<(JWriter &out, const tx_t &object)
Write emission to output.
friend JReader & operator>>(JReader &in, tx_t &object)
Read emission from input.
tx_t(const int id, const int counter, const double toe)
Acoustic super event fit.
virtual JWriter & write(JWriter &out) const override
Write to output.
virtual JReader & read(JReader &in) override
Read from input.
std::vector< tx_t > tx_type
std::vector< rx_t > rx_type
JSuperEvt()
Default constructor.
friend std::ostream & operator<<(std::ostream &out, const JSuperEvt &event)
Write super event to output.
JSuperEvt(const JEvt &event)
Constructor.
ClassDefOverride(JSuperEvt, 1)