1 #ifndef FIT_AMP_PAIR_COVARIANCE_HH 2 #define FIT_AMP_PAIR_COVARIANCE_HH 7 #include "TMatrixTSym.h" 32 std::string
realName(
int listPosition)
const;
33 std::string
imagName(
int listPosition)
const;
35 inline int indexReal(
int listPosition)
const{
return 2*listPosition;}
36 inline int indexImag(
int listPosition)
const{
return 2*listPosition + 1;}
55 std::string
dirName(
const std::string& asSubdirOf=
".")
const;
56 std::string
matrix_x_fname(
const std::string& asSubdirOf=
".")
const;
58 bool save_sum_x(
const std::string& inDirectory)
const;
59 bool save_sum_xy(
const std::string& inDirectory)
const;
87 unsigned int size()
const;
91 bool save(
const std::string& asSubdirOf=
".")
const;
92 bool retrieve(
const std::string& fromDirectory=
".");
int indexImag(int listPosition) const
std::string realName(int listPosition) const
TMatrixTSym< float > _fractionCov
virtual ~FitAmpPairCovariance()
TMatrixTSym< float > _cov2N
std::string imagName(int listPosition) const
double getFractionSumError()
bool makeDirectory(const std::string &asSubdirOf=".") const
std::string dirName(const std::string &asSubdirOf=".") const
bool makeIntegralCovariance()
bool retrieve_sum_xy(const std::string &inDirectory)
static unsigned int _maxSize
double getIntegralError()
int listPositionFromIndex(int idx) const
int indexReal(int listPosition) const
double getIntegralVariance()
bool retrieve_sum_x(const std::string &inDirectory)
bool makeFractionCovariance()
const FitAmpPairList * _myList
bool makeFractionSumCovariance()
TMatrixTSym< float > _fractionSumCov
bool make_dFractionSum_by_dFraction()
TMatrixT< float > _dFractionSum_by_dFraction
FitAmpPairCovariance(const FitAmpPairList *myList)
unsigned int maxSize() const
TMatrixTSym< float > _sum_xy
unsigned int size() const
FitAmpPairCovariance & operator+=(const FitAmpPairCovariance &other)
FitAmpPairCovariance operator+(const FitAmpPairCovariance &other) const
TMatrixT< float > _dFraction_by_dN
bool retrieve(const std::string &fromDirectory=".")
bool add(const FitAmpPairCovariance &other)
double getFractionVariance(int i)
std::string matrix_xy_fname(const std::string &asSubdirOf=".") const
TMatrixTSym< float > _corr2N
TMatrixT< float > _dN_by_d2N
bool make_dIntegral_by_dN()
TMatrixTSym< float > _integralCov
bool save_sum_xy(const std::string &inDirectory) const
double getFractionError(int i)
TMatrixT< float > _dIntegral_by_dN
bool save_sum_x(const std::string &inDirectory) const
bool isCompatibleWith(const FitAmpPairCovariance &other) const
TMatrixTSym< float > _cov
bool addLastEventFromList()
double getFractionSumVariance()
bool make_dFraction_by_dN()
bool save(const std::string &asSubdirOf=".") const
TMatrixTSym< float > _corr
std::string matrix_x_fname(const std::string &asSubdirOf=".") const