1// $Id: RandSkewNormal.icc,v 1.1 2011/05/27 20:36:28 garren Exp $ 2// -*- C++ -*- 3// 4// ----------------------------------------------------------------------- 5// HEP Random 6// --- RandSkewNormal --- 7// inlined functions implementation file 8// ----------------------------------------------------------------------- 9 10// ======================================================================= 11// M Fischler and L Garren - Created: 26 May 2011 12// ======================================================================= 13 14namespace CLHEP { 15 16RandSkewNormal::RandSkewNormal(HepRandomEngine & anEngine, double shape ) 17: HepRandom(), localEngine(&anEngine, do_nothing_deleter()), 18 shapeParameter(shape) {} 19 20RandSkewNormal::RandSkewNormal(HepRandomEngine * anEngine, double shape ) 21: HepRandom(), localEngine(anEngine), shapeParameter(shape) {} 22 23HepRandomEngine * RandSkewNormal::getLocalEngine() 24{ 25 return localEngine.get(); 26} 27 28} // namespace CLHEP 29