Logo ROOT  
Reference Guide
RooLagrangianMorphFunc.cxx File Reference
#include "Riostream.h"
#include "RooAbsCollection.h"
#include "RooArgList.h"
#include "RooArgProxy.h"
#include "RooArgSet.h"
#include "RooBinning.h"
#include "RooDataHist.h"
#include "RooFormulaVar.h"
#include "RooHistFunc.h"
#include "RooLagrangianMorphFunc.h"
#include "RooLinearCombination.h"
#include "RooParamHistFunc.h"
#include "RooProduct.h"
#include "RooRealVar.h"
#include "RooStringVar.h"
#include "RooWorkspace.h"
#include "TFile.h"
#include "TFolder.h"
#include "TH1.h"
#include "TMap.h"
#include "TParameter.h"
#include "TRandom3.h"
#include "ROOT/RMakeUnique.hxx"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <iostream>
#include <limits>
#include <map>
#include <sstream>
#include <stdexcept>
#include <type_traits>
#include <typeinfo>
#include "TDecompLU.h"
Include dependency graph for RooLagrangianMorphFunc.cxx:

Macros

#define NaN   std::numeric_limits<double>::quiet_NaN()
 

Typedefs

typedef TMatrixD Matrix
 

Functions

Matrix diagMatrix (size_t n)
 create a new diagonal matrix of size n More...
 
double invertMatrix (const Matrix &matrix, Matrix &inverse)
 
TMatrixD makeRootMatrix (const Matrix &in)
 convert a matrix into a TMatrixD More...
 
Matrix makeSuperMatrix (const TMatrixD &in)
 convert a TMatrixD into a Matrix More...
 
void printMatrix (const TMatrixD &mat)
 write a matrix More...
 
template<class MatrixT >
size_t size (const MatrixT &matrix)
 retrieve the size of a square matrix More...
 
template<>
size_t size< TMatrixD > (const TMatrixD &mat)
 
template<class MatrixT >
void writeMatrixToFileT (const MatrixT &matrix, const char *fname)
 write a matrix to a text file More...
 
template<class MatrixT >
void writeMatrixToStreamT (const MatrixT &matrix, std::ostream &stream)
 write a matrix to a stream More...
 

Variables

constexpr static double morphLargestWeight = 10e7
 
constexpr static double morphUnityDeviation = 10e-6
 

Macro Definition Documentation

◆ NaN

#define NaN   std::numeric_limits<double>::quiet_NaN()

Definition at line 83 of file RooLagrangianMorphFunc.cxx.

Typedef Documentation

◆ Matrix

typedef TMatrixD Matrix

Definition at line 250 of file RooLagrangianMorphFunc.cxx.

Function Documentation

◆ diagMatrix()

Matrix diagMatrix ( size_t  n)
inline

create a new diagonal matrix of size n

Definition at line 265 of file RooLagrangianMorphFunc.cxx.

◆ invertMatrix()

double invertMatrix ( const Matrix matrix,
Matrix inverse 
)
inline

Definition at line 281 of file RooLagrangianMorphFunc.cxx.

◆ makeRootMatrix()

TMatrixD makeRootMatrix ( const Matrix in)
inline

convert a matrix into a TMatrixD

Definition at line 255 of file RooLagrangianMorphFunc.cxx.

◆ makeSuperMatrix()

Matrix makeSuperMatrix ( const TMatrixD in)
inline

convert a TMatrixD into a Matrix

Definition at line 260 of file RooLagrangianMorphFunc.cxx.

◆ printMatrix()

void printMatrix ( const TMatrixD mat)
inline

write a matrix

Definition at line 274 of file RooLagrangianMorphFunc.cxx.

◆ size()

template<class MatrixT >
size_t size ( const MatrixT &  matrix)
inline

retrieve the size of a square matrix

◆ size< TMatrixD >()

template<>
size_t size< TMatrixD > ( const TMatrixD mat)
inline

Definition at line 106 of file RooLagrangianMorphFunc.cxx.

◆ writeMatrixToFileT()

template<class MatrixT >
void writeMatrixToFileT ( const MatrixT &  matrix,
const char *  fname 
)
inline

write a matrix to a text file

Definition at line 135 of file RooLagrangianMorphFunc.cxx.

◆ writeMatrixToStreamT()

template<class MatrixT >
void writeMatrixToStreamT ( const MatrixT &  matrix,
std::ostream &  stream 
)

write a matrix to a stream

Definition at line 114 of file RooLagrangianMorphFunc.cxx.

Variable Documentation

◆ morphLargestWeight

constexpr static double morphLargestWeight = 10e7
staticconstexpr

Definition at line 85 of file RooLagrangianMorphFunc.cxx.

◆ morphUnityDeviation

constexpr static double morphUnityDeviation = 10e-6
staticconstexpr

Definition at line 86 of file RooLagrangianMorphFunc.cxx.