Filling TProfile

I’m trying to create and fill a TProfile from an existing AIDA::IProfile1D. I would have
thought that looping over the bins, and doing

tprof->SetBinContent(ibin,iprof->binHeight(jbin));

would do it, but the bin content always comes out to zero as shown by
tprof->GetBinContent(ibin) (note that iprof->binHeight(jbin) is not zero).

Is there another way to do this?

                                                  Charles.

You must also call SetBinEntries

Rene