pflib v3.9.5-8-gf71a60f
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
pflib::algorithm::DataFitter Class Reference

Data class that stores information about each point in a 1d space. More...

#include <inv_vref_lund.h>

Collaboration diagram for pflib::algorithm::DataFitter:
[legend]

Classes

struct  Point
 

Public Member Functions

void sort_and_append (std::vector< int > &inv_vrefs, std::vector< int > &pedestals, std::vector< double > &stds, int &step)
 
int fit (int target)
 

Public Attributes

std::vector< Pointlinear_
 
std::vector< Pointnonlinear_
 
int LH_median_
 
double LH_std_median_
 
int RH_median_
 

Detailed Description

Data class that stores information about each point in a 1d space.

sort_and_append() sorts the data according to inv_vref selections that locate a linear region in the INV_VREF parameter space, and then appends to each Point fit() fits the linear region according to a standard linear fit.


The documentation for this class was generated from the following files: