String parameters.  
 More...
#include <JModel.hh>
String parameters. 
Definition at line 59 of file JAcoustics/JModel.hh.
 
◆ JString() [1/2]
  
  
      
        
          | JACOUSTICS::JMODEL::JString::JString  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JString() [2/2]
  
  
      
        
          | JACOUSTICS::JMODEL::JString::JString  | 
          ( | 
          const double  | 
          tx,  | 
         
        
           | 
           | 
          const double  | 
          ty,  | 
         
        
           | 
           | 
          const double  | 
          tx2 = 0.0,  | 
         
        
           | 
           | 
          const double  | 
          ty2 = 0.0,  | 
         
        
           | 
           | 
          const double  | 
          vs = 0.0  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | 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 84 of file JAcoustics/JModel.hh.
 
 
◆ getN()
Get number of fit parameters. 
- Parameters
 - 
  
  
 
- Returns
 - number of parameters 
 
Definition at line 103 of file JAcoustics/JModel.hh.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
Exception for accessing a value in a collection that is outside of its range.
 
@ FIT_EMITTERS_AND_STRINGS_1st_ORDER_t
fit times of emission of emitters and tilt angles of strings
 
@ FIT_EMITTERS_AND_STRINGS_2nd_ORDER_t
fit times of emission of emitters and tilt angles of strings with second order correction
 
@ FIT_UNDEFINED_t
fit undefined
 
@ FIT_EMITTERS_ONLY_t
fit only times of emission of emitters
 
@ FIT_EMITTERS_AND_STRINGS_2nd_ORDER_AND_STRETCHING_t
fit times of emission of emitters and tilt angles of strings with second order correction and stretch...
 
 
 
 
◆ negate()
  
  
      
        
          | JString& JACOUSTICS::JMODEL::JString::negate  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ add()
◆ sub()
◆ mul() [1/2]
  
  
      
        
          | JString& JACOUSTICS::JMODEL::JString::mul  | 
          ( | 
          const double  | 
          factor | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Scale string. 
- Parameters
 - 
  
    | factor | multiplication factor  | 
  
   
- Returns
 - this string 
 
Definition at line 185 of file JAcoustics/JModel.hh.
 
 
◆ div()
  
  
      
        
          | JString& JACOUSTICS::JMODEL::JString::div  | 
          ( | 
          const double  | 
          factor | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ equals()
  
  
      
        
          | bool JACOUSTICS::JMODEL::JString::equals  | 
          ( | 
          const JString &  | 
          string,  | 
         
        
           | 
           | 
          const double  | 
          precision = std::numeric_limits<double>::min()  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
Check equality. 
- Parameters
 - 
  
    | string | string  | 
    | precision | precision  | 
  
   
- Returns
 - true if strings are equal; else false 
 
Definition at line 222 of file JAcoustics/JModel.hh.
  225         return (fabs(
tx  - 
string.
tx)  <= precision &&
 
  226                 fabs(
ty  - 
string.
ty)  <= precision &&
 
  227                 fabs(
tx2 - 
string.
tx2) <= precision &&
 
  228                 fabs(
ty2 - 
string.
ty2) <= precision &&
 
  229                 fabs(
vs  - 
string.
vs)  <= precision);
 
 
 
 
◆ getLengthSquared()
  
  
      
        
          | double JACOUSTICS::JMODEL::JString::getLengthSquared  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getLength()
  
  
      
        
          | double JACOUSTICS::JMODEL::JString::getLength  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get length. 
- Returns
 - length 
 
Definition at line 249 of file JAcoustics/JModel.hh.
double getLengthSquared() const
Get length squared.
 
 
 
 
◆ getAngle()
  
  
      
        
          | double JACOUSTICS::JMODEL::JString::getAngle  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getDot()
  
  
      
        
          | double JACOUSTICS::JMODEL::JString::getDot  | 
          ( | 
          const JString &  | 
          string | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ mul() [2/2]
template<class JFirst_t , class JSecond_t > 
  
  
      
        
          | JFirst_t& JMATH::JMath< JFirst_t, JSecond_t >::mul  | 
          ( | 
          const JSecond_t &  | 
          object | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Multiply with object. 
- Parameters
 - 
  
  
 
- Returns
 - result object 
 
Definition at line 354 of file JMath.hh.
  356       return static_cast<JFirst_t&
>(*this) = JFirst_t().mul(
static_cast<const JFirst_t&
>(*
this), 
object);
 
 
 
 
◆ operator>>
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          JString &  | 
          string  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Read string parameters from input stream. 
- Parameters
 - 
  
    | in | input stream  | 
    | string | string  | 
  
   
- Returns
 - input stream 
 
Definition at line 289 of file JAcoustics/JModel.hh.
  291         return in >> 
string.tx >> 
string.ty >> 
string.tx2 >> 
string.ty2 >> 
string.vs;
 
 
 
 
◆ operator<<
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JString &  | 
          string  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write string parameters to output stream. 
- Parameters
 - 
  
    | out | output stream  | 
    | string | string  | 
  
   
- Returns
 - output stream 
 
Definition at line 302 of file JAcoustics/JModel.hh.
  307         return out << 
FIXED(10,7)      << 
string.tx  << 
' ' 
  308                    << 
FIXED(10,7)      << 
string.ty  << 
' ' 
  311                    << 
FIXED(8,5)       << 
string.vs;
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Auxiliary data structure for floating point format specification.
 
Auxiliary data structure for floating point format specification.
 
 
 
 
◆ tx
      
        
          | double JACOUSTICS::JMODEL::JString::tx | 
        
      
 
 
◆ ty
      
        
          | double JACOUSTICS::JMODEL::JString::ty | 
        
      
 
 
◆ tx2
      
        
          | double JACOUSTICS::JMODEL::JString::tx2 | 
        
      
 
 
◆ ty2
      
        
          | double JACOUSTICS::JMODEL::JString::ty2 | 
        
      
 
 
◆ vs
      
        
          | double JACOUSTICS::JMODEL::JString::vs | 
        
      
 
 
The documentation for this struct was generated from the following file: