Message: Re: rdecay01 concept Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: rdecay01 concept 

Forum: Particles
Re: Question rdecay01 concept (Davinder Siwal)
Re: None Re: rdecay01 concept (michel maire)
Date: 19 May, 2011
From: Davinder Siwal <Davinder Siwal>

Hiii Michle

thanks for reply

The text file which you showed is working fine, But I would like to understand about TrackingAction.cc and RunAction.cc files given in rdecay01

one more thing that the particle is thrown with zero energy what does it mean ???

and what are the following lines are doing in PrimaryGeneratorAction.cc

 if (particleGun->GetParticleDefinition() == G4Geantino::Geantino()) {  
    G4int Z = 10, A = 24;
    G4double ionCharge   = 0.*eplus;
    G4double excitEnergy = 0.*keV;

    G4ParticleDefinition* ion
       = G4ParticleTable::GetParticleTable()->GetIon(Z,A,excitEnergy);
    particleGun->SetParticleDefinition(ion);
    particleGun->SetParticleCharge(ionCharge);

Hope you understand my problem

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: rdecay01 concept   (michel maire - 21 May, 2011)
 Add Message Add Message
to: "Re: rdecay01 concept"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]