Jpp  master_rocky-37-gf0c5bc59d
the software that should make you happy
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 497 of file JSydney.cc.

Constructor & Destructor Documentation

◆ JParameters_t()

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

Default constuctor.

Definition at line 503 of file JSydney.cc.

503  :
504  Nmax (std::numeric_limits<size_t>::max()),
505  Nextra (0),
506  epsilon(1.0e-4),
507  debug (3)
508  {}

Member Function Documentation

◆ ClassDef()

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

Friends And Related Function Documentation

◆ operator>>

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 518 of file JSydney.cc.

519  {
520  object = JParameters_t();
521 
522  in >> object.option
523  >> object.mestimator
524  >> object.sigma_s
525  >> object.stdev
526  >> object.Nextra;
527 
528  if (in) {
529 
530  for (double value; in >> value; ) {
531  object.steps.push_back(value);
532  }
533 
534  if (!in.bad()) {
535  in.clear();
536  }
537  }
538 
539  return in;
540  }
JParameters_t()
Default constuctor.
Definition: JSydney.cc:503

◆ operator<<

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 550 of file JSydney.cc.

551  {
552  using namespace std;
553 
554  out << setw(2) << object.option << ' '
555  << setw(2) << object.mestimator << ' '
556  << SCIENTIFIC(9,3) << object.sigma_s << ' '
557  << SCIENTIFIC(9,3) << object.stdev << ' '
558  << setw(3) << object.Nextra;
559 
560  for (const double value : object.steps) {
561  out << ' ' << FIXED(9,5) << value;
562  }
563 
564  return out;
565  }
Definition: JSTDTypes.hh:14
Auxiliary data structure for floating point format specification.
Definition: JManip.hh:448
std::vector< double > steps
Definition: JSydney.cc:571
Auxiliary data structure for floating point format specification.
Definition: JManip.hh:488

Member Data Documentation

◆ Nmax

size_t JACOUSTICS::JSydney::JParameters_t::Nmax

Definition at line 567 of file JSydney.cc.

◆ Nextra

size_t JACOUSTICS::JSydney::JParameters_t::Nextra

Definition at line 568 of file JSydney.cc.

◆ epsilon

double JACOUSTICS::JSydney::JParameters_t::epsilon

Definition at line 569 of file JSydney.cc.

◆ debug

int JACOUSTICS::JSydney::JParameters_t::debug

Definition at line 570 of file JSydney.cc.

◆ steps

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

Definition at line 571 of file JSydney.cc.

◆ Qmin

double JACOUSTICS::JFitParameters::Qmin
inherited

minimal quality transmission

Definition at line 62 of file JFitParameters.hh.

◆ mestimator

int JACOUSTICS::JFitParameters::mestimator
inherited

M-estimator.

Definition at line 63 of file JFitParameters.hh.

◆ sigma_s

double JACOUSTICS::JFitParameters::sigma_s
inherited

time-of-arrival resolution [s]

Definition at line 64 of file JFitParameters.hh.

◆ Tmax_s

double JACOUSTICS::JFitParameters::Tmax_s
inherited

time window to combine events [s]

Definition at line 65 of file JFitParameters.hh.

◆ Nmin

size_t JACOUSTICS::JFitParameters::Nmin
inherited

minimum number of emitters

Definition at line 66 of file JFitParameters.hh.

◆ stdev

double JACOUSTICS::JFitParameters::stdev
inherited

standard deviation for outlier removal

Definition at line 67 of file JFitParameters.hh.

◆ option

int JACOUSTICS::JFitParameters::option
inherited

fit option

Definition at line 68 of file JFitParameters.hh.

◆ chi2perNDF

double JACOUSTICS::JFitParameters::chi2perNDF
inherited

maximal chi2/NDF to store event

Definition at line 69 of file JFitParameters.hh.

◆ deadTime_s

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: