#include <iostream>
{
else {
}
}
{
gROOT->SetStyle(
"Plain");
for (
Int_t i= 0; i<100000; i++) {
}
}
for (
Int_t i=0; i<10000; i++) {
}
cout << "Created toy distributions and errors for: " << endl;
cout << "... \"true MC\" and \"reconstructed (smeared) MC\"" << endl;
cout << "... \"true data\" and \"reconstructed (smeared) data\"" << endl;
cout << "... the \"detector response matrix\"" << endl;
for (
int i=1; i<=
data->GetNbinsX(); i++) {
}
for (
int i=1; i<=
unfres->GetNbinsX(); i++) {
}
leg->AddEntry(
data,
"Reconstructed Data",
"l");
TCanvas *
c1 =
new TCanvas(
"c1",
"Unfolding toy example with TSVDUnfold", 1000, 900 );
frame->
SetTitle(
"Unfolding toy example with TSVDUnfold" );
c2->SetRightMargin ( 0.15 );
covframe->SetTitle(
"TSVDUnfold covariance matrix" );
covframe->GetXaxis()->SetTitle(
"x variable" );
covframe->GetYaxis()->SetTitle(
"x variable" );
covframe->GetXaxis()->SetTitleOffset( 1.25 );
covframe->GetYaxis()->SetTitleOffset( 1.29 );
dframe->SetTitle(
"TSVDUnfold |d_{i}|" );
dframe->GetXaxis()->SetTitle(
"i" );
dframe->GetYaxis()->SetTitle(
"|d_{i}|" );
dframe->GetXaxis()->SetTitleOffset( 1.25 );
dframe->GetYaxis()->SetTitleOffset( 1.29 );
ddist->SetLineWidth( 2 );
}
#define R(a, b, c, d, e, f, g, h, i)
int Int_t
Signed integer 4 bytes (int)
double Double_t
Double 8 bytes.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
R__EXTERN TStyle * gStyle
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
1-D histogram with a double per channel (see TH1 documentation)
void SetTitle(const char *title) override
Change/set the title.
void Draw(Option_t *option="") override
Draw this histogram with options.
2-D histogram with a double per channel (see TH1 documentation)
This class displays a legend box (TPaveText) containing several legend entries.
Use the TLine constructor to create a simple line.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
Random number generator class based on M.
SVD Approach to Data Unfolding.
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Double_t Sqrt(Double_t x)
Returns the square root of x.