62 if (newUpb < newLwb)
return nullptr;
63 TVectorD newXi =
xi(newLwb, newUpb) + other.xi(newLwb, newUpb);
64 TVectorD newXip =
xip(newLwb, newUpb) + other.xip(newLwb, newUpb);
65 CovMatrix newXiErr =
xiErr(newLwb, newUpb) + other.xiErr(newLwb, newUpb);
66 CovMatrix newXipErr =
xipErr(newLwb, newUpb) + other.xipErr(newLwb, newUpb);
67 int newN =
n() + other.n();
68 return new ShapeErrorData(newXi, newXip, newXiErr, newXipErr, newN);
ShapeErrorData(const TVectorD &xi=TVectorD(), const TVectorD &xip=TVectorD(), const CovMatrix &xiErr=CovMatrix(), const CovMatrix &xipErr=CovMatrix(), double tbar=Definitions::none, int n=-1)
Constructor.