1 #ifndef __JACOUSTICS__JEVT__
2 #define __JACOUSTICS__JEVT__
21 namespace JACOUSTICS {}
22 namespace JPP {
using namespace JACOUSTICS; }
24 namespace JACOUSTICS {
76 out << setw(4) << fit.
id <<
' '
163 if (first.
oid == second.
oid) {
176 return first.
oid < second.
oid;
209 return event.UNIXTimeStart;
250 out <<
event.oid << endl
251 <<
FIXED(20,5) <<
event.UNIXTimeStart << endl
252 <<
FIXED(20,5) <<
event.UNIXTimeStop << endl
253 << setw(5) <<
event.ndf << endl
254 <<
FIXED(12,3) <<
event.chi2 << endl;
256 for (JEvt::const_iterator fit = event.begin(); fit !=
event.end(); ++fit) {
JHead(const std::string &oid, const double t0, const double t1, const int ndf, const double weight, const double chi2)
Constructor.
JEvaluator()
Default constructor.
std::string oid
detector identifier
bool operator<(const Head &first, const Head &second)
Less than operator.
friend std::ostream & operator<<(std::ostream &out, const JFit &fit)
Write fit to output.
int ndf
number of degrees of freedom
Auxiliary data structure for floating point format specification.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
virtual ~JFit()
Virtual destructor.
Auxiliary class to determine value of acoustic events.
friend std::ostream & operator<<(std::ostream &out, const JEvt &event)
Write event to output.
double UNIXTimeStop
stop time
double operator()(const JEvt &event) const
Get value of object.
JEvt(const JHead &header)
Constructor.
virtual ~JEvt()
Virtual destructor.
double weight
total weight of hits
JHead()
Default constructor.
double UNIXTimeStart
start time
virtual ~JHead()
Virtual destructor.
JFit(const int id, const double tx, const double ty)
Constructor.
JEvt()
Default constructor.
std::vector< double > weight
JFit()
Default constructor.