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

Acoustic transmission. More...

#include <JTransmission.hh>

Inheritance diagram for JACOUSTICS::JTransmission:
TObject JACOUSTICS::hit_type

Classes

struct  compare
 Auxiliary class to compare transmissions. More...
 
struct  equals
 Auxiliary class to compare transmissions. More...
 

Public Member Functions

 JTransmission ()
 Default constructor. More...
 
 JTransmission (const int run, const int id, const double Q, const double toa_s, const double toe_s)
 Constructor. More...
 
virtual ~JTransmission ()
 Virtual destructor. More...
 
int getRunNumber () const
 Get run number. More...
 
int getID () const
 Get identifier. More...
 
double getQ () const
 Get quality. More...
 
double getToA () const
 Get calibrated time of arrival. More...
 
double getToE () const
 Get estimated time of emission. More...
 
void setToE (const double toe)
 Set estimated time of emission. More...
 
 ClassDef (JTransmission, 2)
 

Protected Attributes

int run
 
int id
 
double q
 
double toa
 
double toe
 

Detailed Description

Acoustic transmission.

Definition at line 24 of file JTransmission.hh.

Constructor & Destructor Documentation

JACOUSTICS::JTransmission::JTransmission ( )
inline

Default constructor.

Definition at line 30 of file JTransmission.hh.

30  :
31  run(-1),
32  id (-1),
33  q (0.0),
34  toa(0.0),
35  toe(0.0)
36  {}
JACOUSTICS::JTransmission::JTransmission ( const int  run,
const int  id,
const double  Q,
const double  toa_s,
const double  toe_s 
)
inline

Constructor.

Parameters
runrun number
ididentifier
Qquality
toa_stime-of-arrival [s]
toe_stime-of-emission [s]

Definition at line 48 of file JTransmission.hh.

52  :
53  run(run),
54  id (id),
55  q (Q),
56  toa(toa_s),
57  toe(toe_s)
58  {}
Q(UTCMax_s-UTCMin_s)-livetime_s
virtual JACOUSTICS::JTransmission::~JTransmission ( )
inlinevirtual

Virtual destructor.

Definition at line 64 of file JTransmission.hh.

65  {}

Member Function Documentation

int JACOUSTICS::JTransmission::getRunNumber ( ) const
inline

Get run number.

Returns
run number

Definition at line 73 of file JTransmission.hh.

74  {
75  return run;
76  }
int JACOUSTICS::JTransmission::getID ( ) const
inline

Get identifier.

Returns
identifier

Definition at line 84 of file JTransmission.hh.

85  {
86  return id;
87  }
double JACOUSTICS::JTransmission::getQ ( ) const
inline

Get quality.

Returns
quality

Definition at line 95 of file JTransmission.hh.

96  {
97  return q;
98  }
double JACOUSTICS::JTransmission::getToA ( ) const
inline

Get calibrated time of arrival.

Returns
time [s]

Definition at line 106 of file JTransmission.hh.

107  {
108  return toa;
109  }
double JACOUSTICS::JTransmission::getToE ( ) const
inline

Get estimated time of emission.

Returns
time [s]

Definition at line 117 of file JTransmission.hh.

118  {
119  return toe;
120  }
void JACOUSTICS::JTransmission::setToE ( const double  toe)
inline

Set estimated time of emission.

Parameters
toetime [s]

Definition at line 128 of file JTransmission.hh.

129  {
130  this->toe = toe;
131  }
JACOUSTICS::JTransmission::ClassDef ( JTransmission  ,
 
)

Member Data Documentation

int JACOUSTICS::JTransmission::run
protected

Definition at line 211 of file JTransmission.hh.

int JACOUSTICS::JTransmission::id
protected

Definition at line 212 of file JTransmission.hh.

double JACOUSTICS::JTransmission::q
protected

Definition at line 213 of file JTransmission.hh.

double JACOUSTICS::JTransmission::toa
protected

Definition at line 214 of file JTransmission.hh.

double JACOUSTICS::JTransmission::toe
protected

Definition at line 215 of file JTransmission.hh.


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