#include "G4Decay.hh"
#include "G3toG4.hh"
#include "G3PartTable.hh"
Go to the source code of this file.
Functions | |
void | PG4gsdk (G4String *tokens) |
void | G4gsdk (G4int, G4double *, G4int *) |
Definition at line 46 of file G4gsdk.cc.
Referenced by PG4gsdk().
00047 { 00048 /* 00049 // create decay object for the particle 00050 G4Decay *decay = new G4Decay(); 00051 // add decay modes 00052 for (G4int i=0; i<6; i++) { 00053 if (mode[i] != 0) { 00054 // $$$ decay->AddMode(mode[i],bratio[i]); 00055 } 00056 } 00057 // associate decay object with particle ipart 00058 G4ParticleDefinition *part = G3Part.Get(ipart); 00059 // $$$ part->SetDecay(decay); 00060 */ 00061 }
void PG4gsdk | ( | G4String * | tokens | ) |
Definition at line 33 of file G4gsdk.cc.
References G3fillParams(), G4gsdk(), Ipar, PTgsdk, and Rpar.
Referenced by G3CLEval().
00034 { 00035 // fill the parameter containers 00036 G3fillParams(tokens,PTgsdk); 00037 00038 // interpret the parameters 00039 G4int ipart = Ipar[0]; 00040 G4int *mode = &Ipar[3]; 00041 G4double *bratio = Rpar; 00042 00043 G4gsdk(ipart,bratio,mode); 00044 }