#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 |
void | setMaxIters (int n) |
void | setMaxIterWarnings (bool b) |
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 | OnePulseMinimize () |
bool | updateCov (const SampleMatrix &samplecor, double pederr, const FullSampleMatrix &fullpulsecov) |
Protected Attributes | |
PulseVector | _ampvec |
PulseVector | _ampvecmin |
BXVector | _bxs |
BXVector | _bxsmin |
double | _chisq |
bool | _computeErrors |
SampleDecompLLT | _covdecomp |
SampleMatrix | _covdecompLinv |
PulseVector | _errvec |
SampleMatrix | _invcov |
int | _maxiters |
bool | _maxiterwarnings |
unsigned int | _nP |
unsigned int | _npulsetot |
PulseDecompLDLT | _pulsedecomp |
SamplePulseMatrix | _pulsemat |
SampleVector | _sampvec |
PulseMatrix | _topleft_work |
PulseVector | ampvecpermtest |
PulseMatrix | aTamat |
PulseVector | aTbvec |
SamplePulseMatrix | invcovp |
PulseVector | updatework |
PulseVector | wvec |
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 86 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 282 of file PulseChiSqSNNLS.cc.
|
protected |
Definition at line 273 of file PulseChiSqSNNLS.cc.
|
inline |
Definition at line 29 of file PulseChiSqSNNLS.h.
References _computeErrors.
Referenced by EcalUncalibRecHitMultiFitAlgo::EcalUncalibRecHitMultiFitAlgo(), and 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 90 of file PulseChiSqSNNLS.cc.
Referenced by EcalUncalibRecHitMultiFitAlgo::makeRecHit().
|
inline |
Definition at line 25 of file PulseChiSqSNNLS.h.
References _errvec.
Referenced by EcalUncalibRecHitMultiFitAlgo::makeRecHit().
|
inline |
|
protected |
Definition at line 204 of file PulseChiSqSNNLS.cc.
|
protected |
Definition at line 291 of file PulseChiSqSNNLS.cc.
|
protected |
Definition at line 407 of file PulseChiSqSNNLS.cc.
|
inline |
|
inline |
Definition at line 30 of file PulseChiSqSNNLS.h.
References _maxiters, and gen::n.
Referenced by EcalUncalibRecHitMultiFitAlgo::EcalUncalibRecHitMultiFitAlgo().
|
inline |
Definition at line 31 of file PulseChiSqSNNLS.h.
References _maxiterwarnings, and b.
Referenced by EcalUncalibRecHitMultiFitAlgo::EcalUncalibRecHitMultiFitAlgo().
|
protected |
Definition at line 244 of file PulseChiSqSNNLS.cc.
|
inline |
Definition at line 24 of file PulseChiSqSNNLS.h.
References _ampvecmin.
Referenced by EcalUncalibRecHitMultiFitAlgo::makeRecHit().
|
protected |
Definition at line 46 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 48 of file PulseChiSqSNNLS.h.
Referenced by X().
|
protected |
Definition at line 55 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 56 of file PulseChiSqSNNLS.h.
Referenced by BXs().
|
protected |
Definition at line 68 of file PulseChiSqSNNLS.h.
Referenced by ChiSq().
|
protected |
Definition at line 69 of file PulseChiSqSNNLS.h.
Referenced by disableErrorCalculation().
|
protected |
Definition at line 50 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 51 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 47 of file PulseChiSqSNNLS.h.
Referenced by Errors().
|
protected |
Definition at line 44 of file PulseChiSqSNNLS.h.
Referenced by invcov().
|
protected |
Definition at line 70 of file PulseChiSqSNNLS.h.
Referenced by setMaxIters().
|
protected |
Definition at line 71 of file PulseChiSqSNNLS.h.
Referenced by setMaxIterWarnings().
|
protected |
Definition at line 58 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 57 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 53 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 45 of file PulseChiSqSNNLS.h.
Referenced by pulsemat().
|
protected |
Definition at line 43 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 52 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 66 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 61 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 62 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 60 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 64 of file PulseChiSqSNNLS.h.
|
protected |
Definition at line 63 of file PulseChiSqSNNLS.h.