Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:38

0001 // $Id: RandSkewNormal.icc,v 1.1 2011/05/27 20:36:28 garren Exp $
0002 // -*- C++ -*-
0003 // 
0004 // -----------------------------------------------------------------------
0005 //                             HEP Random
0006 //                       --- RandSkewNormal ---
0007 //                 inlined functions implementation file
0008 // -----------------------------------------------------------------------
0009  
0010 // =======================================================================
0011 // M Fischler and L Garren - Created: 26 May 2011
0012 // =======================================================================
0013 
0014 namespace CLHEP {
0015 
0016 RandSkewNormal::RandSkewNormal(HepRandomEngine & anEngine, double shape )
0017 : HepRandom(), localEngine(&anEngine, do_nothing_deleter()), 
0018   shapeParameter(shape) {}
0019 
0020 RandSkewNormal::RandSkewNormal(HepRandomEngine * anEngine, double shape )
0021 : HepRandom(), localEngine(anEngine), shapeParameter(shape) {}
0022 
0023 HepRandomEngine * RandSkewNormal::getLocalEngine() 
0024 {
0025   return localEngine.get();
0026 }
0027 
0028 }  // namespace CLHEP