CMS 3D CMS Logo

EcalUncalibRecHitMultiFitAlgo.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecAlgos_EcalUncalibRecHitMultiFitAlgo_HH
2 #define RecoLocalCalo_EcalRecAlgos_EcalUncalibRecHitMultiFitAlgo_HH
3 
12 
16 
17 #include "TMatrixDSym.h"
18 #include "TVectorD.h"
19 
21 public:
25  const EcalPedestals::Item *aped,
26  const EcalMGPAGainRatio *aGain,
27  const SampleMatrixGainArray &noisecors,
28  const FullSampleVector &fullpulse,
29  const FullSampleMatrix &fullpulsecov,
30  const BXVector &activeBX);
32  void setDoPrefit(bool b) { _doPrefit = b; }
33  void setPrefitMaxChiSq(double x) { _prefitMaxChiSq = x; }
40 
41 private:
45  bool _doPrefit;
54 };
55 
56 #endif
EcalPedestals.h
MessageLogger.h
PulseChiSqSNNLS.h
SampleMatrixGainArray
std::array< SampleMatrix, NGains > SampleMatrixGainArray
Definition: EigenMatrixTypes.h:28
FullSampleMatrix
Eigen::Matrix< double, FullSampleVectorSize, FullSampleVectorSize > FullSampleMatrix
Definition: EigenMatrixTypes.h:18
EcalUncalibRecHitMultiFitAlgo::EcalUncalibRecHitMultiFitAlgo
EcalUncalibRecHitMultiFitAlgo()
Definition: EcalUncalibRecHitMultiFitAlgo.cc:8
EcalUncalibRecHitMultiFitAlgo::_gainSwitchUseMaxSample
bool _gainSwitchUseMaxSample
Definition: EcalUncalibRecHitMultiFitAlgo.h:52
DDAxes::x
EcalUncalibRecHitMultiFitAlgo::_mitigateBadSamples
bool _mitigateBadSamples
Definition: EcalUncalibRecHitMultiFitAlgo.h:48
EcalDataFrame
Definition: EcalDataFrame.h:16
EcalUncalibRecHitMultiFitAlgo::_simplifiedNoiseModelForGainSwitch
bool _simplifiedNoiseModelForGainSwitch
Definition: EcalUncalibRecHitMultiFitAlgo.h:51
BXVector
Definition: BXVector.h:15
EcalUncalibRecHitMultiFitAlgo::setAddPedestalUncertainty
void setAddPedestalUncertainty(double x)
Definition: EcalUncalibRecHitMultiFitAlgo.h:37
EcalUncalibRecHitMultiFitAlgo::_computeErrors
bool _computeErrors
Definition: EcalUncalibRecHitMultiFitAlgo.h:44
EcalUncalibRecHitMultiFitAlgo
Definition: EcalUncalibRecHitMultiFitAlgo.h:20
EcalUncalibRecHitMultiFitAlgo::makeRecHit
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
Definition: EcalUncalibRecHitMultiFitAlgo.cc:27
b
double b
Definition: hdecay.h:118
EcalUncalibRecHitMultiFitAlgo::setPrefitMaxChiSq
void setPrefitMaxChiSq(double x)
Definition: EcalUncalibRecHitMultiFitAlgo.h:33
EcalUncalibRecHitMultiFitAlgo::_singlebx
BXVector _singlebx
Definition: EcalUncalibRecHitMultiFitAlgo.h:53
EcalUncalibRecHitMultiFitAlgo::_addPedestalUncertainty
double _addPedestalUncertainty
Definition: EcalUncalibRecHitMultiFitAlgo.h:50
EcalUncalibRecHitMultiFitAlgo::setDynamicPedestals
void setDynamicPedestals(bool b)
Definition: EcalUncalibRecHitMultiFitAlgo.h:34
EcalCondObjectContainer::Item
T Item
Definition: EcalCondObjectContainer.h:15
EcalUncalibRecHitMultiFitAlgo::setMitigateBadSamples
void setMitigateBadSamples(bool b)
Definition: EcalUncalibRecHitMultiFitAlgo.h:35
EcalUncalibRecHitRecAbsAlgo.h
EcalUncalibRecHitMultiFitAlgo::_selectiveBadSampleCriteria
bool _selectiveBadSampleCriteria
Definition: EcalUncalibRecHitMultiFitAlgo.h:49
EcalUncalibRecHitMultiFitAlgo::setSelectiveBadSampleCriteria
void setSelectiveBadSampleCriteria(bool b)
Definition: EcalUncalibRecHitMultiFitAlgo.h:36
EcalUncalibRecHitMultiFitAlgo::_pulsefunc
PulseChiSqSNNLS _pulsefunc
Definition: EcalUncalibRecHitMultiFitAlgo.h:42
EcalGainRatios.h
EcalUncalibRecHitMultiFitAlgo::setDoPrefit
void setDoPrefit(bool b)
Definition: EcalUncalibRecHitMultiFitAlgo.h:32
FullSampleVector
Eigen::Matrix< double, FullSampleVectorSize, 1 > FullSampleVector
Definition: EigenMatrixTypes.h:13
EcalUncalibRecHitMultiFitAlgo::disableErrorCalculation
void disableErrorCalculation()
Definition: EcalUncalibRecHitMultiFitAlgo.h:31
EcalUncalibratedRecHit
Definition: EcalUncalibratedRecHit.h:8
EcalUncalibRecHitMultiFitAlgo::setSimplifiedNoiseModelForGainSwitch
void setSimplifiedNoiseModelForGainSwitch(bool b)
Definition: EcalUncalibRecHitMultiFitAlgo.h:38
EcalUncalibRecHitMultiFitAlgo::_dynamicPedestals
bool _dynamicPedestals
Definition: EcalUncalibRecHitMultiFitAlgo.h:47
PulseChiSqSNNLS
Definition: PulseChiSqSNNLS.h:10
EcalUncalibRecHitMultiFitAlgo::_doPrefit
bool _doPrefit
Definition: EcalUncalibRecHitMultiFitAlgo.h:45
EcalUncalibRecHitMultiFitAlgo::~EcalUncalibRecHitMultiFitAlgo
~EcalUncalibRecHitMultiFitAlgo()
Definition: EcalUncalibRecHitMultiFitAlgo.h:23
EcalUncalibRecHitMultiFitAlgo::_prefitMaxChiSq
double _prefitMaxChiSq
Definition: EcalUncalibRecHitMultiFitAlgo.h:46
EcalUncalibRecHitMultiFitAlgo::setGainSwitchUseMaxSample
void setGainSwitchUseMaxSample(bool b)
Definition: EcalUncalibRecHitMultiFitAlgo.h:39
EcalUncalibRecHitMultiFitAlgo::_pulsefuncSingle
PulseChiSqSNNLS _pulsefuncSingle
Definition: EcalUncalibRecHitMultiFitAlgo.h:43
EcalMGPAGainRatio
Definition: EcalMGPAGainRatio.h:13