Acoustic event fit.
More...
#include <JEvt.hh>
|
| std::ostream & | operator<< (std::ostream &out, const JEvt &event) |
| | Write event to output.
|
| |
Acoustic event fit.
Definition at line 305 of file JEvt.hh.
◆ JEvt() [1/2]
| JACOUSTICS::JEvt::JEvt |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 345 of file JEvt.hh.
345 :
347 {}
JHead()
Default constructor.
◆ JEvt() [2/2]
| JACOUSTICS::JEvt::JEvt |
( |
const JHead & | header | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 355 of file JEvt.hh.
◆ ~JEvt()
| virtual JACOUSTICS::JEvt::~JEvt |
( |
| ) |
|
|
inlinevirtual |
Virtual destructor.
Definition at line 363 of file JEvt.hh.
◆ read()
| virtual JReader & JACOUSTICS::JEvt::read |
( |
JReader & | in | ) |
|
|
inlineoverridevirtual |
Read from input.
- Parameters
-
- Returns
- reader
Reimplemented in JACOUSTICS::JSuperEvt.
Definition at line 401 of file JEvt.hh.
402 {
403 in >>
static_cast<JHead&
> (*this);
404 in >> static_cast<std::vector<JFit>&>(*this);
405
406 return in;
407 }
◆ write()
| virtual JWriter & JACOUSTICS::JEvt::write |
( |
JWriter & | out | ) |
const |
|
inlineoverridevirtual |
Write to output.
- Parameters
-
- Returns
- writer
Reimplemented in JACOUSTICS::JSuperEvt.
Definition at line 416 of file JEvt.hh.
417 {
418 out << static_cast<const JHead&> (*this);
419 out << static_cast<const std::vector<JFit>&>(*this);
420
421 return out;
422 }
◆ ClassDefOverride()
| JACOUSTICS::JEvt::ClassDefOverride |
( |
JEvt | , |
|
|
9 | ) |
◆ ClassDef()
| JACOUSTICS::JHead::ClassDef |
( |
JHead | , |
|
|
7 | ) |
|
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 374 of file JEvt.hh.
375 {
376 using namespace std;
377
378 out << event.detid << endl
379 << FIXED(20,5) << event.UNIXTimeStart << endl
380 << FIXED(20,5) << event.UNIXTimeStop << endl
381 << setw(5) << event.nhit << ' '
382 << setw(5) << event.nfit << ' '
383 << setw(4) << event.npar << endl
384 << FIXED(12,3) << event.chi2 << '/'
385 << FIXED(7,1) << event.ndf << endl;
386
387 for (JEvt::const_iterator fit = event.begin(); fit != event.end(); ++fit) {
388 out << *fit << endl;
389 }
390
391 return out;
392 }
◆ detid
| int JACOUSTICS::JHead::detid |
|
inherited |
detector identifier
Definition at line 260 of file JEvt.hh.
◆ UNIXTimeStart
| double JACOUSTICS::JHead::UNIXTimeStart |
|
inherited |
start time
Definition at line 261 of file JEvt.hh.
◆ UNIXTimeStop
| double JACOUSTICS::JHead::UNIXTimeStop |
|
inherited |
◆ nhit
| int JACOUSTICS::JHead::nhit |
|
inherited |
number of hits
Definition at line 263 of file JEvt.hh.
◆ nfit
| int JACOUSTICS::JHead::nfit |
|
inherited |
number of hits used in fit (after outlier removal)
Definition at line 264 of file JEvt.hh.
◆ npar
| int JACOUSTICS::JHead::npar |
|
inherited |
number of fit parameters
Definition at line 265 of file JEvt.hh.
◆ ndf
| double JACOUSTICS::JHead::ndf |
|
inherited |
weighed number of degrees of freedom
Definition at line 266 of file JEvt.hh.
◆ chi2
| double JACOUSTICS::JHead::chi2 |
|
inherited |
◆ numberOfIterations
| int JACOUSTICS::JHead::numberOfIterations |
|
inherited |
number of iterations
Definition at line 268 of file JEvt.hh.
The documentation for this struct was generated from the following file: