Jacek, thanks for your interest in TGeantx. As you say quite rightly TGeantX is now rather embedded in AliRoot, as it has been developed in this context. AliRoot is quite big, 250kLOC of C++, however you do not need to take it all, and in fact you only need few modules in order to run TGeantX. True these are still rather ALICE dependent, but with some surgery they can be used in other contexts. If there is a real interest to use these classes outside the ALICE context, we can discuss how to make them more "neutral". We are not opposed, in principle, to an evolution in this direction. BTW, we are also planning a TFLUKA class which allow the use of the FLUKA MonteCarlo (http://fluka.web.cern.ch/fluka/) from the Virtual MonteCarlo classes, even if the timescale is not completely clear. Best, Federico Carminati ============================================================================== || Federico Carminati || Tel.: +41.22.767.4959 || || CERN-EP || Fax.: +41.22.767.9480 || || 1211 Geneva 23 || || || Switzerland || || ============================================================================== On Thu, 14 Mar 2002, Jacek M. Holeczek wrote: > 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