#include <G4PionRadiativeDecayChannel.hh>
|
| G4PionRadiativeDecayChannel (const G4String &theParentName, G4double theBR) |
|
virtual | ~G4PionRadiativeDecayChannel () |
|
virtual G4DecayProducts * | DecayIt (G4double) |
|
| 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 () |
|
G4int | operator== (const G4VDecayChannel &right) const |
|
G4int | operator!= (const G4VDecayChannel &right) const |
|
G4int | operator< (const G4VDecayChannel &right) const |
|
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 () |
|
G4PionRadiativeDecayChannel::G4PionRadiativeDecayChannel |
( |
const G4String & |
theParentName, |
|
|
G4double |
theBR |
|
) |
| |
G4PionRadiativeDecayChannel::~G4PionRadiativeDecayChannel |
( |
| ) |
|
|
virtual |
Definition at line 106 of file G4PionRadiativeDecayChannel.cc.
108 beta(right.beta),cib(right.cib),csdp(right.csdp),
109 csdm(right.csdm),cif(right.cif),cig(right.cig),
110 xl(right.xl), yl(right.yl), xu(right.xu), yu(right.yu),
G4PionRadiativeDecayChannel::G4PionRadiativeDecayChannel |
( |
| ) |
|
|
protected |
Definition at line 48 of file G4PionRadiativeDecayChannel.cc.
50 beta(0.),cib(0.),csdp(0.),csdm(0.),cif(0.),cig(0.),
51 xl(0.), yl(0.), xu(0.), yu(0.), d2wmax(0.)
Implements G4VDecayChannel.
Definition at line 153 of file G4PionRadiativeDecayChannel.cc.
References G4DecayProducts::DumpInfo(), G4VDecayChannel::FillDaughters(), G4VDecayChannel::FillParent(), G4cout, G4endl, G4VDecayChannel::G4MT_daughters, G4VDecayChannel::G4MT_parent, G4UniformRand, G4ParticleDefinition::GetPDGMass(), G4VDecayChannel::GetVerboseLevel(), G4DecayProducts::PushProducts(), python.hepunit::rad, CLHEP::Hep3Vector::rotateUz(), python.hepunit::twopi, and test::x.
158 G4cout <<
"G4PionRadiativeDecayChannel::DecayIt ";
172 for (
G4int index=0; index<3; index++){
174 sumofdaughtermass += daughtermass[index];
185 delete parentparticle;
206 G4double cthetaGE = (y*(x-2.)+2.*(1.-x+beta*beta)) /
207 (x*std::sqrt(y*y-4.*beta*beta));
218 if (E < EMASS) E = EMASS;
223 daughtermomentum[0] = std::sqrt(E*E - EMASS*EMASS);
226 G4double sthetaE = std::sqrt(1.-cthetaE*cthetaE);
245 daughtermomentum[1] = G;
247 G4double sthetaGE = std::sqrt(1.-cthetaGE*cthetaGE);
255 px = sthetaGE*cphiGE;
256 py = sthetaGE*sphiGE;
261 direction1.rotateUz(direction0);
271 G4cout <<
"G4PionRadiativeDecayChannel::DecayIt ";
272 G4cout <<
" create decay products in rest frame " <<
G4endl;
G4int PushProducts(G4DynamicParticle *aParticle)
G4ParticleDefinition * G4MT_parent
G4ParticleDefinition ** G4MT_daughters
G4GLOB_DLL std::ostream G4cout
G4int GetVerboseLevel() const
G4double GetPDGMass() const
The documentation for this class was generated from the following files: