Hi, > It is excellent that you have taken this initiative. > I will prepare a small HOWTO pointing to the nice Isidro's work plus > your example. A HOWTO based on my example is too much, I think. Unless you really want to write down all your experience with gluing Geant4 and ROOT (would be welcome). What I do not like in the G4UIRoot approach is that I have to create a geant4-root executable each time I want to make any change in user's classes. I would very much appreciate to get the TGeantX classes from AliSoft working (I mean "extract" them from there). This would give me the possibility to use the "standard" root executable, load dynamically XGeantX shared libraries, load user's code using ACLiC and run the simulation. Each time one makes any change in the user's code, one just needs to use ACLiC to "reload" the library. I would very much appreciate "novice" examples on how to use these classes. Note that my example with TF1 objects was just the most stupid one I could think of in a couple of seconds. If you look into the exampleN01.cc you can see that the constructor of the ExN01DetectorConstruction class is the first user's function that is executed ("new ExN01DetectorConstruction"). So I just wanted to demonstrate that the ROOT environment is available from the beginning (long before "new G4UIRoot(argc,argv)"). In fact you do not even need to create "new session G4UIRoot". It is not needed (but maybe useful for you). A small warning : the current G4UIRoot does not provide "AddMenu" and "AddButton". Then you get several warnings from Geant4 while running exampleN03. This does not make any harm, however (the new "menu" is simply not created). Don't be scared. The author of this suite is aware of this and possibly will implement these functions. Best regards, Jacek.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:45 MET