4 // -----------------------------------------------------------------------
6 // --- RandStudentT ---
7 // inlined functions implementation file
8 // -----------------------------------------------------------------------
10 // =======================================================================
11 // Gabriele Cosmo - Created: 19th August 1998
12 // =======================================================================
16 inline RandStudentT::RandStudentT(HepRandomEngine & anEngine, double a)
17 : HepRandom( ), localEngine( &anEngine, do_nothing_deleter() ), defaultA(a)
20 inline RandStudentT::RandStudentT(HepRandomEngine * anEngine, double a)
21 : HepRandom( ), localEngine( anEngine ), defaultA(a)
24 inline double RandStudentT::fire() {
25 return fire( defaultA );
28 inline double RandStudentT::shoot() {
32 inline double RandStudentT::shoot( HepRandomEngine* anEngine )
34 return shoot( anEngine, 1.0 );