CLHEP  2.4.7.2
C++ Class Library for High Energy Physics
RandSkewNormal.icc
Go to the documentation of this file.
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 
14 namespace CLHEP {
15 
16 RandSkewNormal::RandSkewNormal(HepRandomEngine & anEngine, double shape )
17 : HepRandom(), localEngine(&anEngine, do_nothing_deleter()),
18  shapeParameter(shape) {}
19 
20 RandSkewNormal::RandSkewNormal(HepRandomEngine * anEngine, double shape )
21 : HepRandom(), localEngine(anEngine), shapeParameter(shape) {}
22 
23 HepRandomEngine * RandSkewNormal::getLocalEngine()
24 {
25  return localEngine.get();
26 }
27 
28 } // namespace CLHEP