7 gStyle->SetPadRightMargin(0.15);
9 TFile *
f =
new TFile(
"hd_root.root");
11 TProfile2D *fdc_cov = (TProfile2D*)gROOT->FindObject(
"fdc_cov");
12 TProfile2D *fdc_cov_calc = (TProfile2D*)gROOT->FindObject(
"fdc_cov_calc");
14 TCanvas *
c1 =
new TCanvas(
"c1",
"",1300,600);
19 c1->GetPad(1)->SetLogz();
20 fdc_cov->GetZaxis()->SetRangeUser(0.000001, 0.115);
21 fdc_cov->Draw(
"colz");
25 c1->GetPad(2)->SetLogz();
26 fdc_cov_calc->GetZaxis()->SetRangeUser(0.000001, 0.115);
27 fdc_cov_calc->Draw(
"colz");
29 c1->SaveAs(
"covariance_compare.gif");
30 c1->SaveAs(
"covariance_compare.pdf");
void covariance_compare(void)