Jpp 20.0.0-195-g190c9e876
the software that should make you happy
Loading...
Searching...
No Matches
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.
 
 ClassDef (JFitParameters, 3)
 

Public Attributes

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

Friends

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

Detailed Description

Extended data structure for parameters of stage.

Definition at line 514 of file JSydney.cc.

Constructor & Destructor Documentation

◆ JParameters_t()

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

Default constuctor.

Definition at line 520 of file JSydney.cc.

520 :
521 Nmax (std::numeric_limits<size_t>::max()),
522 Nextra (0),
523 epsilon(1.0e-4),
524 debug (3)
525 {}

Member Function Documentation

◆ ClassDef()

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

Friends And Related Symbol 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 535 of file JSydney.cc.

536 {
537 object = JParameters_t();
538
539 in >> object.option
540 >> object.mestimator
541 >> object.sigma_s
542 >> object.stdev
543 >> object.Nextra;
544
545 if (in) {
546
547 for (double value; in >> value; ) {
548 object.steps.push_back(value);
549 }
550
551 if (!in.bad()) {
552 in.clear();
553 }
554 }
555
556 return in;
557 }
JParameters_t()
Default constuctor.
Definition JSydney.cc:520

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

568 {
569 using namespace std;
570
571 out << setw(2) << object.option << ' '
572 << setw(2) << object.mestimator << ' '
573 << SCIENTIFIC(9,3) << object.sigma_s << ' '
574 << SCIENTIFIC(9,3) << object.stdev << ' '
575 << setw(3) << object.Nextra;
576
577 for (const double value : object.steps) {
578 out << ' ' << FIXED(9,5) << value;
579 }
580
581 return out;
582 }
Auxiliary data structure for floating point format specification.
Definition JManip.hh:448
std::vector< double > steps
Definition JSydney.cc:588
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 584 of file JSydney.cc.

◆ Nextra

size_t JACOUSTICS::JSydney::JParameters_t::Nextra

Definition at line 585 of file JSydney.cc.

◆ epsilon

double JACOUSTICS::JSydney::JParameters_t::epsilon

Definition at line 586 of file JSydney.cc.

◆ debug

int JACOUSTICS::JSydney::JParameters_t::debug

Definition at line 587 of file JSydney.cc.

◆ steps

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

Definition at line 588 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 (see JFIT::JMEstimator_t)

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 (see JACOUSTICS::JMODEL::JOption_t)

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: