Hi Hiro, On Tue, 27 Aug 2002 11:40:18 -0500 (CDT) Hironori Ito <hito@students.phsx.ukans.edu> wrote concerning "brag update": > Hello. inelastic counters from pp2pp are added to our brag. The > geometry is not quite exact, but it will work ok. Cool! > You can add and remove > each one of the counters by the parameter. (Look at the code.) Erh, you know, it's actually possible to document stuff in GEANT. I see in src/global/bd_inel.F: call exddes('INEL') call set_tree_opt('INEL','ON') call set_tree_opt('INEL','ACTIVE') which I assume means you can do brag> SET_TREE INEL ON If you edit src/user/ukcard.cdf at around line 19, you can add online documentation to that command, for example: The allowed volumes closely match the actual GEANT volume tree, and are rather self-explanatory: BEAM, SHLD, MIDS, FMS1, FMS2, DX, ZDC, MULT, INEL and there you go: No need to look in the code (and some may add: `what code'). The CDF files are what GEANT (in fact KUIPC) uses to define it's interactive user interface. BTW, I did grep -h "call set_tree"_opt src/*/*.F | \ sed -n "s/ *call *set_tree_opt('\([a-zA-Z0-9]*\)',.*/\1 \2/p" | \ sort -u and got this list: BB BEAM C1 D1 D1TR D2 D3 D4 D5 DX FLOR FMS1 FMS2 GASC INEL MIDS MIPL MULT RICH SHLD SKIN SNOUT T1 T2 T3 T4 T5 T6 TMRF TOF1 TOF2 TOFW TPM1 TPM2 WF1 WF2 WM1 WM2 Can someone confirm that this is indeed the list of possible detectors one can turn on/off with SET_TREE? An aside: In ROOT there's now a sub-module for geometry, ladida description that should go well hand in had with GEANT3.21 and GEANT4 (at least that's the plan). Perhaps that means that we can finally migrate so that ROOT is the master and GEANT the slave. That would be cool, cause then we'd only have one language: C++. Check out the TGeomManager and TVirtualMC in ROOT. Yours, ____ | Christian Holm Christensen |_| | ------------------------------------------------------------- | | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 _| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91 _| Denmark Office: (+45) 353 25 305 ____| Email: cholm@nbi.dk Web: www.nbi.dk/~cholm | |
This archive was generated by hypermail 2b30 : Tue Aug 27 2002 - 15:47:17 EDT