Hi Paolo, I will leave the questions related to geant3 for the others; > If I use VMC with geant4, how can I specify a particular list i.e. link > to my program a particular physics list library ? Geant4 VMC provides by default a physics list based on the physics lists provided with Geant4 novice examples (N04 for EM and Hadron physics, N06 for optical physics). In order to change this default physics list, you have to override the TG4RunConfiguration class with your own class including your physics list. As we do not provide an example how to do that in geant4_vmc I've attached a modified E03 example with this extension. In this example, the default Geant4 VMC physics list is replaced by the Geant4 N04 example physics list (the class is taken directly from Geant4, not from Geant4 VMC) Have a look at the added geant4 directory and the added run_g4ext.C and g4ConfigExt.C macros how it is done. > In geant4 a G4TransitionRadiation class exists, but how can I link it > to the VMC application? You have to define your own physics list including this process and set to VMC as described above. Best regards, Ivana ============================================================== e-mail: Ivana.Hrivnacova@cern.ch address: Institut Physique Nucleaire, 91406 Orsay, France phone: (33) 01 69 15 65 94 ============================================================== On Thu, 23 Oct 2003, paolo maestro wrote: > > Hi Ivana, > > I would like to ask you some questions about the physics processes > > that are built by the method BuildPhysics of class TVirtualMC. > > - If I use VMC with geant3.21, which package for hadronic showers > description is used as default? > > Gheisha or Fluka? Which is the maximum momentum for primary particles I > can run? > > - Currently different physics lists (for calorimetry, medical and > military application, shielding etc..) > > are provided by geant4 depending on the kind of problem one wants to > address. > > If I use VMC with geant4, how can I specify a particular list i.e. link > > to my program a particular physics list library ? > > - I'm interested in doing some simulations of a transition radiation > detector. Can I use > > the VMC for that? I mean, reading the geant3.21 manual it seems to me > that > > processes for transition radiation are not implemented. Is this right? > > In geant4 a G4TransitionRadiation class exists, but how can I link it > to the VMC application? > > Thanks in advance for your help. > > Best regards > > Paolo Maestro > > ************************** > Paolo Maestro > University of Siena-INFN > ++39-050-2214349 > ************************** > > > --
This archive was generated by hypermail 2b29 : Fri Jan 02 2004 - 02:46:51 MET