Acoustic single fit.
More...
#include <JEvt.hh>
|
| int | id |
| | string identifier
|
| |
| double | tx |
| | slope dx/dz
|
| |
| double | ty |
| | slope dy/dz
|
| |
| double | tx2 |
| | 2nd order correction of slope dx/dz
|
| |
| double | ty2 |
| | 2nd order correction of slope dy/dz
|
| |
| double | vs |
| | stretching factor
|
| |
|
| std::ostream & | operator<< (std::ostream &out, const JFit &fit) |
| | Write fit to output.
|
| |
| JReader & | operator>> (JReader &in, JFit &object) |
| | Read fit from input.
|
| |
| JWriter & | operator<< (JWriter &out, const JFit &object) |
| | Write fit to output.
|
| |
Acoustic single fit.
Definition at line 34 of file JEvt.hh.
◆ JFit() [1/2]
| JACOUSTICS::JFit::JFit |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 40 of file JEvt.hh.
40 :
47 {}
double vs
stretching factor
double ty2
2nd order correction of slope dy/dz
double tx2
2nd order correction of slope dx/dz
◆ JFit() [2/2]
| JACOUSTICS::JFit::JFit |
( |
const int | id, |
|
|
const double | tx, |
|
|
const double | ty, |
|
|
const double | tx2, |
|
|
const double | ty2, |
|
|
const double | vs ) |
|
inline |
Constructor.
- Parameters
-
| id | string identifier |
| tx | slope dx/dz |
| ty | slope dy/dz |
| tx2 | 2nd order correction of slope dx/dz |
| ty2 | 2nd order correction of slope dy/dz |
| vs | stretching factor |
Definition at line 60 of file JEvt.hh.
◆ ~JFit()
| virtual JACOUSTICS::JFit::~JFit |
( |
| ) |
|
|
inlinevirtual |
Virtual destructor.
Definition at line 78 of file JEvt.hh.
◆ ClassDefOverride()
| JACOUSTICS::JFit::ClassDefOverride |
( |
JFit | , |
|
|
2 | ) |
◆ operator<< [1/2]
| std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const JFit & | fit ) |
|
friend |
Write fit to output.
- Parameters
-
- Returns
- output stream
Definition at line 89 of file JEvt.hh.
90 {
91 using namespace std;
92
93 out << setw(4) << fit.id << ' '
94 << FIXED(10,7) << fit.tx << ' '
95 << FIXED(10,7) << fit.ty << ' '
96 << SCIENTIFIC(12,3) << fit.tx2 << ' '
97 << SCIENTIFIC(12,3) << fit.ty2 << ' '
98 << FIXED(8,5) << fit.vs;
99
100 return out;
101 }
◆ operator>>
| JReader & operator>> |
( |
JReader & | in, |
|
|
JFit & | object ) |
|
friend |
Read fit from input.
- Parameters
-
- Returns
- reader
Definition at line 111 of file JEvt.hh.
112 {
113 in >> object.id;
114 in >> object.tx;
115 in >> object.ty;
116 in >> object.tx2;
117 in >> object.ty2;
118 in >> object.vs;
119
120 return in;
121 }
◆ operator<< [2/2]
| JWriter & operator<< |
( |
JWriter & | out, |
|
|
const JFit & | object ) |
|
friend |
Write fit to output.
- Parameters
-
- Returns
- writer
Definition at line 131 of file JEvt.hh.
132 {
133 out << object.id;
134 out << object.tx;
135 out << object.ty;
136 out << object.tx2;
137 out << object.ty2;
138 out << object.vs;
139
140 return out;
141 }
◆ id
string identifier
Definition at line 145 of file JEvt.hh.
◆ tx
| double JACOUSTICS::JFit::tx |
slope dx/dz
Definition at line 146 of file JEvt.hh.
◆ ty
| double JACOUSTICS::JFit::ty |
slope dy/dz
Definition at line 147 of file JEvt.hh.
◆ tx2
| double JACOUSTICS::JFit::tx2 |
2nd order correction of slope dx/dz
Definition at line 148 of file JEvt.hh.
◆ ty2
| double JACOUSTICS::JFit::ty2 |
2nd order correction of slope dy/dz
Definition at line 149 of file JEvt.hh.
◆ vs
| double JACOUSTICS::JFit::vs |
stretching factor
Definition at line 150 of file JEvt.hh.
The documentation for this struct was generated from the following file: