Jpp  master_rocky-43-ge265d140c
the software that should make you happy
Public Member Functions | Public Attributes | List of all members
JRECONSTRUCTION::JPerth_t Struct Reference

Auxiliary data structure for chi2 function object. More...

Public Member Functions

double operator() (const int option) const
 Get chi2. More...
 

Public Attributes

const JRegressorStorage_tstorage
 
const data_typedata
 
const size_t ns
 

Detailed Description

Auxiliary data structure for chi2 function object.

Definition at line 253 of file JPerth.cc.

Member Function Documentation

◆ operator()()

double JRECONSTRUCTION::JPerth_t::operator() ( const int  option) const
inline

Get chi2.

Parameters
optionoption
Returns
chi2/NDF

Definition at line 260 of file JPerth.cc.

261  {
262  JPerth(storage, data, ns);
263 
264  return JPerth::Q.getMean();
265  }
double getMean() const
Get mean value.
Definition: JQuantile_t.hh:60
const JRegressorStorage_t & storage
Definition: JPerth.cc:267
const data_type & data
Definition: JPerth.cc:268
Thread pool for fits to data.
Definition: JPerth.cc:139
static JMATH::JQuantile_t Q
Definition: JPerth.cc:234

Member Data Documentation

◆ storage

const JRegressorStorage_t& JRECONSTRUCTION::JPerth_t::storage

Definition at line 267 of file JPerth.cc.

◆ data

const data_type& JRECONSTRUCTION::JPerth_t::data

Definition at line 268 of file JPerth.cc.

◆ ns

const size_t JRECONSTRUCTION::JPerth_t::ns

Definition at line 269 of file JPerth.cc.


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