GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TObject * RandObj::Rand ( Int_t &  slot)
virtual

it returns a pointer to a randomly selected object from the collection

An additional number is returned as an argument and corresponds to the slot number in the TObjArray collection. This might be useful when other collections are related to this one by the slot number

Definition at line 113 of file RandObj.cpp.