Jpp  17.3.0
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 W, 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 getW () const
 Get normalisation. 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, 3)
 

Protected Attributes

int run
 
int id
 
double q
 
double w
 
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  w (0.0),
35  toa(0.0),
36  toe(0.0)
37  {}
JACOUSTICS::JTransmission::JTransmission ( const int  run,
const int  id,
const double  Q,
const double  W,
const double  toa_s,
const double  toe_s 
)
inline

Constructor.

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

Definition at line 50 of file JTransmission.hh.

55  :
56  run(run),
57  id (id),
58  q (Q),
59  w (W),
60  toa(toa_s),
61  toe(toe_s)
62  {}
Q(UTCMax_s-UTCMin_s)-livetime_s
virtual JACOUSTICS::JTransmission::~JTransmission ( )
inlinevirtual

Virtual destructor.

Definition at line 68 of file JTransmission.hh.

69  {}

Member Function Documentation

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

Get run number.

Returns
run number

Definition at line 77 of file JTransmission.hh.

78  {
79  return run;
80  }
int JACOUSTICS::JTransmission::getID ( ) const
inline

Get identifier.

Returns
identifier

Definition at line 88 of file JTransmission.hh.

89  {
90  return id;
91  }
double JACOUSTICS::JTransmission::getQ ( ) const
inline

Get quality.

Returns
quality

Definition at line 99 of file JTransmission.hh.

100  {
101  return q;
102  }
double JACOUSTICS::JTransmission::getW ( ) const
inline

Get normalisation.

Returns
normalisation

Definition at line 110 of file JTransmission.hh.

111  {
112  return w;
113  }
double JACOUSTICS::JTransmission::getToA ( ) const
inline

Get calibrated time of arrival.

Returns
time [s]

Definition at line 121 of file JTransmission.hh.

122  {
123  return toa;
124  }
double JACOUSTICS::JTransmission::getToE ( ) const
inline

Get estimated time of emission.

Returns
time [s]

Definition at line 132 of file JTransmission.hh.

133  {
134  return toe;
135  }
void JACOUSTICS::JTransmission::setToE ( const double  toe)
inline

Set estimated time of emission.

Parameters
toetime [s]

Definition at line 143 of file JTransmission.hh.

144  {
145  this->toe = toe;
146  }
JACOUSTICS::JTransmission::ClassDef ( JTransmission  ,
 
)

Member Data Documentation

int JACOUSTICS::JTransmission::run
protected

Definition at line 226 of file JTransmission.hh.

int JACOUSTICS::JTransmission::id
protected

Definition at line 227 of file JTransmission.hh.

double JACOUSTICS::JTransmission::q
protected

Definition at line 228 of file JTransmission.hh.

double JACOUSTICS::JTransmission::w
protected

Definition at line 229 of file JTransmission.hh.

double JACOUSTICS::JTransmission::toa
protected

Definition at line 230 of file JTransmission.hh.

double JACOUSTICS::JTransmission::toe
protected

Definition at line 231 of file JTransmission.hh.


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