Jpp  18.2.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::JSydney::JParameters_t Struct Reference

Extended data structure for parameters of stage. More...

Inheritance diagram for JACOUSTICS::JSydney::JParameters_t:
JACOUSTICS::JFitParameters TObject

Public Member Functions

 JParameters_t ()
 Default constuctor. More...
 
 ClassDef (JFitParameters, 3)
 

Public Attributes

size_t Nmax
 
size_t Nextra
 
double epsilon
 
int debug
 
std::vector< double > steps
 
double Qmin
 minimal quality transmission More...
 
int mestimator
 M-estimator. More...
 
double sigma_s
 time-of-arrival resolution [s] More...
 
double Tmax_s
 time window to combine events [s] More...
 
size_t Nmin
 minimum number of emitters More...
 
double stdev
 standard deviation for outlier removal More...
 
int option
 fit option More...
 
double chi2perNDF
 maximal chi2/NDF to store event More...
 
double deadTime_s
 dead time between events [s] More...
 

Friends

std::istream & operator>> (std::istream &in, JParameters_t &object)
 Read parameters from input stream. More...
 
std::ostream & operator<< (std::ostream &out, const JParameters_t &object)
 Write parameters to output stream. More...
 

Detailed Description

Extended data structure for parameters of stage.

Definition at line 482 of file JSydney.cc.

Constructor & Destructor Documentation

JACOUSTICS::JSydney::JParameters_t::JParameters_t ( )
inline

Default constuctor.

Definition at line 488 of file JSydney.cc.

488  :
489  Nmax (std::numeric_limits<size_t>::max()),
490  Nextra (0),
491  epsilon(1.0e-4),
492  debug (3)
493  {}

Member Function Documentation

JACOUSTICS::JFitParameters::ClassDef ( JFitParameters  ,
 
)
inherited

Friends And Related Function Documentation

std::istream& operator>> ( std::istream &  in,
JParameters_t object 
)
friend

Read parameters from input stream.

Parameters
ininput stream
objectparameters
Returns
input stream

Definition at line 503 of file JSydney.cc.

504  {
505  object = JParameters_t();
506 
507  in >> object.option
508  >> object.mestimator
509  >> object.sigma_s
510  >> object.stdev
511  >> object.Nextra;
512 
513  if (in) {
514 
515  for (double value; in >> value; ) {
516  object.steps.push_back(value);
517  }
518 
519  if (!in.bad()) {
520  in.clear();
521  }
522  }
523 
524  return in;
525  }
JParameters_t()
Default constuctor.
Definition: JSydney.cc:488
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
Definition: JCanberra.sh:46
std::ostream& operator<< ( std::ostream &  out,
const JParameters_t object 
)
friend

Write parameters to output stream.

Parameters
outoutput stream
objectparameters
Returns
output stream

Definition at line 535 of file JSydney.cc.

536  {
537  using namespace std;
538 
539  out << setw(2) << object.option << ' '
540  << setw(2) << object.mestimator << ' '
541  << SCIENTIFIC(9,3) << object.sigma_s << ' '
542  << SCIENTIFIC(9,3) << object.stdev << ' '
543  << setw(3) << object.Nextra;
544 
545  for (const double value : object.steps) {
546  out << ' ' << FIXED(9,5) << value;
547  }
548 
549  return out;
550  }
Auxiliary data structure for floating point format specification.
Definition: JManip.hh:446
std::vector< double > steps
Definition: JSydney.cc:556
Auxiliary data structure for floating point format specification.
Definition: JManip.hh:484

Member Data Documentation

size_t JACOUSTICS::JSydney::JParameters_t::Nmax

Definition at line 552 of file JSydney.cc.

size_t JACOUSTICS::JSydney::JParameters_t::Nextra

Definition at line 553 of file JSydney.cc.

double JACOUSTICS::JSydney::JParameters_t::epsilon

Definition at line 554 of file JSydney.cc.

int JACOUSTICS::JSydney::JParameters_t::debug

Definition at line 555 of file JSydney.cc.

std::vector<double> JACOUSTICS::JSydney::JParameters_t::steps

Definition at line 556 of file JSydney.cc.

double JACOUSTICS::JFitParameters::Qmin
inherited

minimal quality transmission

Definition at line 62 of file JFitParameters.hh.

int JACOUSTICS::JFitParameters::mestimator
inherited

M-estimator.

Definition at line 63 of file JFitParameters.hh.

double JACOUSTICS::JFitParameters::sigma_s
inherited

time-of-arrival resolution [s]

Definition at line 64 of file JFitParameters.hh.

double JACOUSTICS::JFitParameters::Tmax_s
inherited

time window to combine events [s]

Definition at line 65 of file JFitParameters.hh.

size_t JACOUSTICS::JFitParameters::Nmin
inherited

minimum number of emitters

Definition at line 66 of file JFitParameters.hh.

double JACOUSTICS::JFitParameters::stdev
inherited

standard deviation for outlier removal

Definition at line 67 of file JFitParameters.hh.

int JACOUSTICS::JFitParameters::option
inherited

fit option

Definition at line 68 of file JFitParameters.hh.

double JACOUSTICS::JFitParameters::chi2perNDF
inherited

maximal chi2/NDF to store event

Definition at line 69 of file JFitParameters.hh.

double JACOUSTICS::JFitParameters::deadTime_s
inherited

dead time between events [s]

Definition at line 70 of file JFitParameters.hh.


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