Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // $Id: RandBreitWigner.icc,v 1.3 2010/06/16 17:24:53 garren Exp $
0002 // -*- C++ -*-
0003 // 
0004 // -----------------------------------------------------------------------
0005 //                             HEP Random
0006 //                       --- RandBreitWigner ---
0007 //                 inlined functions implementation file
0008 // -----------------------------------------------------------------------
0009 // This file is part of Geant4 (simulation toolkit for HEP).
0010  
0011 // =======================================================================
0012 // Gabriele Cosmo - Created: 19th August 1998
0013 // =======================================================================
0014 
0015 namespace CLHEP {
0016 
0017 inline RandBreitWigner::RandBreitWigner(HepRandomEngine & anEngine,
0018                                         double a, double b )
0019 : HepRandom( ), localEngine(&anEngine, do_nothing_deleter()), defaultA(a),
0020   defaultB(b) {}
0021 
0022 inline RandBreitWigner::RandBreitWigner(HepRandomEngine * anEngine,
0023                                         double a, double b )
0024 : HepRandom( ), localEngine(anEngine), defaultA(a),
0025   defaultB(b) {}
0026 
0027 }  // namespace CLHEP