FairRoot/PandaRoot
|
#include <PndEmcPSAFPGALinFitter.h>
Public Member Functions | |
PndEmcPSAFPGALinFitter () | |
~PndEmcPSAFPGALinFitter () | |
void | reset () |
void | putPoint (double ix, double iy) |
void | fit () |
double | offset () |
double | slope () |
double | average () |
double | averageX () |
Private Attributes | |
double | x |
double | xx |
double | xy |
double | y |
double | a |
double | k |
unsigned int | Np |
Definition at line 4 of file PndEmcPSAFPGALinFitter.h.
PndEmcPSAFPGALinFitter::PndEmcPSAFPGALinFitter | ( | ) |
PndEmcPSAFPGALinFitter::~PndEmcPSAFPGALinFitter | ( | ) |
Definition at line 8 of file PndEmcPSAFPGALinFitter.cxx.
double PndEmcPSAFPGALinFitter::average | ( | ) |
Definition at line 47 of file PndEmcPSAFPGALinFitter.cxx.
double PndEmcPSAFPGALinFitter::averageX | ( | ) |
Definition at line 53 of file PndEmcPSAFPGALinFitter.cxx.
void PndEmcPSAFPGALinFitter::fit | ( | ) |
Definition at line 27 of file PndEmcPSAFPGALinFitter.cxx.
References a, k, Np, x, xx, xy, and y.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::put(), PndEmcPSAFPGAIntegratingAnalyser::put(), and PndEmcPSAFPGAPileupAnalyser::put().
double PndEmcPSAFPGALinFitter::offset | ( | ) |
Definition at line 37 of file PndEmcPSAFPGALinFitter.cxx.
References a.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::put(), PndEmcPSAFPGAIntegratingAnalyser::put(), and PndEmcPSAFPGAPileupAnalyser::put().
void PndEmcPSAFPGALinFitter::putPoint | ( | double | ix, |
double | iy | ||
) |
Definition at line 18 of file PndEmcPSAFPGALinFitter.cxx.
References Np, x, xx, xy, and y.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::put(), PndEmcPSAFPGAIntegratingAnalyser::put(), and PndEmcPSAFPGAPileupAnalyser::put().
void PndEmcPSAFPGALinFitter::reset | ( | ) |
Definition at line 11 of file PndEmcPSAFPGALinFitter.cxx.
References Np, x, xx, xy, and y.
Referenced by PndEmcPSAFPGALinFitter(), PndEmcPSAFPGAIntegratingAnalyser::put(), PndEmcPSAFPGADigitalFilterAnalyser::put(), and PndEmcPSAFPGAPileupAnalyser::put().
double PndEmcPSAFPGALinFitter::slope | ( | ) |
Definition at line 42 of file PndEmcPSAFPGALinFitter.cxx.
References k.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::put(), PndEmcPSAFPGAIntegratingAnalyser::put(), and PndEmcPSAFPGAPileupAnalyser::put().
|
private |
Definition at line 20 of file PndEmcPSAFPGALinFitter.h.
|
private |
Definition at line 20 of file PndEmcPSAFPGALinFitter.h.
|
private |
Definition at line 21 of file PndEmcPSAFPGALinFitter.h.
Referenced by average(), averageX(), fit(), putPoint(), and reset().
|
private |
Definition at line 16 of file PndEmcPSAFPGALinFitter.h.
Referenced by averageX(), fit(), putPoint(), and reset().
|
private |
Definition at line 17 of file PndEmcPSAFPGALinFitter.h.
Referenced by fit(), putPoint(), and reset().
|
private |
Definition at line 18 of file PndEmcPSAFPGALinFitter.h.
Referenced by fit(), putPoint(), and reset().
|
private |
Definition at line 19 of file PndEmcPSAFPGALinFitter.h.
Referenced by average(), fit(), putPoint(), and reset().