GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
void RandObj::FillRandom ( TH1 *  h,
Int_t  ntimes = 5000 
)
virtual

Allocate and fill the histogram randomly.

The histogram is allocated with one bin (slot) per object stored in the collection. It might stay NULL if the collection is empty or if ntimes is less than 0. It is the charged of the user to delete the histogram.

Definition at line 139 of file RandObj.cpp.