Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4MultiBodyMomentumDist Class Reference

#include <G4MultiBodyMomentumDist.hh>

Public Member Functions

 ~G4MultiBodyMomentumDist ()
 

Static Public Member Functions

static const G4MultiBodyMomentumDistGetInstance ()
 
static const G4VMultiBodyMomDstGetDist (G4int is, G4int mult)
 
static void setVerboseLevel (G4int vb=0)
 

Detailed Description

Definition at line 49 of file G4MultiBodyMomentumDist.hh.

Constructor & Destructor Documentation

◆ ~G4MultiBodyMomentumDist()

G4MultiBodyMomentumDist::~G4MultiBodyMomentumDist ( )

Definition at line 68 of file G4MultiBodyMomentumDist.cc.

68 {
69 delete nn3BodyDst;
70 delete nn4BodyDst;
71 delete hn3BodyDst;
72 delete hn4BodyDst;
73}

Member Function Documentation

◆ GetDist()

static const G4VMultiBodyMomDst * G4MultiBodyMomentumDist::GetDist ( G4int  is,
G4int  mult 
)
inlinestatic

Definition at line 56 of file G4MultiBodyMomentumDist.hh.

56 {
57 return GetInstance()->ChooseDist(is, mult);
58 }
static const G4MultiBodyMomentumDist * GetInstance()

Referenced by G4CascadeFinalStateAlgorithm::ChooseGenerators().

◆ GetInstance()

const G4MultiBodyMomentumDist * G4MultiBodyMomentumDist::GetInstance ( )
static

Definition at line 51 of file G4MultiBodyMomentumDist.cc.

51 {
52 if (!theInstance) {
53 theInstance = new G4MultiBodyMomentumDist;
54 G4AutoDelete::Register(theInstance);
55 }
56
57 return theInstance;
58}
void Register(T *inst)
Definition: G4AutoDelete.hh:65

Referenced by GetDist(), and setVerboseLevel().

◆ setVerboseLevel()

void G4MultiBodyMomentumDist::setVerboseLevel ( G4int  vb = 0)
static

Definition at line 78 of file G4MultiBodyMomentumDist.cc.

78 {
79 const_cast<G4MultiBodyMomentumDist*>(GetInstance())->passVerbose(verbose);
80}

Referenced by G4CascadeFinalStateAlgorithm::SetVerboseLevel().


The documentation for this class was generated from the following files: