28 std::cout <<
" Error openning file " << refFilename << std::endl;
29 std::cout <<
" we will not compare histograms. " << std::endl;
32 std::cout <<
" open file " << refFilename << std::endl;
53 resHisto_ = (TH1*) h->Clone(TString(h->GetName())+
"_residuals");
57 TH1 *htemp = (TH1*) h->Clone(TString(h->GetName()));
61 refHisto_ = (TH1*) gDirectory->Get( hname );
67 htemp->Scale(1./htemp->Integral());
TH1 * Compare(TH1 *h, const TString &hname)