CLHEP
2.4.7.1
C++ Class Library for High Energy Physics
CLHEP
Random
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
CLHEP::HepRandomEngine
Definition
RandomEngine.h:55
CLHEP::HepRandom
Definition
Random.h:50
CLHEP::RandSkewNormal::getLocalEngine
HepRandomEngine * getLocalEngine()
Definition
RandSkewNormal.icc:23
CLHEP::RandSkewNormal::RandSkewNormal
RandSkewNormal(HepRandomEngine &anEngine, double shape=0.)
Definition
RandSkewNormal.icc:16
CLHEP
Definition
ClhepVersion.h:13
CLHEP::do_nothing_deleter
Definition
memory.h:25
Generated by
1.12.0