Jpp  17.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Friends | List of all members
JACOUSTICS::JFit Struct Reference

Acoustic single fit. More...

#include <JEvt.hh>

Inheritance diagram for JACOUSTICS::JFit:
TObject

Public Member Functions

 JFit ()
 Default constructor. More...
 
 JFit (const int id, const double tx, const double ty, const double tx2, const double ty2, const double vs)
 Constructor. More...
 
virtual ~JFit ()
 Virtual destructor. More...
 
 ClassDef (JFit, 2)
 

Public Attributes

int id
 string identifier More...
 
double tx
 slope dx/dz More...
 
double ty
 slope dy/dz More...
 
double tx2
 2nd order correction of slope dx/dz More...
 
double ty2
 2nd order correction of slope dy/dz More...
 
double vs
 stretching factor More...
 

Friends

std::ostream & operator<< (std::ostream &out, const JFit &fit)
 Write fit to output. More...
 

Detailed Description

Acoustic single fit.

Definition at line 29 of file JAcoustics/JEvt.hh.

Constructor & Destructor Documentation

JACOUSTICS::JFit::JFit ( )
inline

Default constructor.

Definition at line 35 of file JAcoustics/JEvt.hh.

35  :
36  id (-1),
37  tx (0.0),
38  ty (0.0),
39  tx2(0.0),
40  ty2(0.0),
41  vs (0.0)
42  {}
int id
string identifier
double ty
slope dy/dz
double tx
slope dx/dz
double ty2
2nd order correction of slope dy/dz
double vs
stretching factor
double tx2
2nd order correction of slope dx/dz
JACOUSTICS::JFit::JFit ( const int  id,
const double  tx,
const double  ty,
const double  tx2,
const double  ty2,
const double  vs 
)
inline

Constructor.

Parameters
idstring identifier
txslope dx/dz
tyslope dy/dz
tx22nd order correction of slope dx/dz
ty22nd order correction of slope dy/dz
vsstretching factor

Definition at line 55 of file JAcoustics/JEvt.hh.

60  :
61  id (id),
62  tx (tx),
63  ty (ty),
64  tx2(tx2),
65  ty2(ty2),
66  vs (vs)
67  {}
int id
string identifier
double ty
slope dy/dz
double tx
slope dx/dz
double ty2
2nd order correction of slope dy/dz
double vs
stretching factor
double tx2
2nd order correction of slope dx/dz
virtual JACOUSTICS::JFit::~JFit ( )
inlinevirtual

Virtual destructor.

Definition at line 73 of file JAcoustics/JEvt.hh.

74  {}

Member Function Documentation

JACOUSTICS::JFit::ClassDef ( JFit  ,
 
)

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const JFit fit 
)
friend

Write fit to output.

Parameters
outoutput stream
fitfit
Returns
output stream

Definition at line 84 of file JAcoustics/JEvt.hh.

85  {
86  using namespace std;
87 
88  out << setw(4) << fit.id << ' '
89  << FIXED(10,7) << fit.tx << ' '
90  << FIXED(10,7) << fit.ty << ' '
91  << SCIENTIFIC(12,3) << fit.tx2 << ' '
92  << SCIENTIFIC(12,3) << fit.ty2 << ' '
93  << FIXED(8,5) << fit.vs;
94 
95  return out;
96  }
int id
string identifier
Auxiliary data structure for floating point format specification.
Definition: JManip.hh:446
double ty
slope dy/dz
double tx
slope dx/dz
double ty2
2nd order correction of slope dy/dz
double vs
stretching factor
double tx2
2nd order correction of slope dx/dz
Auxiliary data structure for floating point format specification.
Definition: JManip.hh:484

Member Data Documentation

int JACOUSTICS::JFit::id

string identifier

Definition at line 101 of file JAcoustics/JEvt.hh.

double JACOUSTICS::JFit::tx

slope dx/dz

Definition at line 102 of file JAcoustics/JEvt.hh.

double JACOUSTICS::JFit::ty

slope dy/dz

Definition at line 103 of file JAcoustics/JEvt.hh.

double JACOUSTICS::JFit::tx2

2nd order correction of slope dx/dz

Definition at line 104 of file JAcoustics/JEvt.hh.

double JACOUSTICS::JFit::ty2

2nd order correction of slope dy/dz

Definition at line 105 of file JAcoustics/JEvt.hh.

double JACOUSTICS::JFit::vs

stretching factor

Definition at line 106 of file JAcoustics/JEvt.hh.


The documentation for this struct was generated from the following file: