#include <G4PhaseSpaceDecayChannel.hh>
|
| G4PhaseSpaceDecayChannel (G4int Verbose=1) |
|
| G4PhaseSpaceDecayChannel (const G4String &theParentName, G4double theBR, G4int theNumberOfDaughters, const G4String &theDaughterName1, const G4String &theDaughterName2="", const G4String &theDaughterName3="", const G4String &theDaughterName4="") |
|
virtual | ~G4PhaseSpaceDecayChannel () |
|
G4bool | SetDaughterMasses (G4double masses[]) |
|
G4bool | SampleDaughterMasses () |
|
virtual G4DecayProducts * | DecayIt (G4double) |
|
G4bool | IsOKWithParentMass (G4double parentMass) |
|
| G4VDecayChannel (const G4String &aName, G4int Verbose=1) |
|
| G4VDecayChannel (const G4String &aName, const G4String &theParentName, G4double theBR, G4int theNumberOfDaughters, const G4String &theDaughterName1, const G4String &theDaughterName2="", const G4String &theDaughterName3="", const G4String &theDaughterName4="") |
|
virtual | ~G4VDecayChannel () |
|
G4bool | operator== (const G4VDecayChannel &r) const |
|
G4bool | operator!= (const G4VDecayChannel &r) const |
|
G4bool | operator< (const G4VDecayChannel &right) const |
|
virtual G4DecayProducts * | DecayIt (G4double parentMass=-1.0)=0 |
|
const G4String & | GetKinematicsName () const |
|
G4double | GetBR () const |
|
G4int | GetNumberOfDaughters () const |
|
G4ParticleDefinition * | GetParent () |
|
G4ParticleDefinition * | GetDaughter (G4int anIndex) |
|
G4int | GetAngularMomentum () |
|
const G4String & | GetParentName () const |
|
const G4String & | GetDaughterName (G4int anIndex) const |
|
G4double | GetParentMass () const |
|
G4double | GetDaughterMass (G4int anIndex) const |
|
void | SetParent (const G4ParticleDefinition *particle_type) |
|
void | SetParent (const G4String &particle_name) |
|
void | SetBR (G4double value) |
|
void | SetNumberOfDaughters (G4int value) |
|
void | SetDaughter (G4int anIndex, const G4ParticleDefinition *particle_type) |
|
void | SetDaughter (G4int anIndex, const G4String &particle_name) |
|
void | SetVerboseLevel (G4int value) |
|
G4int | GetVerboseLevel () const |
|
void | DumpInfo () |
|
G4double | GetRangeMass () const |
|
void | SetRangeMass (G4double val) |
|
virtual G4bool | IsOKWithParentMass (G4double parentMass) |
|
void | SetPolarization (const G4ThreeVector &) |
|
const G4ThreeVector & | GetPolarization () const |
|
Definition at line 42 of file G4PhaseSpaceDecayChannel.hh.
◆ anonymous enum
◆ G4PhaseSpaceDecayChannel() [1/2]
G4PhaseSpaceDecayChannel::G4PhaseSpaceDecayChannel |
( |
G4int |
Verbose = 1 | ) |
|
◆ G4PhaseSpaceDecayChannel() [2/2]
G4PhaseSpaceDecayChannel::G4PhaseSpaceDecayChannel |
( |
const G4String & |
theParentName, |
|
|
G4double |
theBR, |
|
|
G4int |
theNumberOfDaughters, |
|
|
const G4String & |
theDaughterName1, |
|
|
const G4String & |
theDaughterName2 = "" , |
|
|
const G4String & |
theDaughterName3 = "" , |
|
|
const G4String & |
theDaughterName4 = "" |
|
) |
| |
Definition at line 47 of file G4PhaseSpaceDecayChannel.cc.
55 :
G4VDecayChannel(
"Phase Space", theParentName,theBR, theNumberOfDaughters,
56 theDaughterName1, theDaughterName2,
57 theDaughterName3, theDaughterName4)
58{
59}
◆ ~G4PhaseSpaceDecayChannel()
G4PhaseSpaceDecayChannel::~G4PhaseSpaceDecayChannel |
( |
| ) |
|
|
virtual |
◆ DecayIt()
Implements G4VDecayChannel.
Definition at line 67 of file G4PhaseSpaceDecayChannel.cc.
68{
69#ifdef G4VERBOSE
71 G4cout <<
"G4PhaseSpaceDecayChannel::DecayIt()" <<
G4endl;
72#endif
73
75
78
79 if (parentMass >0.0) current_parent_mass.
Put( parentMass );
81
83 {
84 case 0:
85#ifdef G4VERBOSE
87 {
88 G4cout <<
"G4PhaseSpaceDecayChannel::DecayIt() -";
90 }
91#endif
92 break;
93 case 1:
94 products = OneBodyDecayIt();
95 break;
96 case 2:
97 products = TwoBodyDecayIt();
98 break;
99 case 3:
100 products = ThreeBodyDecayIt();
101 break;
102 default:
103 products = ManyBodyDecayIt();
104 break;
105 }
106#ifdef G4VERBOSE
108 {
109 G4cout <<
"G4PhaseSpaceDecayChannel::DecayIt() - ";
112 }
113#endif
114 return products;
115}
G4GLOB_DLL std::ostream G4cout
void Put(const value_type &val) const
void CheckAndFillParent()
G4int GetVerboseLevel() const
G4double G4MT_parent_mass
void CheckAndFillDaughters()
◆ IsOKWithParentMass()
G4bool G4PhaseSpaceDecayChannel::IsOKWithParentMass |
( |
G4double |
parentMass | ) |
|
|
virtual |
Reimplemented from G4VDecayChannel.
Definition at line 850 of file G4PhaseSpaceDecayChannel.cc.
851{
852 if (!useGivenDaughterMass)
854
857
860 {
861 sumOfDaughterMassMin += givenDaughterMasses[index];
862 }
863 return (parentMass >= sumOfDaughterMassMin);
864}
virtual G4bool IsOKWithParentMass(G4double parentMass)
◆ Pmx()
◆ SampleDaughterMasses()
G4bool G4PhaseSpaceDecayChannel::SampleDaughterMasses |
( |
| ) |
|
◆ SetDaughterMasses()
G4bool G4PhaseSpaceDecayChannel::SetDaughterMasses |
( |
G4double |
masses[] | ) |
|
Definition at line 832 of file G4PhaseSpaceDecayChannel.cc.
833{
835 {
836 givenDaughterMasses[idx] = masses[idx];
837 }
838 useGivenDaughterMass = true;
839 return useGivenDaughterMass;
840}
The documentation for this class was generated from the following files: