When trying to create a pointer of type RandGaussT, gcc complains that "‘RandGaussT’ in namespace ‘CLHEP’ does not name a type". Trying the same with RandGaussQ works without problems. Both classes are defined in Randomize.hh and belong to the CLHEP namespace. Therefore I do not understand why one class is found while the other isn't. If this problem has already been reported I apologize, I didn't find a problem matching this. GEANT4 version is 10.0-patch2.
You need to use/link with the external CLHEP library for using the RandGaussT class (i.e. configure your Geant4 installation to use system CLHEP library installed in your system). RandGaussT is not distributed in the internal CLHEP module shipped with Geant4, as not internally used by Geant4.
I resorted to using RandGaussQ to work around the problem. Still good to know. Thanks. Is there a particular reason why RandGaussT is not shipped with the internal CLHEP library?
The internal CLHEP module only ships classes which are relevant and/or in use within the Geant4 distribution.