Message: Defining particles in a simulation using python Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Defining particles in a simulation using python 

Forum: Particles
Date: 28 May, 2009
From: Jorge Ferrera <Jorge Ferrera>

Hi guys,

I am converting my simulation from C++ to python and I stuck in a problem.

In this part:

G4Gamma::GammaDefinition();

what do I to convert it in python? I canīt use G4Gamma I think it isnīt exposed, but I need it to declare Gamma. I have tried:

G4Gamma.GammaDefinition() or G4Gamma().GammaDefinition()

but the system canīt find G4Gamma.

Until someone help me I am using a module :) and it works.

Someone knows what i should do?

Thanks in advanced.

Ferrera.

 Add Message Add Message
to: "Defining particles in a simulation using python"

 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 ]