1 #ifndef H_MYTUNFOLDDENSITY
2 #define H_MYTUNFOLDDENSITY
5 #include <TUnfoldDensity.h>
22 auto h =
new TH2D(
name,
"probability matrix", fA->GetNrows(), 0.5, 0.5+fA->GetNrows() ,
23 fA->GetNcols(), 0.5, 0.5+fA->GetNcols());
24 for (
int i = 0; i < fA->GetNrows(); ++i)
25 for (
int j = 0; j < fA->GetNcols(); ++j) {
26 double content = (*fA)[i][j];
27 h->SetBinContent(i+1,j+1,content);
36 return AddRegularisationCondition(
args...);
42 TUnfoldDensity(
args...)