Copying a subrange of TH1


I would like to know, how is possible to read a TH1 for which for example the significance is draw, and after finding in which bin you have the max_significance with something like

max_sign = h1->GetBinContent( maxbin )

save the rest of the histo in a new TH1… - I guess a solution would be to make a copy of the initial TH1 and just read all bins 1-by-1 from the initial copied to the clone, but is there any other faster method ?

Thanks in advance


I guess the method you propose is the right one.