File indexing completed on 2025-01-30 10:03:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 namespace CLHEP {
0015
0016 inline RandStudentT::RandStudentT(HepRandomEngine & anEngine, double a)
0017 : HepRandom( ), localEngine( &anEngine, do_nothing_deleter() ), defaultA(a)
0018 {}
0019
0020 inline RandStudentT::RandStudentT(HepRandomEngine * anEngine, double a)
0021 : HepRandom( ), localEngine( anEngine ), defaultA(a)
0022 {}
0023
0024 inline double RandStudentT::fire() {
0025 return fire( defaultA );
0026 }
0027
0028 inline double RandStudentT::shoot() {
0029 return shoot( 1.0 );
0030 }
0031
0032 inline double RandStudentT::shoot( HepRandomEngine* anEngine )
0033 {
0034 return shoot( anEngine, 1.0 );
0035 }
0036
0037 }