DAS
3.0
Das Analysis System
|
A class to account for the correlations when fitting.
#include <Step.h>
Public Member Functions | |
Correlator (TH1 *h, TH2 *hcov, int im, int iM, FunctionalForm &ff, std::ostream &Stream=std::cout) | |
double | operator() (const double *p) |
void | SetReplica (UInt_t seed) |
void | UnsetReplica () |
Public Attributes | |
const int | n |
TVectorD | c |
TVectorD | e |
TVectorD | v |
TVectorD | w |
TVectorD | s |
TMatrixD | cov |
TMatrixD | rot |
TMatrixD | invcov |
FunctionalForm & | f |
std::ostream & | stream |
|
inline |
Constructor
Performs first sanity checks, then converts histograms to vector/matrix.
h | input histogram (normalised to bin width if appropriate) |
hcov | covariance histogram |
im | first bin where to start the fit |
iM | last bin where to stop the fit |
ff | fit function |
Stream | stream (e.g. `cout`) |
|
inline |
|
inline |
TVectorD c |
bin center
TMatrixD cov |
covariance matrix
TVectorD e |
bin edge
fit function
TMatrixD invcov |
inverse of covariance matrix
const int n |
#bins
TMatrixD rot |
rotation matrix
TVectorD s |
sqrt(eigenvalues)
std::ostream& stream |
stream (e.g. cout
or file)
TVectorD v |
xsection value
TVectorD w |
replica