Acoustic event fit.
More...
#include <JEvt.hh>
|
int | detid |
| detector identifier
|
|
double | UNIXTimeStart |
| start time
|
|
double | UNIXTimeStop |
| stop time
|
|
int | nhit |
| number of hits
|
|
int | nfit |
| number of hits used in fit (after outlier removal)
|
|
int | npar |
| number of fit parameters
|
|
double | ndf |
| weighed number of degrees of freedom
|
|
double | chi2 |
| chi2
|
|
|
std::ostream & | operator<< (std::ostream &out, const JEvt &event) |
| Write event to output.
|
|
Acoustic event fit.
Definition at line 299 of file JAcoustics/JEvt.hh.
◆ JEvt() [1/2]
JACOUSTICS::JEvt::JEvt |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 339 of file JAcoustics/JEvt.hh.
339 :
341 {}
JHead()
Default constructor.
◆ JEvt() [2/2]
JACOUSTICS::JEvt::JEvt |
( |
const JHead & | header | ) |
|
|
inline |
◆ ~JEvt()
virtual JACOUSTICS::JEvt::~JEvt |
( |
| ) |
|
|
inlinevirtual |
◆ read()
◆ write()
◆ ClassDefOverride()
JACOUSTICS::JEvt::ClassDefOverride |
( |
JEvt | , |
|
|
8 | ) |
◆ ClassDef()
JACOUSTICS::JHead::ClassDef |
( |
JHead | , |
|
|
6 | ) |
|
inherited |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const JEvt & | event ) |
|
friend |
Write event to output.
- Parameters
-
out | output stream |
event | event |
- Returns
- output stream
Definition at line 368 of file JAcoustics/JEvt.hh.
369 {
371
372 out << event.detid << endl
373 <<
FIXED(20,5) <<
event.UNIXTimeStart << endl
374 <<
FIXED(20,5) <<
event.UNIXTimeStop << endl
375 << setw(5) << event.nhit << ' '
376 << setw(5) << event.nfit << ' '
377 << setw(4) << event.npar << endl
378 <<
FIXED(12,3) <<
event.chi2 <<
'/'
379 <<
FIXED(7,1) <<
event.ndf << endl;
380
381 for (JEvt::const_iterator fit = event.begin(); fit != event.end(); ++fit) {
382 out << *fit << endl;
383 }
384
385 return out;
386 }
Auxiliary data structure for floating point format specification.
◆ detid
int JACOUSTICS::JHead::detid |
|
inherited |
◆ UNIXTimeStart
double JACOUSTICS::JHead::UNIXTimeStart |
|
inherited |
◆ UNIXTimeStop
double JACOUSTICS::JHead::UNIXTimeStop |
|
inherited |
◆ nhit
int JACOUSTICS::JHead::nhit |
|
inherited |
◆ nfit
int JACOUSTICS::JHead::nfit |
|
inherited |
◆ npar
int JACOUSTICS::JHead::npar |
|
inherited |
◆ ndf
double JACOUSTICS::JHead::ndf |
|
inherited |
◆ chi2
double JACOUSTICS::JHead::chi2 |
|
inherited |
The documentation for this struct was generated from the following file: