11#include <root/TMatrixD.h>
49 void add(
const std::pair<std::vector<int>, TMatrixD>& globals);
53 void add(
int paramLabel, std::vector<double> dResiduals_dParam);
57 void add(
int paramLabel,
double drudp);
60 static std::pair<std::vector<int>, TMatrixD>
passGlobals(std::pair<std::vector<int>, TMatrixD> globals);
63 std::pair<std::vector<int>, TMatrixD>
m_globals {{}, TMatrixD()};
Class for easier manipulation with global derivatives (and their labels)
static std::pair< std::vector< int >, TMatrixD > passGlobals(std::pair< std::vector< int >, TMatrixD > globals)
Static convenient function to remove columns with zero labels (make error in Pede btw....
GlobalDerivatives(int dim=2)
Constructor for empty derivative matrix and label vector.
void add(const std::pair< std::vector< int >, TMatrixD > &globals)
Add another set of global labels and derivatives.
const std::vector< int > & getLabels() const
Get stored lables (includes zeros)
const TMatrixD & getDerivatives() const
Return the derivative matrix (includes columns with zero labels)
std::pair< std::vector< int >, TMatrixD > m_globals
The global labels and derivatives matrix.
Abstract base class for different kinds of events.