27 lines
1.0 KiB
C++
27 lines
1.0 KiB
C++
// -*- C++ -*-
|
|
//
|
|
// -----------------------------------------------------------------------
|
|
// HEP Random
|
|
// --- RandBreitWigner ---
|
|
// inlined functions implementation file
|
|
// -----------------------------------------------------------------------
|
|
// This file is part of Geant4 (simulation toolkit for HEP).
|
|
|
|
// =======================================================================
|
|
// Gabriele Cosmo - Created: 19th August 1998
|
|
// =======================================================================
|
|
|
|
namespace CLHEP {
|
|
|
|
inline RandBreitWigner::RandBreitWigner(HepRandomEngine & anEngine,
|
|
double a, double b )
|
|
: HepRandom( ), localEngine(&anEngine, do_nothing_deleter()), defaultA(a),
|
|
defaultB(b) {}
|
|
|
|
inline RandBreitWigner::RandBreitWigner(HepRandomEngine * anEngine,
|
|
double a, double b )
|
|
: HepRandom( ), localEngine(anEngine), defaultA(a),
|
|
defaultB(b) {}
|
|
|
|
} // namespace CLHEP
|