4 #include "TProfile2D.h"
10 tvx::HistContainer(name, motherDir, option)
19 TH1* myRatio =
static_cast<TH1*
>(hNumer->Clone());
21 myRatio->SetOption(
"");
24 if ( hNumer->InheritsFrom(
"TProfile2D") && hDenom->InheritsFrom(
"TProfile2D") )
27 myRatio =
new H2D( static_cast<const TProfile2D&>(*hNumer) );
28 myRatio->SetOption(
"colz whit_zro");
31 myRatio->Add(hDenom, -1);
32 myRatio->Divide(hDenom);
StiScanRatiosHistContainer(const char *name, TDirectory *motherDir=0, Option_t *option="")
void CreateRatioHist(const TH1 *hNumer, const TH1 *hDenom)