Go to the source code of this file.
◆ G4GIDI_Misc_channelCompound()
char* G4GIDI_Misc_channelCompound |
( |
char * |
particle1, |
|
|
char * |
particle2 |
|
) |
| |
Definition at line 67 of file G4GIDI_Misc.cc.
69 int Z1, A1, m1,
Z2, A2,
m2, level1, level2;
char * G4GIDI_Misc_Z_A_m_ToName(int iZ, int iA, int im)
int MCGIDI_miscNameToZAm(statusMessageReporting *smr, const char *name, int *Z, int *A, int *m, int *level)
◆ G4GIDI_Misc_Z_A_m_ToName()
char* G4GIDI_Misc_Z_A_m_ToName |
( |
int |
iZ, |
|
|
int |
iA, |
|
|
int |
im = 0 |
|
) |
| |
Definition at line 44 of file G4GIDI_Misc.cc.
47 char S[128], mS[32], *
name;
49 if( Z == NULL )
return( NULL );
51 if( im != 0 )
return( NULL );
52 sprintf( S,
"%s_natural", Z ); }
54 sprintf( S,
"%s%d", Z, iA );
56 sprintf( mS,
"_m%d", im );
60 name = (
char *)
smr_malloc2( NULL, strlen( S ) + 1, 0,
"name" );
61 if( name != NULL ) strcpy( name, S );
const char * MCGIDI_misc_ZToSymbol(int iZ)
#define smr_malloc2(smr, size, zero, forItem)
◆ getNamesOfAvailableTargets_walker()