1 #ifndef __JACOUSTICS__JSUPEREVT__
2 #define __JACOUSTICS__JSUPEREVT__
22 namespace JACOUSTICS {}
23 namespace JPP {
using namespace JACOUSTICS; }
25 namespace JACOUSTICS {
126 out << static_cast<const JEvt&>(event);
128 for (JSuperEvt::tx_type::const_iterator i = event.
tx.begin(); i !=
event.tx.end(); ++i) {
129 out << setw(2) << i->id <<
' '
130 << setw(6) << i->counter <<
' '
131 <<
FIXED(20,6) << i->toe << endl;
134 for (JSuperEvt::rx_type::const_iterator i = event.
rx.begin(); i !=
event.rx.end(); ++i) {
135 out << setw(2) << i->id <<
' '
136 << setw(6) << i->counter <<
' '
137 << setw(4) << i->string <<
' '
138 << setw(2) << i->floor <<
' '
139 <<
FIXED(20,6) << i->toa <<
' '
140 <<
FIXED( 5,2) << i->weight << endl;
rx_t(const int id, const int counter, const int string, const int floor, const double toa, const double weight)
friend std::ostream & operator<<(std::ostream &out, const JSuperEvt &event)
Write super event to output.
Auxiliary data structure for floating point format specification.
tx_t(const int id, const int counter, const double toe)
JSuperEvt()
Default constructor.
Acoustic super event fit.
std::vector< rx_t > rx_type
JSuperEvt(const JEvt &event)
Constructor.
std::vector< tx_t > tx_type