#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 | setGainSwitchUseMaxSample (bool b) |
void | setPrefitMaxChiSq (double x) |
~EcalUncalibRecHitMultiFitAlgo () | |
Private Attributes | |
bool | _computeErrors |
bool | _doPrefit |
bool | _gainSwitchUseMaxSample |
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 30 of file EcalUncalibRecHitMultiFitAlgo.h.
References _computeErrors.
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 24 of file EcalUncalibRecHitMultiFitAlgo.cc.
References _computeErrors, _doPrefit, _gainSwitchUseMaxSample, _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(), mps_update::status, and PulseChiSqSNNLS::X().
|
inline |
Definition at line 31 of file EcalUncalibRecHitMultiFitAlgo.h.
|
inline |
Definition at line 29 of file EcalUncalibRecHitMultiFitAlgo.h.
References _gainSwitchUseMaxSample, and b.
|
inline |
Definition at line 32 of file EcalUncalibRecHitMultiFitAlgo.h.
References _prefitMaxChiSq, and x.
|
private |
Definition at line 37 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by disableErrorCalculation(), and makeRecHit().
|
private |
Definition at line 38 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setDoPrefit().
|
private |
Definition at line 40 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setGainSwitchUseMaxSample().
|
private |
Definition at line 39 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setPrefitMaxChiSq().
|
private |
Definition at line 35 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit().
|
private |
Definition at line 36 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by EcalUncalibRecHitMultiFitAlgo(), and makeRecHit().
|
private |
Definition at line 41 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by EcalUncalibRecHitMultiFitAlgo(), and makeRecHit().