#include <EcalUncalibRecHitMultiFitAlgo.h>
Public Member Functions | |
void | disableErrorCalculation () |
EcalUncalibRecHitMultiFitAlgo () | |
EcalUncalibratedRecHit | makeRecHit (const EcalDataFrame &dataFrame, const EcalPedestals::Item *aped, const EcalMGPAGainRatio *aGain, const SampleMatrix &noisecor, const FullSampleVector &fullpulse, const FullSampleMatrix &fullpulsecov, const BXVector &activeBX) |
compute rechits More... | |
void | setDoPrefit (bool b) |
void | setPrefitMaxChiSq (double x) |
~EcalUncalibRecHitMultiFitAlgo () | |
Private Attributes | |
bool | _computeErrors |
bool | _doPrefit |
double | _prefitMaxChiSq |
PulseChiSqSNNLS | _pulsefunc |
PulseChiSqSNNLS | _pulsefuncSingle |
BXVector | _singlebx |
Amplitude reconstucted by the multi-template fit
Definition at line 21 of file EcalUncalibRecHitMultiFitAlgo.h.
EcalUncalibRecHitMultiFitAlgo::EcalUncalibRecHitMultiFitAlgo | ( | ) |
Definition at line 8 of file EcalUncalibRecHitMultiFitAlgo.cc.
References _pulsefuncSingle, _singlebx, PulseChiSqSNNLS::disableErrorCalculation(), BXVector< T >::resize(), PulseChiSqSNNLS::setMaxIters(), and PulseChiSqSNNLS::setMaxIterWarnings().
|
inline |
Definition at line 27 of file EcalUncalibRecHitMultiFitAlgo.h.
|
inline |
Definition at line 29 of file EcalUncalibRecHitMultiFitAlgo.h.
References _computeErrors.
Referenced by EcalUncalibRecHitWorkerMultiFit::set().
EcalUncalibratedRecHit EcalUncalibRecHitMultiFitAlgo::makeRecHit | ( | const EcalDataFrame & | dataFrame, |
const EcalPedestals::Item * | aped, | ||
const EcalMGPAGainRatio * | aGain, | ||
const SampleMatrix & | noisecor, | ||
const FullSampleVector & | fullpulse, | ||
const FullSampleMatrix & | fullpulsecov, | ||
const BXVector & | activeBX | ||
) |
compute rechits
Definition at line 23 of file EcalUncalibRecHitMultiFitAlgo.cc.
References _computeErrors, _doPrefit, _prefitMaxChiSq, _pulsefunc, _pulsefuncSingle, _singlebx, EcalMGPASample::adc(), PulseChiSqSNNLS::BXs(), PulseChiSqSNNLS::ChiSq(), PulseChiSqSNNLS::disableErrorCalculation(), PulseChiSqSNNLS::DoFit(), PulseChiSqSNNLS::Errors(), flags, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), ecalMGPA::gainId(), EcalMGPASample::gainId(), EcalDataFrame::id(), bookConverter::max, EcalDataFrame::MAXSAMPLES, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, EcalCondDBWriter_cfi::pedestal, EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, compare_using_db::sample, EcalDataFrame::sample(), EcalUncalibratedRecHit::setAmplitudeError(), ntuplemaker::status, and PulseChiSqSNNLS::X().
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 30 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 31 of file EcalUncalibRecHitMultiFitAlgo.h.
References _prefitMaxChiSq, and x.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
private |
Definition at line 36 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by disableErrorCalculation(), and makeRecHit().
|
private |
Definition at line 37 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setDoPrefit().
|
private |
Definition at line 38 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setPrefitMaxChiSq().
|
private |
Definition at line 34 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit().
|
private |
Definition at line 35 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by EcalUncalibRecHitMultiFitAlgo(), and makeRecHit().
|
private |
Definition at line 39 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by EcalUncalibRecHitMultiFitAlgo(), and makeRecHit().