#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 20 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 23 of file EcalUncalibRecHitMultiFitAlgo.h.
|
inline |
Definition at line 31 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 27 of file EcalUncalibRecHitMultiFitAlgo.cc.
References _addPedestalUncertainty, _computeErrors, _doPrefit, _dynamicPedestals, _gainSwitchUseMaxSample, _mitigateBadSamples, _prefitMaxChiSq, _pulsefunc, _pulsefuncSingle, _selectiveBadSampleCriteria, _simplifiedNoiseModelForGainSwitch, _singlebx, funct::abs(), CustomPhysics_cfi::amplitude, nano_mu_digi_cff::bx, PulseChiSqSNNLS::BXs(), PulseChiSqSNNLS::ChiSq(), PulseChiSqSNNLS::disableErrorCalculation(), PulseChiSqSNNLS::DoFit(), PulseChiSqSNNLS::Errors(), HLT_2023v12_cff::flags, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), ecalLiteDTU::gainId(), EcalDataFrame::hasSwitchToGain1(), EcalDataFrame::hasSwitchToGain6(), EcalDataFrame::id(), EcalDataFrame::isSaturated(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, SiStripPI::max, EcalDataFrame::MAXSAMPLES, EcalCondDBWriter_cfi::pedestal, EcalDataFrame::sample(), ecalGpuTask_cfi::sample, EcalUncalibratedRecHit::setAmplitudeError(), mps_update::status, and PulseChiSqSNNLS::X().
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 37 of file EcalUncalibRecHitMultiFitAlgo.h.
References _addPedestalUncertainty, and x.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 32 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 34 of file EcalUncalibRecHitMultiFitAlgo.h.
References _dynamicPedestals, and b.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 39 of file EcalUncalibRecHitMultiFitAlgo.h.
References _gainSwitchUseMaxSample, and b.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 35 of file EcalUncalibRecHitMultiFitAlgo.h.
References _mitigateBadSamples, and b.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 33 of file EcalUncalibRecHitMultiFitAlgo.h.
References _prefitMaxChiSq, and x.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 36 of file EcalUncalibRecHitMultiFitAlgo.h.
References _selectiveBadSampleCriteria, and b.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
inline |
Definition at line 38 of file EcalUncalibRecHitMultiFitAlgo.h.
References _simplifiedNoiseModelForGainSwitch, and b.
Referenced by EcalUncalibRecHitWorkerMultiFit::run().
|
private |
Definition at line 50 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setAddPedestalUncertainty().
|
private |
Definition at line 44 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by disableErrorCalculation(), and makeRecHit().
|
private |
Definition at line 45 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setDoPrefit().
|
private |
Definition at line 47 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setDynamicPedestals().
|
private |
Definition at line 52 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setGainSwitchUseMaxSample().
|
private |
Definition at line 48 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setMitigateBadSamples().
|
private |
Definition at line 46 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setPrefitMaxChiSq().
|
private |
Definition at line 42 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit().
|
private |
Definition at line 43 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by EcalUncalibRecHitMultiFitAlgo(), and makeRecHit().
|
private |
Definition at line 49 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setSelectiveBadSampleCriteria().
|
private |
Definition at line 51 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by makeRecHit(), and setSimplifiedNoiseModelForGainSwitch().
|
private |
Definition at line 53 of file EcalUncalibRecHitMultiFitAlgo.h.
Referenced by EcalUncalibRecHitMultiFitAlgo(), and makeRecHit().