#include <EcalUncalibRecHitMultiFitAlgo.h>
Public Member Functions | |
void | disableErrorCalculation () |
EcalUncalibRecHitMultiFitAlgo () | |
EcalUncalibratedRecHit | makeRecHit (const EcalDataFrame &dataFrame, const EcalPedestals::Item *aped, const EcalMGPAGainRatio *aGain, const SampleMatrixGainArray &noisecors, const FullSampleVector &fullpulse, const FullSampleMatrix &fullpulsecov, const BXVector &activeBX) |
compute rechits More... | |
void | setAddPedestalUncertainty (double x) |
void | setDoPrefit (bool b) |
void | setDynamicPedestals (bool b) |
void | setGainSwitchUseMaxSample (bool b) |
void | setMitigateBadSamples (bool b) |
void | setPrefitMaxChiSq (double x) |
void | setSelectiveBadSampleCriteria (bool b) |
void | setSimplifiedNoiseModelForGainSwitch (bool b) |
~EcalUncalibRecHitMultiFitAlgo () | |
Private Attributes | |
double | _addPedestalUncertainty |
bool | _computeErrors |
bool | _doPrefit |
bool | _dynamicPedestals |
bool | _gainSwitchUseMaxSample |
bool | _mitigateBadSamples |
double | _prefitMaxChiSq |
PulseChiSqSNNLS | _pulsefunc |
PulseChiSqSNNLS | _pulsefuncSingle |
bool | _selectiveBadSampleCriteria |
bool | _simplifiedNoiseModelForGainSwitch |
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 |
|
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 SampleMatrixGainArray & | noisecors, | ||
const FullSampleVector & | fullpulse, | ||
const FullSampleMatrix & | fullpulsecov, | ||
const BXVector & | activeBX | ||
) |
compute rechits
Definition at line 29 of file EcalUncalibRecHitMultiFitAlgo.cc.
References _addPedestalUncertainty, _computeErrors, _doPrefit, _dynamicPedestals, _gainSwitchUseMaxSample, _mitigateBadSamples, _prefitMaxChiSq, _pulsefunc, _pulsefuncSingle, _selectiveBadSampleCriteria, _simplifiedNoiseModelForGainSwitch, _singlebx, funct::abs(), EcalMGPASample::adc(), CustomPhysics_cfi::amplitude, PulseChiSqSNNLS::BXs(), PulseChiSqSNNLS::ChiSq(), PulseChiSqSNNLS::disableErrorCalculation(), PulseChiSqSNNLS::DoFit(), PulseChiSqSNNLS::Errors(), flags, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), ecalMGPA::gainId(), EcalMGPASample::gainId(), EcalDataFrame::hasSwitchToGain1(), EcalDataFrame::hasSwitchToGain6(), EcalDataFrame::id(), EcalDataFrame::isSaturated(), RecoTauDiscriminantConfiguration::mask, SiStripPI::max, EcalDataFrame::MAXSAMPLES, EcalPedestal::mean_x1, EcalPedestal::mean_x12, EcalPedestal::mean_x6, muonCSCDigis_cfi::pedestal, EcalPedestal::rms_x1, EcalPedestal::rms_x12, EcalPedestal::rms_x6, simplePhotonAnalyzer_cfi::sample, EcalDataFrame::sample(), EcalUncalibratedRecHit::setAmplitudeError(), mps_update::status, and PulseChiSqSNNLS::X().
Referenced by EcalUncalibRecHitWorkerMultiFit::run(), and ~EcalUncalibRecHitMultiFitAlgo().
|
inline |
Definition at line 35 of file EcalUncalibRecHitMultiFitAlgo.h.
References _addPedestalUncertainty, and x.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 30 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 32 of file EcalUncalibRecHitMultiFitAlgo.h.
References _dynamicPedestals, and b.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 37 of file EcalUncalibRecHitMultiFitAlgo.h.
References _gainSwitchUseMaxSample, and b.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 33 of file EcalUncalibRecHitMultiFitAlgo.h.
References _mitigateBadSamples, and b.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 31 of file EcalUncalibRecHitMultiFitAlgo.h.
References _prefitMaxChiSq, and x.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 34 of file EcalUncalibRecHitMultiFitAlgo.h.
References _selectiveBadSampleCriteria, and b.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 36 of file EcalUncalibRecHitMultiFitAlgo.h.
References _simplifiedNoiseModelForGainSwitch, and b.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
private |
Definition at line 48 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setAddPedestalUncertainty().
|
private |
Definition at line 42 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by disableErrorCalculation(), and makeRecHit().
|
private |
Definition at line 43 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setDoPrefit().
|
private |
Definition at line 45 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setDynamicPedestals().
|
private |
Definition at line 50 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setGainSwitchUseMaxSample().
|
private |
Definition at line 46 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setMitigateBadSamples().
|
private |
Definition at line 44 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setPrefitMaxChiSq().
|
private |
Definition at line 40 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit().
|
private |
Definition at line 41 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by EcalUncalibRecHitMultiFitAlgo(), and makeRecHit().
|
private |
Definition at line 47 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setSelectiveBadSampleCriteria().
|
private |
Definition at line 49 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setSimplifiedNoiseModelForGainSwitch().
|
private |
Definition at line 51 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by EcalUncalibRecHitMultiFitAlgo(), and makeRecHit().