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

#include <G4TwoBodyAngularDist.hh>

Public Member Functions

 ~G4TwoBodyAngularDist ()
 

Static Public Member Functions

static const G4TwoBodyAngularDistGetInstance ()
 
static const G4VTwoBodyAngDstGetDist (G4int is, G4int fs, G4int kw)
 
static const G4VTwoBodyAngDstGetDist (G4int is)
 
static void setVerboseLevel (G4int vb=0)
 

Detailed Description

Definition at line 61 of file G4TwoBodyAngularDist.hh.

Constructor & Destructor Documentation

◆ ~G4TwoBodyAngularDist()

G4TwoBodyAngularDist::~G4TwoBodyAngularDist ( )

Definition at line 84 of file G4TwoBodyAngularDist.cc.

84 {
85 delete gp_npip;
86 delete gp_ppi0;
87 delete ppAngDst;
88 delete nnAngDst;
89 delete pi0pAngDst;
90 delete pipCXAngDst;
91 delete pimpAngDst;
92 delete pippAngDst;
93 delete qxAngDst;
94 delete hn1AngDst;
95 delete hn2AngDst;
96 delete gnAngDst;
97 delete npAngDst;
98 delete hn3BodyDst;
99 delete nn3BodyDst;
100}

Member Function Documentation

◆ GetDist() [1/2]

static const G4VTwoBodyAngDst * G4TwoBodyAngularDist::GetDist ( G4int  is)
inlinestatic

Definition at line 72 of file G4TwoBodyAngularDist.hh.

72 {
73 return GetInstance()->ChooseDist(is,0,0);
74 }
static const G4TwoBodyAngularDist * GetInstance()

◆ GetDist() [2/2]

static const G4VTwoBodyAngDst * G4TwoBodyAngularDist::GetDist ( G4int  is,
G4int  fs,
G4int  kw 
)
inlinestatic

Definition at line 68 of file G4TwoBodyAngularDist.hh.

68 {
69 return GetInstance()->ChooseDist(is,fs,kw);
70 }

Referenced by G4CascadeFinalStateAlgorithm::ChooseGenerators().

◆ GetInstance()

const G4TwoBodyAngularDist * G4TwoBodyAngularDist::GetInstance ( )
static

Definition at line 62 of file G4TwoBodyAngularDist.cc.

62 {
63 if (!theInstance) {
64 theInstance = new G4TwoBodyAngularDist;
65 G4AutoDelete::Register(theInstance);
66 }
67
68 return theInstance;
69}
void Register(T *inst)
Definition: G4AutoDelete.hh:65

Referenced by GetDist(), and setVerboseLevel().

◆ setVerboseLevel()

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

Definition at line 105 of file G4TwoBodyAngularDist.cc.

105 {
106 const_cast<G4TwoBodyAngularDist*>(GetInstance())->passVerbose(verbose);
107}

Referenced by G4CascadeFinalStateAlgorithm::SetVerboseLevel().


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