Jpp
 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)
 Constructor. More...
 
virtual ~JFit ()
 Virtual destructor. More...
 
 ClassDef (JFit, 1)
 

Public Attributes

int id
 string identifier More...
 
double tx
 slope dx/dz More...
 
double ty
 slope dy/dz 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  {}
int id
string identifier
double ty
slope dy/dz
double tx
slope dx/dz
JACOUSTICS::JFit::JFit ( const int  id,
const double  tx,
const double  ty 
)
inline

Constructor.

Parameters
idstring identifier
txslope dx/dz
tyslope dy/dz

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

51  :
52  id(id),
53  tx(tx),
54  ty(ty)
55  {}
int id
string identifier
double ty
slope dy/dz
double tx
slope dx/dz
virtual JACOUSTICS::JFit::~JFit ( )
inlinevirtual

Virtual destructor.

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

62  {}

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 72 of file JAcoustics/JEvt.hh.

73  {
74  using namespace std;
75 
76  out << setw(4) << fit.id << ' '
77  << FIXED(9,6) << fit.tx << ' '
78  << FIXED(9,6) << fit.ty;
79 
80  return out;
81  }
int id
string identifier
Auxiliary data structure for floating point format specification.
Definition: JManip.hh:445
double ty
slope dy/dz
double tx
slope dx/dz

Member Data Documentation

int JACOUSTICS::JFit::id

string identifier

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

double JACOUSTICS::JFit::tx

slope dx/dz

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

double JACOUSTICS::JFit::ty

slope dy/dz

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


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