11.7.2. Defining the TCirce properties
Once the TCirce object has been constructed, it is possible to configure several hyperparameters
of the algorithm.
The first one is the tolerance parameter used as a stopping criterion. Its default value is 1.0e-5,
but it can be modified with the setTolerance method, whose prototype is the following:
void setTolerance(Double_t dtol);
This method accepts a single argument: a double precision value defining the new tolerance.
It is also possible to provide initial values for the algorithm:
an initial vector of biases (default value is null vector), set with
setBVectorInitial;an initial correlation matrix (default value is identity matrix), set with
setCMatrixInitial.
void setBVectorInitial(TVectorD vec);
void setCMatrixInitial(TMatrixD mat);
Each method accepts a single argument, namely the initial TVectorD (for the biases) or the initial TMatrixD (for the correlation matrix).
Finally, the user can define the number of iterations for running the algorithm with different initial correlation matrices (default value is 1) using the setNCMatrix method, whose prototype is the following:
void setNCMatrix(Int_t n);
This method accepts a single integer argument that sets the number of iterations.
All these methods have corresponding getter functions, which allow retrieving the current values:
getTolerancereturns the tolerance (double),getBVectorInitialreturns the initial bias vector (TVectorD),getCMatrixInitialreturns the initial correlation matrix (TMatrixD),getNCMatrixreturns the number of iterations (integer).