#include <CombinedShapeErrorGetter.h>
Definition at line 18 of file CombinedShapeErrorGetter.h.
◆ CombinedShapeErrorGetter()
| LArSamples::CombinedShapeErrorGetter::CombinedShapeErrorGetter |
( |
| ) |
|
|
inline |
◆ ~CombinedShapeErrorGetter()
| virtual LArSamples::CombinedShapeErrorGetter::~CombinedShapeErrorGetter |
( |
| ) |
|
|
inlinevirtual |
◆ add()
◆ phiSymShapeErrorData()
◆ shapeErrorData()
Implements LArSamples::AbsShapeErrorGetter.
Definition at line 16 of file CombinedShapeErrorGetter.cxx.
17{
18 TVectorD offsets(32);
20 ShapeErrorData*
sed =
nullptr;
21 for (
const AbsShapeErrorGetter* getter :
m_getters) {
22 const ShapeErrorData*
other = getter->shapeErrorData(hash, gain);
23 if (!other) continue;
24 if (!sed)
25 sed =
new ShapeErrorData(*other);
26 else {
27 ShapeErrorData* newSed =
sed->
add(*other);
30 if (!sed) return nullptr;
31 }
33 }
35}
ShapeErrorData * add(const ShapeErrorData &other) const
const ScaledErrorData * sed
TMatrixTSym< double > CovMatrix
◆ m_getters
The documentation for this class was generated from the following files: