Dynamic Array or Vector of Histograms

Hi,

I saw a post earlier about a dynamic array of histograms and it runs using a root macro, but not with compiled code linked to the ROOTSYS. I was wondering if anyone had a good way of creating dynamic arrays or vectors of histograms.

Thanks,

Sam

Nevermind. I will just use TClonesArray.