1 #ifndef __JACOUSTICS__JSUPEREVT__
2 #define __JACOUSTICS__JSUPEREVT__
104 out <<
object.counter;
153 in >>
object.counter;
173 out <<
object.counter;
174 out <<
object.string;
177 out <<
object.weight;
207 out << static_cast<const JEvt&>(event);
209 for (JSuperEvt::tx_type::const_iterator i = event.
tx.begin(); i != event.
tx.end(); ++i) {
210 out << setw(2) << i->id <<
' '
211 << setw(6) << i->counter <<
' '
212 <<
FIXED(20,6) << i->toe << endl;
215 for (JSuperEvt::rx_type::const_iterator i = event.
rx.begin(); i != event.
rx.end(); ++i) {
216 out << setw(2) << i->id <<
' '
217 << setw(6) << i->counter <<
' '
218 << setw(4) << i->string <<
' '
219 << setw(2) << i->floor <<
' '
220 <<
FIXED(20,6) << i->toa <<
' '
221 <<
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 JWriter & write(JWriter &out) const override
Write to output.
virtual JReader & read(JReader &in) override
Read from input.
friend JReader & operator>>(JReader &in, rx_t &object)
Read transmission from input.
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 rx_t &object)
Write transmission to output.
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.
std::vector< tx_t > tx_type
JSuperEvt()
Default constructor.
JSuperEvt(const JEvt &event)
Constructor.
ClassDefOverride(JSuperEvt, 1)
virtual JReader & read(JReader &in) override
Read from input.
std::vector< rx_t > rx_type
virtual JWriter & write(JWriter &out) const override
Write to output.
friend std::ostream & operator<<(std::ostream &out, const JSuperEvt &event)
Write super event to output.