Hello,
It is probably an easy question (I am new to root) by I cannot find a "quick"
way to merge/add histograms with different bin size and number…
(Add() in TH1 seems to require that the x-axis of the histograms be the same)
After googeling and going through the doc I could find
1.- use TTree and hadd.c but I think that requires to write root files??
2.- use TTree and Draw()??
3.- use TChain and TChain::Merge??
4.- use TProfile which also has a merge method??
5.- use h->SetBit(TH1::kCanRebin)??;
I am a bit lost here…
Thank you in advance,
Bertrand Roessli