#include <PulseChiSqSNNLS.h>
Public Types | |
typedef BXVector::Index | Index |
Public Member Functions | |
const BXVector & | BXs () const |
double | ChiSq () const |
void | disableErrorCalculation () |
bool | DoFit (const SampleVector &samples, const SampleMatrix &samplecor, double pederr, const BXVector &bxs, const FullSampleVector &fullpulse, const FullSampleMatrix &fullpulsecov) |
const PulseVector & | Errors () const |
const SampleMatrix & | invcov () const |
PulseChiSqSNNLS () | |
const SamplePulseMatrix & | pulsemat () const |
const PulseVector & | X () const |
~PulseChiSqSNNLS () | |
Protected Member Functions | |
double | ComputeApproxUncertainty (unsigned int ipulse) |
double | ComputeChiSq () |
bool | Minimize (const SampleMatrix &samplecor, double pederr, const FullSampleMatrix &fullpulsecov) |
bool | NNLS () |
bool | updateCov (const SampleMatrix &samplecor, double pederr, const FullSampleMatrix &fullpulsecov) |
Definition at line 10 of file PulseChiSqSNNLS.h.
typedef BXVector::Index PulseChiSqSNNLS::Index |
Definition at line 13 of file PulseChiSqSNNLS.h.
PulseChiSqSNNLS::PulseChiSqSNNLS | ( | ) |
Definition at line 75 of file PulseChiSqSNNLS.cc.
PulseChiSqSNNLS::~PulseChiSqSNNLS | ( | ) |
Definition at line 84 of file PulseChiSqSNNLS.cc.
|
inline |
Definition at line 26 of file PulseChiSqSNNLS.h.
References _bxsmin.
Referenced by EcalUncalibRecHitMultiFitAlgo::makeRecHit().
|
inline |
Definition at line 28 of file PulseChiSqSNNLS.h.
References _chisq.
Referenced by EcalUncalibRecHitMultiFitAlgo::makeRecHit().
|
protected |
Definition at line 268 of file PulseChiSqSNNLS.cc.
References _covdecomp, and _pulsemat.
Referenced by DoFit().
|
protected |
Definition at line 259 of file PulseChiSqSNNLS.cc.
References _ampvec, _covdecomp, _pulsemat, and _sampvec.
Referenced by DoFit(), and Minimize().
|
inline |
Definition at line 29 of file PulseChiSqSNNLS.h.
References _computeErrors.
Referenced by EcalUncalibRecHitMultiFitAlgo::makeRecHit().
bool PulseChiSqSNNLS::DoFit | ( | const SampleVector & | samples, |
const SampleMatrix & | samplecor, | ||
double | pederr, | ||
const BXVector & | bxs, | ||
const FullSampleVector & | fullpulse, | ||
const FullSampleMatrix & | fullpulsecov | ||
) |
Definition at line 88 of file PulseChiSqSNNLS.cc.
References _ampvec, _ampvecmin, _bxs, _bxsmin, _chisq, _computeErrors, _errvec, _nP, _npulsetot, _pulsemat, _sampvec, funct::abs(), aTamat, ComputeApproxUncertainty(), ComputeChiSq(), max(), Minimize(), evf::evtn::offset(), mathSSE::sqrt(), ntuplemaker::status, std::swap(), and wvec.
Referenced by EcalUncalibRecHitMultiFitAlgo::makeRecHit().
|
inline |
Definition at line 25 of file PulseChiSqSNNLS.h.
References _errvec.
Referenced by EcalUncalibRecHitMultiFitAlgo::makeRecHit().
|
inline |
|
protected |
Definition at line 198 of file PulseChiSqSNNLS.cc.
References _chisq, funct::abs(), ComputeChiSq(), alignCSCRings::e, getDQMSummary::iter, maxiter, NNLS(), ntuplemaker::status, and updateCov().
Referenced by DoFit().
|
protected |
Definition at line 277 of file PulseChiSqSNNLS.cc.
References _ampvec, _bxs, _covdecomp, _nP, _pulsemat, _sampvec, ampvecpermtest, aTamat, aTbvec, alignCSCRings::e, eigen_solve_submatrix(), invcovp, getDQMSummary::iter, max(), std::swap(), updatework, and wvec.
Referenced by Minimize().
|
inline |
|
protected |
Definition at line 230 of file PulseChiSqSNNLS.cc.
References _ampvec, _bxs, _covdecomp, _invcov, max(), evf::evtn::offset(), and ntuplemaker::status.
Referenced by Minimize().
|
inline |
Definition at line 24 of file PulseChiSqSNNLS.h.
References _ampvecmin.
Referenced by svgfig.Curve.Sample::__repr__(), and EcalUncalibRecHitMultiFitAlgo::makeRecHit().
|
protected |
Definition at line 43 of file PulseChiSqSNNLS.h.
Referenced by ComputeChiSq(), DoFit(), NNLS(), and updateCov().
|
protected |
Definition at line 45 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 52 of file PulseChiSqSNNLS.h.
Referenced by DoFit(), NNLS(), and updateCov().
|
protected |
Definition at line 53 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 65 of file PulseChiSqSNNLS.h.
Referenced by ChiSq(), DoFit(), and Minimize().
|
protected |
Definition at line 66 of file PulseChiSqSNNLS.h.
Referenced by disableErrorCalculation(), and DoFit().
|
protected |
Definition at line 47 of file PulseChiSqSNNLS.h.
Referenced by ComputeApproxUncertainty(), ComputeChiSq(), NNLS(), and updateCov().
|
protected |
Definition at line 48 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 44 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 41 of file PulseChiSqSNNLS.h.
Referenced by invcov(), and updateCov().
|
protected |
Definition at line 55 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 54 of file PulseChiSqSNNLS.h.
Referenced by DoFit().
|
protected |
Definition at line 50 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 42 of file PulseChiSqSNNLS.h.
Referenced by ComputeApproxUncertainty(), ComputeChiSq(), DoFit(), NNLS(), and pulsemat().
|
protected |
Definition at line 40 of file PulseChiSqSNNLS.h.
Referenced by ComputeChiSq(), DoFit(), and NNLS().
|
protected |
Definition at line 49 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 63 of file PulseChiSqSNNLS.h.
Referenced by NNLS().
|
protected |
Definition at line 58 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 59 of file PulseChiSqSNNLS.h.
Referenced by NNLS().
|
protected |
Definition at line 57 of file PulseChiSqSNNLS.h.
Referenced by NNLS().
|
protected |
Definition at line 61 of file PulseChiSqSNNLS.h.
Referenced by NNLS().
|
protected |
Definition at line 60 of file PulseChiSqSNNLS.h.