(Message pen:76) Date: Thu, 13 Apr 2006 22:36:17 +0400 To: "Emil Frlez" From: "Volnykh Vladimir" Subject: Re: [VMC] TGeoXtru class in VMC Return-Path: volnykh@jinr.ru Delivery-Date: Thu Apr 13 14:36:29 2006 Return-Path: References: <200604131544.k3DFiTO13391@vesna.phys.virginia.edu> Organization: jinr MIME-Version: 1.0 In-Reply-To: <200604131544.k3DFiTO13391@vesna.phys.virginia.edu> User-Agent: Opera M2/8.54 (Linux, build 1745) X-Virus-Scanned: amavisd-new at jinr.ru Hi Emil, yes,my Geant4 programs works without crashing. You may connect to our server with geant4,vgm using following commands: $ ssh -Y vgm@ares.jinr.ru $ password: ******************** So this linux server ares.jinr.ru works using CentOS-4 v.4.3 (fully bynary compatible with cern Scientific Linux Cern 4.3). What is your OS with geant4? Further,in directory /detectors you may see 3 subdirectories: /old_target ,/new_target and /old_target_pmt where you may see or get our .C and root files with 3 variants 2004 PSI detector accordingly. For example,if you'll execute commands $ cd old_target and further $ root you'll see ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.10/00c 31 March 2006 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* FreeType Engine v2.1.9 used to render TrueType fonts. Compiled on 4 April 2006 for linux with thread support. CINT/ROOT C/C++ Interpreter version 5.16.8, February 9, 2006 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. Further, $ .x detector_G4.C Something like Info in : Geometry detector_G4, detector_G4.C created Info in : Top volume is MAMA. Master volume is MAMA Info in : Fixing runtime shapes... Info in : ...Nothing to fix Info in : Counting nodes... Info in : Voxelizing... Info in : Building cache... Info in : --- Maximum geometry depth is 4 --- node ID tracking disabled Info in : 2436 nodes/ 544 volume UID's in detector_G4.C Info in : ----------------modeler ready---------------- root [2] gGeoManager->GetMasterVolume()->Draw() and you''ll see canvas with detector where you may use View->View with x3D or OpenGL. On ares.jinr.ru there was established geant4 v.4.8.0 patch 1, vgm 2.07. I used g2root for your geant3 programs, but in geant4 you have to patch file /geant4/source/geometry/solids/CSG/src/G4Trap.cc where you must change line const G4double kCoplanar_Tolerance = 1E-4 ; to line const G4double kCoplanar_Tolerance = 1E0 ; and futher in directory /geant4/source/geometry/solids/CSG/ you must recompile libG4csg.a and libG4csg.so libraries with command gmake (and you must set variables G4LIB_BUILD_SHARED=1 and G4LIB_BUILD_STATIC=1). Ivana Hrivnakova made fix for general trapezoid with triangular faces (in Geant4GM) and included it in standard vgm and after that I used vgm for folowing programming. As you may see in detector_G4.C i used construction Volume_assembly with the purpose of avoid many overlaps in geometry(geometry fully reconstructed). Else I made big work with root files with the purpose to see in geant4 just 220 groups of CSI cylinders. With geant4 I use vgm for geometry conversion from root to geant4 geometry,OpenScientist from http://openscientist.lal.in2p3.fr/ with the purpose to build ntuples and histograms in geant4. In our server ares.jinr.ru To work with vgm set commands $ cd /vgm/example/PSI06/bin/Linux-g++ after that you may execute command $ pibeta and geant4 with PSI detector started. In source and /include directories you may see geant4 programs. After executing there will be builded events.root file with energy and time distributions. I think that it's very hard in short letter to explain all details. We need to meet for teamwork. Best regards, Volnykh Vladimir