Ignore:
Timestamp:
Feb 16, 2009, 10:14:30 AM (15 years ago)
Author:
garnier
Message:

en test de gl2ps. Problemes de libraries

Location:
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Appendix/Appendix.xml

    r904 r921  
    2525&appbuildFile;
    2626&appdevelopmentDebugTools;
     27&apppythonInterface;
    2728&appmaterialNames;
    2829
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Appendix/AppendixEntityDef.dtd

    r904 r921  
    1919<!ENTITY appmakeFile               SYSTEM "./makeFile.xml">
    2020<!ENTITY appbuildFile              SYSTEM "./buildFile.xml">
     21<!ENTITY apppythonInterface        SYSTEM "./pythonInterface.xml">
    2122<!ENTITY appdevelopmentDebugTools  SYSTEM "./developmentDebugTools.xml">
    2223
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/BookForAppliDev.xml

    r904 r921  
    44<!ENTITY % bookForAppliDevEntityDef SYSTEM "./BookForAppliDevEntityDef.dtd">
    55%bookForAppliDevEntityDef;
     6
    67]>
    78
     
    3031  </authorgroup>
    3132
    32   <pubdate>14 December, 2007</pubdate>
    33   <releaseinfo>Version: geant4 9.1</releaseinfo>
     33  <pubdate>19 December, 2008</pubdate>
     34  <releaseinfo>Version: geant4 9.2</releaseinfo>
    3435
    3536</bookinfo>
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Fundamentals/biasing.xml

    r904 r921  
    610610<mediaobject>
    611611 <imageobject role="fo">
    612     <imagedata fileref="./AllResources/Fundamentals/wwconcept.gif"
    613                format="GIF" contentwidth="9.0cm" align="center" />
     612    <imagedata fileref="./AllResources/Fundamentals/wwconcept.jpg"
     613               format="JPG" contentwidth="9.0cm" align="center" />
    614614  </imageobject>
    615615  <imageobject role="html">
    616     <imagedata fileref="./AllResources/Fundamentals/wwconcept.gif"
    617                format="GIF" align="center" />
     616    <imagedata fileref="./AllResources/Fundamentals/wwconcept.jpg"
     617               format="JPG" align="center" />
    618618  </imageobject>
    619619  <textobject>
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Fundamentals/classCategory.xml

    r905 r921  
    5858<mediaobject>
    5959  <imageobject role="fo">
    60     <imagedata fileref="./AllResources/Fundamentals/classCategory.gif"
    61                format="GIF" contentwidth="7.0cm" align="center" />
     60    <imagedata fileref="./AllResources/Fundamentals/classCategory.jpg"
     61               format="JPG" contentwidth="7.0cm" align="center" />
    6262  </imageobject>
    6363  <imageobject role="html">
    64     <imagedata fileref="./AllResources/Fundamentals/classCategory.gif"
    65                format="GIF" align="center" />
     64    <imagedata fileref="./AllResources/Fundamentals/classCategory.jpg"
     65               format="JPG" align="center" />
    6666  </imageobject>
    6767</mediaobject>
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/GettingStarted/graphicalUserInterface.xml

    r904 r921  
    2929The "intercoms" category
    3030provides an expandable command interpreter. It is the key mechanism
    31 of Geant4 to realize user interactions of all categories without
     31of Geant4 to realize secure user interactions of all categories without
    3232being annoyed by the dependencies among categories. The direct use
    3333of Geant4 classes in a C++ program offers a first ground level of
     
    3636hard-coded in the program.
    3737</para>
     38
     39
    3840
    3941</sect3>
     
    5254the interfaces category. This interfacing strategy opens an
    5355important door towards various user interface tools and allows
    54 Geant4 to utilize the state-of-the-art GUI tools such as Motif and
    55 Java, etc..The richness of the collaboration has permitted for
    56 different groups to offer various user interfaces to the Geant4
     56Geant4 to utilize the state-of-the-art GUI tools such as Motif, Qt,
     57and Java etc..The richness of the collaboration has permitted for
     58developers to offer various user interfaces to the Geant4
    5759command system. Currently available are the following;
    5860
     
    6769  </para></listitem>
    6870  <listitem><para>
    69   GAG, a fully Graphical User Interface and its extension
     71  GAG, a fully Graphical User Interface and its network extension
    7072  GainServer of the client/server type.
    7173  </para></listitem>
     
    7678Full implementation of the character
    7779terminals (1 and 2) is included in the standard Geant4 distribution
    78 in the <literal>source/interfaces/basic</literal> directory. As for GAG
    79 with rich GUI functionalities, its front-end classes are included
    80 in the Geant4 distribution in the source/interfaces/GAG directory.
    81 The corresponding GUI package is available either from the author's
    82 Web pages (see URL below) or in the distributed package under the
    83 <literal>environments/MOMO</literal> directory.
     80in the <literal>source/interfaces/basic</literal> directory. As for GAG,
     81the front-end class is included
     82in the Geant4 distribution in the source/interfaces/GAG directory,
     83while its partner GUI package MOMO.jar is available in the standard Geant4 distribution
     84under the
     85<literal>environments/MOMO</literal> directory. MOMO.jar, Java archive file, contains
     86not only GAG, but also GGE and other helper packages.
     87Supplementary information is available
     88from the author's Webpage(see URL below).
    8489</para>
    8590
    8691<para>
    8792GAG, GainServer's client GUI Gain:
    88 <ulink url="http://erpc1.naruto-u.ac.jp/~geant4">
    89 http://erpc1.naruto-u.ac.jp/~geant4
     93<ulink url="http://www-geant4.kek.jp/~yoshidah">
     94http://www-geant4.kek.jp/~yoshidah
    9095</ulink>
    9196</para>
     
    238243A command box is at disposal for entering or recalling Geant4 commands.
    239244Command completion by typing &amp;ldquo;TAB&amp;rdquo; key is
    240 available on the command line. The shellcommands "exit, cont,
     245available on the command line. The shell commands "exit, cont,
    241246help, ls, cd..." are also supported. A menu bar could be customized
    242247through the <emphasis>AddMenu</emphasis> and
     
    287292
    288293<para>
    289 They are the front-end classes of Geant4 which interface with their
    290 respective graphical user interfaces, GAG (Geant4 Adaptive GUI) and Gain
    291 (Geant4 adaptive interface for network). While GAG must run on the same
     294They are the front-end classes of Geant4 which make connection with their
     295respective graphical user interfaces, GAG (Geant4 Adaptive GUI) via pipe, and Gain
     296(Geant4 adaptive interface for network) via sockets. While GAG must run on the same
    292297system (Windows or Unixen) as a Geant4 application, Gain can run on a
    293 remote system (Windows, Linux, etc.) to which JVM (Java Virtual
    294 Machine) is installed. A Geant4 application is invoked on a Unix
     298remote system (Windows, Linux, etc.) in which JRE (Java Runtime
     299Environment) is installed. A Geant4 application is invoked on a Unix
    295300(Linux) system and behaves as a network server. It opens a port,
    296301waiting the connection from the Gain. Gain is capable to connect to
     
    300305
    301306<para>
    302 Client GUI, GAG and Gain have almost similar look-and-feel. So,
    303 GAG's functionalities are briefly introduced here. Please refer to
    304 the above URL for details and to download the client GUIs.
    305 </para>
    306 
    307 <para>
    308 GAG is a Graphical User Interface tool with which user
    309 can set parameters and execute commands. It is adaptive, since GAG
    310 reflects the internal states of Geant4 that is a state machine. GAG
    311 is based on the server-client model; GAG is the server, while
    312 Geant4 executables are clients. Hence, GAG does nothing by itself
    313 and it must invoke an executable simulation program. Geant4's
     307Client GUIs, GAG and Gain have almost similar look-and-feel. So,
     308GAG's functionalities are briefly explained here. Please refer to
     309the above URL for details.
     310</para>
     311
     312<para>
     313Using GAG, user
     314can select a command, set its parameters and execute it. It is adaptive, in the sense that it
     315reflects the internal states of Geant4 that is a state machine. So, GAG  always provides users with
     316the Geant4 commands which may be added, deleted, enabled or disabled during a session. GAG does nothing by itself but to play an intermediate between user and
     317 an executable simulation program via pipes. Geant4's
    314318front-end class <emphasis>G4UIGAG</emphasis> must be instantiated to
    315 communicate with GAG. This runs on Linux and Windows 2000.
    316 GAG is written in Java and
    317 its Jar (Java Archive) file is available from the above URL. See
    318 the same pages to know how to install and run Java programs.
    319 </para>
     319communicate with GAG. GAG runs on Linux and Windows. If MOMO.jar is in your
     320CLASSPATH, it can be run by a command;
     321</para>
     322
     323<informalexample>
     324<programlisting>
     325   %java -jar MOMO.jar
     326</programlisting>
     327</informalexample>
    320328
    321329<para>
     
    329337    a GEANT4 process and to exit GAG. Upon the normal exit or an
    330338    unexpected death of the Geant4 process, GAG window are
    331     automatically reset to accept another GEANT4 executable.   
     339    automatically reset to run another GEANT4 executable.   
    332340    </listitem>
    333341  </varlistentry>
     
    335343    <term>GEANT4 Command tree:</term>
    336344    <listitem>
    337     Upon the establishment of the pipe with the GEANT4 process, GAG displays
    338     the command menu tree whose look and feel is quite similar to
    339     Windows' file browser. Disabled commands are shown opaque. GAG
     345    Upon the establishment of the pipe connection with the GEANT4 process, GAG displays
     346    the command menu, using expandable tree browser whose look and feel is similar to
     347    a file browser. Disabled commands are shown in opaque. GAG
    340348    doesn &amp;rsquo;t display commands that are just below the root of
    341349    the command hierarchy. Direct type-in field is available for such
     
    364372    Log can be redirected to the terminal (xterm or cygwin
    365373    window) from which GAG is invoked. It can be interrupted as will,
    366     in the middle of long session of execution. Log can be saved to a
     374    in the middle of a long session of execution. Log can be saved to a
    367375    file independent of the above redirection . GAG displays warning or
    368376    error messages from GEANT4 in a pop-up warning widget.
     
    383391
    384392<para>
    385 The libraries that don't depend on external packages are made by default.
     393The libraries that don't depend on external packages are created by default, using
     394Geant4 configure scripts.
    386395They include <emphasis>G4UIterminal</emphasis>, <emphasis>G4UItcsh</emphasis>
    387396and <emphasis>G4UIGAG</emphasis> in libraries <emphasis>libG4UIbasic.a/so</emphasis> and
     
    396405<emphasis role="bold">G4UI_BUILD_XAW_SESSION</emphasis> or
    397406<emphasis role="bold">G4UI_BUILD_WIN32_SESSION</emphasis> must be set
    398 explicitly.
     407explicitly before creating libraries.
    399408</para>
    400409
     
    405414
    406415<para>
    407 Build scheme of the user interface libraries is
     416The scheme of building the user interface libraries is
    408417specified in "$G4INSTALL/config/G4UI_BUILD.gmk" makefile and the
    409418dependencies on the external packages are specified in
     
    416425<sect2 id="sect.HowToSetUpInter.HowToUseInter">
    417426<title>
    418 How to Use the Interface
     427How to Use the Interface in Your Application
    419428</title>
    420429
     
    422431To use a given interface
    423432(<literal>G4UIxxx</literal> where <literal>xxx = terminal,Xm, Xaw, Win32,
    424 GAG, GainServer</literal>) in a user's program, he has the following
    425 lines in his main program;
     433GAG, GainServer</literal>) in your program, you have following
     434lines in your main program;
    426435
    427436<informalexample>
    428437<programlisting>
    429 // to include the class definition in his main program:
     438// to include the class definition in the main program:
    430439   #include "G4Uixxx.hh"
    431 // to instantiate a session of his choice and start the session
     440// to instantiate a session of your choice and start the session
    432441   G4UIsession* session = new G4UIxxx;
    433442   session-&gt;SessionStart();
    434 // the line next to the "SessionStart" is usually to finish the session
     443// the line next to the "SessionStart" is necessary to finish the session
    435444   delete session;
    436445</programlisting>
     
    466475
    467476<para>
    468 Again, environment variable selects a given interface. But for your
    469 convenience, some of them are set defaults.
     477Again, environment variable must be preset to select a given interface. But for your
     478convenience, some of them are set by defaults.
    470479
    471480<itemizedlist spacing="compact">
     
    473482   <emphasis>G4UIterminal</emphasis>, <emphasis>G4UItcsh</emphasis>,
    474483   <emphasis>G4UIGAG</emphasis> and <emphasis>G4UIGainServer</emphasis>
    475    can be used without any environment
     484   can be used without setting any environment
    476485   variables. Sessions not needing external packages or libraries are
    477486   always built (see "G4UI_BUILD.gmk") and linked, so the user can
     
    497506   <listitem><para>
    498507   If the environment variable <emphasis role="bold">G4UI_NONE</emphasis> is
    499    set, no externa ibraries are selected. Also, for your convenience, if any
     508   set, no external libraries are selected. Also, for your convenience, if any
    500509   <emphasis role="bold">G4UI_USE_XXX</emphasis> environment variable is set,
    501510   then the corresponding C-pre-processor flag is also set. However, if the
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/GettingStarted/visualization.xml

    r905 r921  
    22<!--                                                          -->
    33<!--  [History]                                               -->
     4<!--    Update HepRApp reference: Joseph Perl, Dec-2008       -->
    45<!--    Converted to DocBook: Katsuya Amako, Aug-2006         -->
    56<!--    Changed by: Katsuya Amako, 30-Nov-1998                -->
     
    7273graphics systems use a graphics library compiled with Geant4, such
    7374as OpenGL, Qt or OpenInventor, while others involve a separate application, such as
    74 WIRED or DAWN.
     75HepRApp or DAWN.
    7576</para>
    7677
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/TrackingAndPhysics/physicsProcess.xml

    r904 r921  
    360360
    361361<para>
    362 This section summarizes the electromagnetic physics processes which
    363 are installed in Geant4. For details on the implementation of these
     362This section summarizes the electromagnetic (EM) physics processes which
     363are provided with Geant4. Extended information are avalable at EM web
     364<ulink url="http://geant4.web.cern.ch/geant4/collaboration/EMindex.shtml">
     365<emphasis role="bold">pages</emphasis></ulink>.   
     366For details on the implementation of these
    364367processes please refer to the
    365368<ulink url="http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/PhysicsReferenceManual/html/PhysicsReferenceManual.html">
     
    407410      </para></listitem>
    408411      <listitem><para>
     412        Multiple scattering (class name <emphasis>G4eMultipleScattering</emphasis>)
     413      </para></listitem>
     414      <listitem><para>
    409415        Positron annihilation into two gammas (class name
    410416        <emphasis>G4eplusAnnihilation</emphasis>)
     
    424430    <itemizedlist spacing="compact">
    425431      <listitem><para>
     432        Bremsstrahlung (class name <emphasis>G4MuBremsstrahlung</emphasis>)
     433      </para></listitem>
     434      <listitem><para>
    426435        Ionisation and delta ray production (class name
    427436        <emphasis>G4MuIonisation</emphasis>)
    428437      </para></listitem>
    429438      <listitem><para>
    430         Bremsstrahlung (class name <emphasis>G4MuBremsstrahlung</emphasis>)
     439        Multiple scattering (class name <emphasis>G4MuMultipleScattering</emphasis>)
    431440      </para></listitem>
    432441      <listitem><para>
     
    440449    <itemizedlist spacing="compact">
    441450      <listitem><para>
     451        Bremsstrahlung (class name <emphasis>G4hBremsstrahlung</emphasis>)
     452      </para></listitem>
     453      <listitem><para>
    442454        Ionisation (class name <emphasis>G4hIonisation</emphasis>)
    443455      </para></listitem>
    444456      <listitem><para>
     457        e+e- pair production (class name <emphasis>G4hPairProduction</emphasis>)
     458      </para></listitem>
     459      <listitem><para>
    445460        Ionisation for ions (class name <emphasis>G4ionIonisation</emphasis>)
    446461      </para></listitem>
    447462      <listitem><para>
    448         Ionisation for ions in low-density media (class name <emphasis>G4ionGasIonisation</emphasis>)
     463        Multiple scattering (class name <emphasis>G4hMultipleScattering</emphasis>)
    449464      </para></listitem>
    450465      <listitem><para>
     
    465480        is used to simulate the multiple scattering of the all charged
    466481        particles  (class name <emphasis>G4MultipleScattering</emphasis>)
    467       </para></listitem>
    468       <listitem><para>
    469         Specialised process for more fast simulation the multiple scattering
    470         of muons and hadrons (class name <emphasis>G4hMultipleScattering</emphasis>)
    471       </para></listitem>
    472       <listitem><para>
    473         Alternative process (beta-version) for the multiple scattering
    474         of muons (class name <emphasis>G4MuMultipleScattering</emphasis>)
    475482      </para></listitem>
    476483      <listitem><para>
     
    549556
    550557<para>
    551 An example of the registration of these processes in a physics list
    552 is given in <xref linkend="programlist_PhysProc_1" />,
    553 similar method is used in EM-builders of reference physics
    554 lists ($G4INSTALL/source/physics_lists/builders) and in
    555 EM examples ($G4INSTALL/examples/extended/electromagnetic).
    556 
    557 <example id="programlist_PhysProc_1">
    558 <title>
    559 <literal>Registration of standard electromagnetic processes</literal>
    560 </title>
    561 
    562 <programlisting>
    563 void PhysicsList::ConstructEM()
    564 
    565 {
    566 
    567   theParticleIterator-&gt;reset();
    568 
    569   while( (*theParticleIterator)() ){
    570 
    571     G4ParticleDefinition* particle = theParticleIterator-&gt;value();
    572     G4ProcessManager* pmanager = particle-&gt;GetProcessManager();
    573     G4String particleName = particle-&gt;GetParticleName();
    574 
    575     if (particleName == "gamma") {
    576 
    577       pmanager-&gt;AddDiscreteProcess(new G4PhotoElectricEffect);
    578       pmanager-&gt;AddDiscreteProcess(new G4ComptonScattering);
    579       pmanager-&gt;AddDiscreteProcess(new G4GammaConversion);
    580 
    581     } else if (particleName == "e-") {
    582 
    583       pmanager-&gt;AddProcess(new G4MultipleScattering, -1, 1, 1);
    584       pmanager-&gt;AddProcess(new G4eIonisation,        -1, 2, 2);
    585       pmanager-&gt;AddProcess(new G4eBremsstrahlung,    -1, 3, 3);
    586 
    587     } else if (particleName == "e+") {
    588 
    589       pmanager-&gt;AddProcess(new G4MultipleScattering, -1, 1, 1);
    590       pmanager-&gt;AddProcess(new G4eIonisation,        -1, 2, 2);
    591       pmanager-&gt;AddProcess(new G4eBremsstrahlung,    -1, 3, 3);
    592       pmanager-&gt;AddProcess(new G4eplusAnnihilation,   0,-1, 4);
    593      
    594     } else if( particleName == "mu+" ||
    595                particleName == "mu-"    ) {
    596 
    597       pmanager-&gt;AddProcess(new G4hMultipleScattering,-1, 1, 1);
    598       pmanager-&gt;AddProcess(new G4MuIonisation,       -1, 2, 2);
    599       pmanager-&gt;AddProcess(new G4MuBremsstrahlung,   -1, 3, 3);
    600                pmanager-&gt;AddProcess(new G4MuPairProduction,   -1, 4, 4);       
    601 
    602     } else if (particleName == "alpha" ||
    603                particleName == "He3" ||
    604                particleName == "GenericIon") {
    605       // ions with charge >= +2
    606       pmanager-&gt;AddProcess(new G4hMultipleScattering,-1, 1, 1);
    607       pmanager-&gt;AddProcess(new G4ionIonisation,      -1, 2, 2);
    608      
    609     } else if ((!particle-&gt;IsShortLived()) &amp;&amp;
    610                (particle-&gt;GetPDGCharge() != 0.0) &amp;&amp;
    611                (particle-&gt;GetParticleName() != "chargedgeantino")) {
    612       //all others charged particles except geantino and short-lived
    613       pmanager-&gt;AddProcess(new G4hMultipleScattering,-1, 1, 1);
    614       pmanager-&gt;AddProcess(new G4hIonisation,        -1, 2, 2);
    615            
    616     }
    617   }
    618 }
    619 </programlisting>
    620 </example>
    621 </para>
    622 
    623 <para>
     558It is recommended to use physics constructor classes provided
     559with rederence physics lists ($G4INSTALL/source/physics_lists/builders):
     560    <itemizedlist spacing="compact">
     561      <listitem><para>
     562        default EM physics (class name <emphasis>G4EmStandardPhysics</emphasis>)
     563      </para></listitem>
     564      <listitem><para>
     565        optional EM physics providing similar performance as g4 7.1p01
     566        (class name <emphasis>G4EmStandardPhysics_option1</emphasis>)
     567      </para></listitem>
     568      <listitem><para>
     569        Experimental EM physics with enabled "ApplyCuts" option
     570        (class name <emphasis>G4EmStandardPhysics_option2</emphasis>)
     571      </para></listitem>
     572      <listitem><para>
     573        EM physics for simulation with high accuracy
     574        (class name <emphasis>G4EmStandardPhysics_option3</emphasis>)
     575      </para></listitem>
     576    </itemizedlist>
     577Examples of the registration of these physics constructor and
     578construction of alternative combinations of options are shown
     579in novice and extended examples ($G4INSTALL/examples/extended/electromagnetic).
    624580Novice and extended electromagnetic examples illustrating the use
    625581of electromagnetic processes are available as part of the Geant4
     
    676632   <listitem><para>
    677633     SetApplyCuts(G4bool)
     634   </para></listitem>
     635   <listitem><para>
     636     SetSpline(G4bool)
    678637   </para></listitem>
    679638   <listitem><para>
     
    836795The following is a summary of the Low Energy Electromagnetic
    837796processes available in Geant4. Further information is available in
    838 the
    839 <ulink url="http://www.ge.infn.it/geant4/lowE/index.html">
    840 homepage
     797the web
     798<ulink url="http://geant4.web.cern.ch/geant4/collaboration/working_groups/LEelectromagnetic/index.shtml">pages
    841799</ulink>
    842800of the Geant4 Low Energy Electromagnetic Physics Working Group.
     
    845803Physics Reference Manual
    846804</ulink>
    847 and in other
    848 <ulink url="http://www.ge.infn.it/geant4/lowE/papers.html">
    849 papers</ulink>.
    850805</para>
    851806
     
    899854
    900855<para>
    901 An example of the registration of these processes in a physics list
    902 is given in <xref linkend="programlist_PhysProc_2" />.
    903 
    904 <example id="programlist_PhysProc_2">
    905 <title>
    906 Registration of electromagnetic low energy electron/photon processes.
    907 </title>
    908 
    909 <programlisting>
    910 void LowEnPhysicsList::ConstructEM()
    911 {
    912   theParticleIterator-&gt;reset();
    913 
    914   while( (*theParticleIterator)() ){
    915 
    916     G4ParticleDefinition* particle = theParticleIterator-&gt;value();
    917     G4ProcessManager* pmanager = particle-&gt;GetProcessManager();
    918     G4String particleName = particle-&gt;GetParticleName();
    919 
    920     if (particleName == "gamma") {
    921 
    922       theLEPhotoElectric   = new G4LowEnergyPhotoElectric();
    923       theLECompton         = new G4LowEnergyCompton();
    924       theLEGammaConversion = new G4LowEnergyGammaConversion();
    925       theLERayleigh        = new G4LowEnergyRayleigh();
    926 
    927       pmanager-&gt;AddDiscreteProcess(theLEPhotoElectric);
    928       pmanager-&gt;AddDiscreteProcess(theLECompton);
    929       pmanager-&gt;AddDiscreteProcess(theLERayleigh);
    930       pmanager-&gt;AddDiscreteProcess(theLEGammaConversion);
    931 
    932     }
    933     else if (particleName == "e-") {
    934 
    935       theLEIonisation = new G4LowEnergyIonisation();
    936       theLEBremsstrahlung = new G4LowEnergyBremsstrahlung();
    937       theeminusMultipleScattering = new G4MultipleScattering();
    938 
    939       pmanager-&gt;AddProcess(theeminusMultipleScattering,-1,1,1);
    940       pmanager-&gt;AddProcess(theLEIonisation,-1,2,2);
    941       pmanager-&gt;AddProcess(theLEBremsstrahlung,-1,-1,3);
    942 
    943     }
    944     else if (particleName == "e+") {
    945 
    946       theeplusMultipleScattering = new G4MultipleScattering();
    947       theeplusIonisation = new G4eIonisation();
    948       theeplusBremsstrahlung = new G4eBremsstrahlung();
    949       theeplusAnnihilation = new G4eplusAnnihilation();
    950 
    951       pmanager-&gt;AddProcess(theeplusMultipleScattering,-1,1,1);
    952       pmanager-&gt;AddProcess(theeplusIonisation,-1,2,2);
    953       pmanager-&gt;AddProcess(theeplusBremsstrahlung,-1,-1,3);
    954       pmanager-&gt;AddProcess(theeplusAnnihilation,0,-1,4);
    955     }
    956   }
    957 }
    958 </programlisting>
    959 </example>
    960 </para>
    961 
    962 <para>
    963 Advanced <emphasis role="bold">examples</emphasis> illustrating the use of Low Energy
    964 Electromagnetic processes are available as part of the Geant4
     856Examples of the registration of physics constructor with low-energy
     857electromagnetic processes are shown
     858in Geant4 extended examples ($G4INSTALL/examples/extended/electromagnetic).
     859<emphasis role="bold">Advanced examples</emphasis> illustrating alternative instantiation
     860of these processes. Both are available as part of the Geant4
    965861<ulink url="http://geant4.web.cern.ch/geant4/support/download.shtml">
    966 release
    967 </ulink>
    968 and are further documented
    969 <ulink url="http://www.ge.infn.it/geant4/lowE/examples/index.html">
    970 here</ulink>.
     862release</ulink>.
    971863</para>
    972864
     
    979871</emphasis>
    980872need to be copied by the user to his/her code
    981 repository. These files are distributed together with Geant4
    982 <ulink url="http://geant4.web.cern.ch/geant4/support/download.shtml">
    983 release</ulink>.
    984 </para>
    985 
    986 <para>
     873repository. These files are distributed together with Geant4.
    987874The user should set the environment variable
    988875<emphasis role="bold">G4LEDATA</emphasis> to the
     
    1039926   </para></listitem>
    1040927</itemizedlist>
    1041 </para>
    1042 
    1043 <para>
    1044 The available models for ElectronicStoppingPower and
    1045 NuclearStoppingPower are documented in the
    1046 <ulink url="http://www.ge.infn.it/geant4/lowE/swprocess/design/">
    1047 class diagrams</ulink>.
    1048928</para>
    1049929
     
    1090970<ulink url="http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/PhysicsReferenceManual/html/PhysicsReferenceManual.html">
    1091971Physics Reference Manual
    1092 </ulink>
    1093 and in the Geant4 Low Energy Electromagnetic Physics Working Group
    1094 <ulink url="http://www.ge.infn.it/geant4/lowE/index.html">
    1095 homepage</ulink>.
     972</ulink>.
    1096973</para>
    1097974
     
    11391016G4PhotoElectricAngularGeneratorSauterGavrilla and
    11401017G4PhotoElectricAngularGeneratorPolarized can be set using the
    1141 strings "standard" and "polarized". Information regarding
    1142 conditions of use, performance and energy limits of different
    1143 models are available in the
    1144 <ulink url="http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/PhysicsReferenceManual/html/PhysicsReferenceManual.html">
    1145 Physics Reference Manual
    1146 </ulink>
    1147 and in the Geant4 Low Energy Electromagnetic Physics Working Group
    1148 <ulink url="http://www.ge.infn.it/geant4/lowE/index.html">
    1149 homepage</ulink>.
     1018strings "standard" and "polarized".
    11501019</para>
    11511020
     
    11551024<sect3 id="sect.PhysProc.EleMag.VeryLowE">
    11561025<title>
    1157 Very Low energy Electromagnetic Processes (Geant4 DNA extension)
     1026Very Low energy Electromagnetic Processes (Geant4-DNA extension)
    11581027</title>
    11591028
     
    11621031to energies of a few electronVolts suitable for the simulation of radiation
    11631032effects in liquid water for applications at the cellular and sub-cellular
    1164 level. These developments take place in the framework of the Geant4 DNA
    1165 project
    1166 [
    1167 <ulink url="http://www.ge.infn.it/geant4/dna">
    1168 http://www.ge.infn.it/geant4/dna
    1169 </ulink>
    1170 ] and are fully described in the paper
     1033level. These developments take place in the framework of the Geant4-DNA
     1034project and are described in the paper
    11711035<citation>
    11721036<xref linkend="biblio.chauvie2007" endterm="biblio.chauvie2007.abbrev" />
     
    11961060<itemizedlist spacing="compact">
    11971061  <listitem><para>
    1198     Elastic scattering (two complementary models available depending on energy range)
     1062    Elastic scattering (two complementary models available depending on energy range, and one alternative model)
    11991063    <itemizedlist spacing="compact">
    12001064      <listitem><para>
    1201         Cross section policy class name, common to both models :
    1202         G4CrossSectionElasticScreenedRutherford       
    1203       </para></listitem>
    1204       <listitem><para>
    1205         Final state policy class names : G4FinalStateElasticScreenedRutherford
    1206         or  G4FinalStateElasticBrennerZaider     
     1065        - 1) either : cross section policy class names : G4CrossSectionElasticScreenedRutherfordLE (below 200 eV)
     1066        and G4CrossSectionElasticScreenedRutherfordHE (above 200 eV). Both should be used together.
     1067        - 2) or : cross section policy class name : G4CrossSectionElasticChampion.       
     1068      </para></listitem>
     1069      <listitem><para>
     1070        - 1) either : final state policy class names : G4FinalStateElasticBrennerZaider (corresponding to G4CrossSectionElasticScreenedRutherfordLE)
     1071        and G4CrossSectionElasticScreenedRutherfordLE (corresponding to G4CrossSectionElasticScreenedRutherfordHE).
     1072        - 2) or final state policy class name : G4FinalStateElasticChampion (corresponding to G4CrossSectionElasticChampion).       
    12071073      </para></listitem>
    12081074    </itemizedlist>
     
    14711337#include "G4FinalStateExcitationEmfietzoglou.hh"
    14721338
    1473 #include "G4CrossSectionElasticScreenedRutherford.hh"
     1339#include "G4CrossSectionElasticScreenedRutherfordLE.hh"
     1340#include "G4FinalStateElasticBrennerZaider.hh"
     1341
     1342#include "G4CrossSectionElasticScreenedRutherfordHE.hh"
    14741343#include "G4FinalStateElasticScreenedRutherford.hh"
    1475 #include "G4FinalStateElasticBrennerZaider.hh"
     1344
     1345#include "G4CrossSectionElasticChampion.hh"
     1346#include "G4FinalStateElasticChampion.hh"
    14761347
    14771348#include "G4CrossSectionExcitationBorn.hh"
     
    14951366// Processes definition
    14961367
    1497 typedef G4DNAProcess&lt;G4CrossSectionElasticScreenedRutherford,G4FinalStateElasticScreenedRutherford&gt;
    1498   ElasticScreenedRutherford;
    1499 typedef G4DNAProcess&lt;G4CrossSectionElasticScreenedRutherford,G4FinalStateElasticBrennerZaider&gt;
    1500   ElasticBrennerZaider;
     1368typedef G4DNAProcess&lt;G4CrossSectionElasticScreenedRutherfordLE,G4FinalStateElasticBrennerZaider&gt;
     1369  ElasticScreenedRutherfordLE;
     1370typedef G4DNAProcess&lt;G4CrossSectionElasticScreenedRutherfordHE,G4FinalStateElasticScreenedRutherford&gt;
     1371  ElasticScreenedRutherfordHE;
     1372typedef G4DNAProcess&lt;G4CrossSectionElasticChampion,G4FinalStateElasticChampion&gt;
     1373  ElasticChampion;
    15011374typedef G4DNAProcess&lt;G4CrossSectionExcitationEmfietzoglou,G4FinalStateExcitationEmfietzoglou&gt;
    15021375  ExcitationEmfietzoglou;
     
    15271400
    15281401    if (particleName == "e-") {
    1529        processManager-&gt;AddDiscreteProcess(new ExcitationEmfietzoglou);
    1530        processManager-&gt;AddDiscreteProcess(new ElasticScreenedRutherford);
    1531        processManager-&gt;AddDiscreteProcess(new ElasticBrennerZaider);
    1532        processManager-&gt;AddDiscreteProcess(new IonisationBorn);
     1402       processManager-&gt;AddDiscreteProcess(new ExcitationEmfietzoglou("ExcitationEmfietzoglou"));
     1403       
     1404       // The two following elastic scattering models should be registered together
     1405       processManager-&gt;AddDiscreteProcess(new ElasticScreenedRutherfordLE("ElasticScreenedRutherfordLE"));
     1406       processManager-&gt;AddDiscreteProcess(new ElasticScreenedRutherfordHE("ElasticScreenedRutherfordHE"));
     1407       
     1408       // The following process is commented here because it is ALTERNATIVE to ElasticScreenedRutherfordLE and ElasticScreenedRutherfordHE
     1409       // It should NOT be registered simultaneously with ElasticScreenedRutherfordLE and ElasticScreenedRutherfordHE
     1410       // processManager-&gt;AddDiscreteProcess(new ElasticChampion("ElasticChampion"));
     1411       
     1412       processManager-&gt;AddDiscreteProcess(new IonisationBorn("IonisationBorn"));
    15331413
    15341414    } else if ( particleName == "proton" ) {
    1535        processManager-&gt;AddDiscreteProcess(new ExcitationMillerGreen);
    1536        processManager-&gt;AddDiscreteProcess(new ExcitationBorn);
    1537        processManager-&gt;AddDiscreteProcess(new IonisationRudd);
    1538        processManager-&gt;AddDiscreteProcess(new IonisationBorn);
    1539        processManager-&gt;AddDiscreteProcess(new ChargeDecrease);
     1415       processManager-&gt;AddDiscreteProcess(new ExcitationMillerGreen("ExcitationMillerGreen"));
     1416       processManager-&gt;AddDiscreteProcess(new ExcitationBorn("ExcitationBorn"));
     1417       processManager-&gt;AddDiscreteProcess(new IonisationRudd("IonisationRudd"));
     1418       processManager-&gt;AddDiscreteProcess(new IonisationBorn("IonisationBorn"));
     1419       processManager-&gt;AddDiscreteProcess(new ChargeDecrease("ChargeDecrease"));
    15401420
    15411421    } else if ( particleName == "hydrogen" ) {
    1542        processManager-&gt;AddDiscreteProcess(new IonisationRudd);
    1543        processManager-&gt;AddDiscreteProcess(new ChargeIncrease);
     1422       processManager-&gt;AddDiscreteProcess(new IonisationRudd("IonisationRudd"));
     1423       processManager-&gt;AddDiscreteProcess(new ChargeIncrease("ChargeIncrease"));
    15441424
    15451425    } else if ( particleName == "alpha" ) {
    1546        processManager-&gt;AddDiscreteProcess(new ExcitationMillerGreen);
    1547        processManager-&gt;AddDiscreteProcess(new IonisationRudd);
    1548        processManager-&gt;AddDiscreteProcess(new ChargeDecrease);
     1426       processManager-&gt;AddDiscreteProcess(new ExcitationMillerGreen("ExcitationMillerGreen"));
     1427       processManager-&gt;AddDiscreteProcess(new IonisationRudd("IonisationRudd"));
     1428       processManager-&gt;AddDiscreteProcess(new ChargeDecrease("ChargeDecrease"));
    15491429   
    15501430    } else if ( particleName == "alpha+" ) {
    1551        processManager-&gt;AddDiscreteProcess(new ExcitationMillerGreen);
    1552        processManager-&gt;AddDiscreteProcess(new IonisationRudd);
    1553        processManager-&gt;AddDiscreteProcess(new ChargeDecrease);
    1554        processManager-&gt;AddDiscreteProcess(new ChargeIncrease);
     1431       processManager-&gt;AddDiscreteProcess(new ExcitationMillerGreen("ExcitationMillerGreen"));
     1432       processManager-&gt;AddDiscreteProcess(new IonisationRudd("IonisationRudd"));
     1433       processManager-&gt;AddDiscreteProcess(new ChargeDecrease("ChargeDecrease"));
     1434       processManager-&gt;AddDiscreteProcess(new ChargeIncrease("ChargeIncrease"));
    15551435   
    15561436    } else if ( particleName == "helium" ) {
    1557        processManager-&gt;AddDiscreteProcess(new ExcitationMillerGreen);
    1558        processManager-&gt;AddDiscreteProcess(new IonisationRudd);
    1559        processManager-&gt;AddDiscreteProcess(new ChargeIncrease);
     1437       processManager-&gt;AddDiscreteProcess(new ExcitationMillerGreen("ExcitationMillerGreen"));
     1438       processManager-&gt;AddDiscreteProcess(new IonisationRudd("IonisationRudd"));
     1439       processManager-&gt;AddDiscreteProcess(new ChargeIncrease("ChargeIncrease"));
    15601440    }
    15611441
     
    34673347      <mediaobject>
    34683348        <imageobject role="fo">
    3469           <imagedata fileref="./AllResources/TrackingAndPhysics/physicsProcessPARAM.src/ComponentsWithRegion.gif"
     3349          <imagedata fileref="./AllResources/TrackingAndPhysics/physicsProcessPARAM.src/ComponentsWithRegion.jpg"
    34703350                     format="JPG" contentwidth="7.0cm" align="center" />
    34713351        </imageobject>
    34723352        <imageobject role="html">
    3473           <imagedata fileref="./AllResources/TrackingAndPhysics/physicsProcessPARAM.src/ComponentsWithRegion.gif"
     3353          <imagedata fileref="./AllResources/TrackingAndPhysics/physicsProcessPARAM.src/ComponentsWithRegion.jpg"
    34743354                     format="JPG" align="center" />
    34753355        </imageobject>
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/TrackingAndPhysics/physicsTable.xml

    r904 r921  
    2525event loop, the <literal>BuildPhysicsTable()</literal> method of
    2626<emphasis>G4VProcess</emphasis> is invoked for all processes and
    27 cross section tables are prepared. "Standard" electromagnetic
    28 processes calculate cross section and/or energy loss values for
     27as a part of initialisation procedure cross section tables are prepared.
     28Energy loss processes calculate cross section and/or energy loss values for
    2929each material and for each production cut value assigned to each
    3030material. A change in production cut values therefore require these
    3131cross sections to be re-calculated. Cross sections for hadronic
    32 processes do not depend on the production cut.
     32processes and gamma processes do not depend on the production cut.
    3333</para>
    3434
     
    3838<emphasis>G4PhysicsVector</emphasis> (and derived classes), each of which has
    3939cross section values for a particle within a given energy range
    40 traveling in a material.
     40traveling in a material. By default the linear interpolation is used, alternatively
     41spline may be used if the flag
     42of spline is activated by <emphasis>SetSpline</emphasis> method of the
     43<emphasis>G4PhysicsVector</emphasis>
    4144</para>
    4245
     
    8184
    8285<para>
    83 Calculated physics tables for "Standard" electromagnetic processes
     86Calculated physics tables for electromagnetic processes
    8487can be stored in files. The user may thus eliminate the time
    8588required for the calculation of physics tables by retrieving them
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Visualization/commandcontrol.xml

    r905 r921  
    33<!--  [History]                                               -->
    44<!--    Converted to DocBook: Katsuya Amako, Aug-2006         -->
     5<!--    Added Qt Info: Laurent Garnier, Dec-2008              -->
    56<!--                                                          -->
    67<!-- ******************************************************** -->
     
    373374    </para>
    374375  </para></listitem>
     376  <listitem><para>
     377    <emphasis role="bold">Additional note 2</emphasis>
     378    <para>
     379    Events may be kept and reviewed at end of run with
     380    <programlisting>
     381    Idle&gt; /vis/reviewKeptEvents
     382    </programlisting>
     383    Keep all events with
     384    <programlisting>
     385    Idle&gt; /vis/scene/endOfEventAction accumulate [maxNumber]
     386    </programlisting>
     387    (see
     388    <xref linkend="sect.VisCntCmmd.EndEvtRun" />)
     389    </para><para>
     390    or keep some chosen subset with
     391    <programlisting>
     392    G4EventManager::GetEventManager()->KeepTheCurrentEvent();
     393    </programlisting>
     394    as described in
     395    <xref linkend="programlist_OptUAct_1" />.
     396    </para><para>
     397    To suppress drawing during a run
     398    <programlisting>
     399    Idle&gt; /vis/disable
     400    Idle&gt; /run/beamOn 10000
     401    </programlisting>
     402    then at end of run
     403    <programlisting>
     404    Idle&gt; /vis/enable
     405    Idle&gt; /vis/reviewKeptEvents
     406    </programlisting>
     407    </para>
     408  </para></listitem>
    375409</itemizedlist>
    376410
     
    650684End of Event Action and End of Run Action:
    651685<literal>/vis/viewer/endOfEventAction</literal> and
    652 <literal>/vis/viewer/endOfEventAction</literal> commands
     686<literal>/vis/viewer/endOfRunAction</literal> commands
    653687</title>
    654688
     
    845879
    846880<para>
    847 The WIRED3 HepRep Browser and WIRED4 JAS Plug-In can generate a
     881The HepRApp HepRep Browser and WIRED4 JAS Plug-In can generate a
    848882wide variety of bitmap and vector output formats including
    849883PostScript and PDF.
     
    12251259    </para>
    12261260  </para></listitem>
    1227   <listitem><para>
    1228     <ulink url="./Visualization/visTutor/exN03Vis15_mac.html">
    1229     exN03Vis15.mac:</ulink>
    1230     <para>
    1231     A basic macro for visualization of detector geometry and events
    1232     using Qt.
    1233     </para>
    1234   </para></listitem>
    1235   <listitem><para>
     1261   <listitem><para>
    12361262    <ulink url="./Visualization/visTutor/exN03Tree0_mac.html">
    12371263    exN03Tree0.mac:</ulink>
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Visualization/introduction.xml

    r905 r921  
    66<!--    Proof read by: Joe Chuma,  5-Jul-1999                 -->
    77<!--    Converted to DocBook: Katsuya Amako, Aug-2006         -->
     8<!--    Added Qt Info: Laurent Garnier, Dec-2008              -->
     9<!--    Updates for Qt and HepRApp: Joseph Perl, Dec-2008     -->
    810<!--                                                          -->
    911<!-- ******************************************************** -->
     
    4749graphics systems use a graphics library compiled with Geant4, such
    4850as OpenGL, Qt, while others involve a separate application, such as
    49 WIRED or DAWN.
     51HepRApp or DAWN.
    5052</para>
    5153
     
    123125      </para></listitem>
    124126      <listitem><para>
    125         Uses GL libraries that are already included on most Linux
    126         systems (plus some Windows availability)
     127        Requires addition of GL libraries that are freely avialable for all operating systems (and pre-installed on many)
    127128      </para></listitem>
    128129      <listitem><para>
     
    137138      </para></listitem>
    138139      <listitem><para>
    139         Limited printing ability (pixel graphics, not vector graphics)
     140        Print to EPS (vector and pixel graphics)
    140141      </para></listitem>
    141142    </itemizedlist>
     
    148149      </para></listitem>
    149150      <listitem><para>
    150         Uses Qt and GL libraries that are already included on most Linux
    151         systems (plus some Windows availability)
     151        Requies addition of Qt and GL libraries that are freely available on most operating
     152        systems
    152153      </para></listitem>
    153154      <listitem><para>
     
    168169      </para></listitem>
    169170      <listitem><para>
    170         Make movies interactively
     171        Easy interface to make movies
    171172      </para></listitem>
    172173    </itemizedlist>
     
    205206  </para></listitem>
    206207  <listitem><para>
    207     HepRep/WIRED
    208     <itemizedlist spacing="compact">
    209       <listitem><para>
    210         Create a file to view in the WIRED3 HepRep Browser or the
    211         WIRED4 JAS Plugin
    212       </para></listitem>
    213       <listitem><para>
    214         Requires WIRED browser (a Java application easily to install on
    215         all operating systems)
     208    HepRep
     209    <itemizedlist spacing="compact">
     210      <listitem><para>
     211        Create a file to view in a HepRep browser such as HepRApp,
     212        FRED or WIRED4
     213      </para></listitem>
     214      <listitem><para>
     215        Requires a HepRep browser (above options work on any operating system)
    216216      </para></listitem>
    217217      <listitem><para>
     
    348348  <listitem><para>
    349349    If you want very responsive photorealistic graphics plus more
    350     interactivity (and have the OpenInventor libraries installed)
    351     <itemizedlist spacing="compact">
    352       <listitem><para>
    353         OpenInventor is a good solution
     350    interactivity (and have the OpenInventor or Qt libraries installed)
     351    <itemizedlist spacing="compact">
     352      <listitem><para>
     353        OpenInventor or Qt are good solutions
    354354      </para></listitem>
    355355    </itemizedlist>
     
    370370    <itemizedlist spacing="compact">
    371371      <listitem><para>
    372         HepRep/WIRED will meet your needs
     372        HepRep will meet your needs
    373373      </para></listitem>
    374374    </itemizedlist>
     
    473473    <itemizedlist spacing="compact">
    474474      <listitem><para>
    475         HepRep/WIRED
     475        HepRep
    476476      </para></listitem>
    477477      <listitem><para>
     
    527527    <xref linkend="sect.VisPlylMrkTxt" />
    528528    Polylines, Markers and Text
     529  </para></listitem>
     530  <listitem><para>
     531    <xref linkend="sect.MkMovie" />
     532    Making a Movie
    529533  </para></listitem>
    530534</itemizedlist>
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Visualization/makingamovie.xml

    r904 r921  
    33<!--  [History]                                               -->
    44<!--    Converted to DocBook: Katsuya Amako, Aug-2006         -->
     5<!--    Updates for Qt: Laurent Garnier, Dec-2008             -->
    56<!--                                                          -->
    67<!-- ******************************************************** -->
     
    2930drivers currently capable of producing picture files are:
    3031
     32<ulink url="http://bmrc.berkeley.edu/frame/research/mpeg/mpeg_encode.html">More informations about MPEG encoder</ulink>
     33
    3134<informaltable>
    3235  <tgroup cols="2">
     
    7073      <entry>
    7174        eps
     75      </entry>
     76    </row>
     77    <row>
     78      <entry>
     79        Qt
     80      </entry>
     81      <entry>
     82        jpeg, eps, ppm, ...
    7283      </entry>
    7384    </row>
     
    205216</sect2>
    206217
     218<!-- ******************* Section (Level#2) ****************** -->
     219<sect2 id="sect.MkMovie.Qt">
     220<title>
     221Qt
     222</title>
     223
     224<para>
     225The Qt driver provides one of the easiest ways to make a movie.
     226Of course, you first need to add the Qt libraries and link with Qt,
     227but once you have that, Qt provides a ready-made function to store all updates of the OpenGL
     228frame into the movie format.
     229You then use loops (as defined in OGLX section above) or even move/rotate/zoom you scene
     230by mouse actions to form your movie.
     231</para>
     232<para>
     233The Qt driver automatically handles all of the movie-making steps described in the OGLX section of this document - storing the files, converting them and assembling the finished movie.
     234You just have to take care of installing an mpeg_encoder.
     235</para>
     236<para>
     237To make a movie :
     238<itemizedlist spacing="compact">
     239  <listitem><para>
     240   Right click to display a context menu, "Action"->"Movie parameters".
     241  </para></listitem>
     242  <listitem><para>
     243   Select MPEG encoder path if it was not found.
     244  </para></listitem>
     245  <listitem><para>
     246   Select the name of the output movie.
     247  </para></listitem>
     248  <listitem><para>
     249   Let go! Hit SPACE to Start/Pause recording, RETURN to STOP
     250  </para></listitem>
     251</itemizedlist>
     252</para>
     253<para>
     254Then, open your movie (on Mac, for example):
     255
     256<informalexample>
     257<programlisting>
     258open G4OpenGL.mpg
     259</programlisting>
     260</informalexample>
     261
     262opens a QuickTime player.
     263</para>
     264
     265</sect2>
     266
    207267
    208268<!-- ******************* Section (Level#2) ****************** -->
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Visualization/visdrivers.xml

    r905 r921  
    44<!--    Changed by: Dennis Wright, 27-Nov-2001                -->
    55<!--    Converted to DocBook: Katsuya Amako, Aug-2006         -->
     6<!--    Updates for Qt and HepRApp: Joseph Perl, Dec-2008     -->
    67<!--                                                          -->
    78<!-- ******************************************************** -->
     
    114115    </entry>
    115116    <entry>
    116       Linux, Unix, Mac with Xlib
     117      Linux, UNIX, Mac with Xlib
    117118    </entry>
    118119  </row>
     
    147148    </entry>
    148149    <entry>
    149       Linux, Unix, Mac, Windows
     150      Linux, UNIX, Mac, Windows
    150151    </entry>
    151152  </row>
     
    177178    </entry>
    178179    <entry>
    179       WIRED or FRED HepRep Browser
     180      HepRApp, FRED or WIRED4 HepRep Browser
    180181    </entry>
    181182    <entry>
     
    191192    </entry>
    192193    <entry>
    193       Linux, Unix, Mac, Windows
     194      Linux, UNIX, Mac, Windows
    194195    </entry>
    195196  </row>
     
    304305
    305306<para>
    306 If you don't have Motif, all control is done from Geant4
     307Output can be exported to EPS (both vector and pixel graphics)
     308using vis/ogl/printEPS.
     309</para>
     310
     311<para>
     312If you don't have Motif or Qt, all control is done from Geant4
    307313commands:
    308314
     
    327333</programlisting>
    328334</informalexample>
     335</para>
     336
     337<para>
     338If you have Qt, see the Qt section below.
    329339</para>
    330340
     
    367377
    368378<para>
    369 This driver have been developed by Laurent Garnier (IN2P3, LAL Orsay). 
    370 It is an interface to the powerful toolkit Qt, now free on lot of 
    371 platforms. This driver needs OpenGL library to be install. It is well suited for
    372 real-time fast visualization and demonstration. Fast visualization
    373 is realized with hardware acceleration, reuse of shapes stored in a
     379This driver has been developed by Laurent Garnier (IN2P3, LAL Orsay). 
     380It is an interface to the powerful application framework, Qt, now free on most 
     381platforms. This driver also requires the OpenGL library.
     382</para><para>
     383The Qt driver is well suited for real-time fast visualization and demonstration.
     384Fast visualization is realized with hardware acceleration, reuse of shapes stored in a
    374385display list, etc. NURBS visualization is also supported. All OpenGL 
    375 features are implements in Qt driver . In addition, mouse events control
    376 are used to rotation/move/zoom volume, you can save your scene in lots
    377 of formats (vector or not), make movies... 
     386features are implemented in the Qt driver, but one also gets mouse
     387control of rotation/translation/zoom, the ability to save your scene in many formats
     388(both vector and pixel graphics) and an easy interface for making movies.
    378389</para><para>
    379 There is only one session of Qt driver for all available platform. 
    380390Two display modes are available: immediate mode and stored mode.
    381391The former has no limitation on data size, and the latter is fast
     
    386396<para>
    387397To see the visualization window :
    388 </para>
     398
    389399<?soft-pagebreak ?>
    390400<informalexample>
    391401<programlisting>
    392      /vis/open OGLSQt
     402     /vis/open OGLSQt  (for Stored mode)
     403or
     404     /vis/open OGLIQt  (for Immediate mode)
    393405</programlisting>
    394406</informalexample>
     
    404416  </para></listitem>
    405417  <listitem><para>
    406     <ulink url="http://geant4.slac.stanford.edu/Presentations/vis/G4OpenGLTutorial/G4OpenGLTutorial.html">
     418    <ulink url="http://users.lal.in2p3.fr/garnier/G4QtTutorial.html">
    407419    Geant4 Visualization Tutorial
    408420    </ulink>
     
    410422  </para></listitem>
    411423</itemizedlist>
     424</para>
    412425</sect2>
    413426
     
    523536The HepRepFile driver creates a HepRep XML file in the HepRep1
    524537format suitable for viewing with the
    525 <ulink url="http://www.slac.stanford.edu/BFROOT/www/Computing/Graphics/Wired/">
    526 WIRED3</ulink> HepRep Browser.
     538<ulink url="http://www.slac.stanford.edu/~perl/HepRApp/">
     539HepRApp</ulink> HepRep Browser.
    527540</para>
    528541
     
    565578
    566579<para>
    567 View the file using the WIRED3 HepRep Browser, available from:
    568 </para>
    569 <para>
    570 <ulink url="http://www.slac.stanford.edu/BFROOT/www/Computing/Graphics/Wired/">
    571 http://www.slac.stanford.edu/BFROOT/www/Computing/Graphics/Wired/
     580View the file using the HepRApp HepRep Browser, available from:
     581</para>
     582<para>
     583<ulink url="http://www.slac.stanford.edu/~perl/HepRApp/">
     584http://www.slac.stanford.edu/~perl/HepRApp/
    572585</ulink>
    573586.
     
    575588
    576589<para>
    577 WIRED3 allows you to pick on volumes, trajectories and hits to
     590HepRApp allows you to pick on volumes, trajectories and hits to
    578591find out their associated HepRep Attributes, such as volume name,
    579592particle ID, momentum, etc. These same attributes can be displayed
     
    584597
    585598<para>
    586 WIRED3 can read heprep files in zipped format as well as
     599HepRApp can read heprep files in zipped format as well as
    587600unzipped, so you can save space by applying gzip to the heprep
    588601file. This will reduce the file to about five percent of its
     
    661674<itemizedlist spacing="compact">
    662675  <listitem><para>
    663     WIRED3 Users Home Page:
     676    HepRApp Users Home Page:
    664677    <para>
    665     <ulink url="http://www.slac.stanford.edu/BFROOT/www/Computing/Graphics/Wired/">
    666     http://www.slac.stanford.edu/BFROOT/www/Computing/Graphics/Wired/
     678    <ulink url="http://www.slac.stanford.edu/~perl/HepRApp/">
     679    http://www.slac.stanford.edu/~perl/HepRApp/
    667680    </ulink>
    668681    .
     
    678691  </para></listitem>
    679692  <listitem><para>
    680     Geant4 Visualization Tutorial using the WIRED3 HepRep Browser
     693    Geant4 Visualization Tutorial using the HepRApp HepRep Browser
    681694    <para>
    682     <ulink url="http://geant4.slac.stanford.edu/Presentations/vis/G4WIREDTutorial/G4WIREDTutorial.html">
    683     http://geant4.slac.stanford.edu/Presentations/vis/G4WIREDTutorial/G4WIREDTutorial.html
     695    <ulink url="http://geant4.slac.stanford.edu/Presentations/vis/G4HepRAppTutorial/G4HepRAppTutorial.html">
     696    http://geant4.slac.stanford.edu/Presentations/vis/G4HepRAppTutorial/G4HepRAppTutorial.html
    684697    </ulink>
    685698    </para>
     
    16231636    <mediaobject>
    16241637      <imageobject role="fo">
    1625         <imagedata fileref="./AllResources/Visualization/visualization.src/xmlnp.gif"
     1638        <imagedata fileref="./AllResources/Visualization/visualization.src/xmlnp.jpg"
    16261639                   format="JPG" contentwidth="12.0cm" align="center" />
    16271640      </imageobject>
    16281641      <imageobject role="html">
    1629         <imagedata fileref="./AllResources/Visualization/visualization.src/xmlnp.gif"
     1642        <imagedata fileref="./AllResources/Visualization/visualization.src/xmlnp.jpg"
    16301643                   format="JPG" align="center" />
    16311644        </imageobject>
     
    16431656    <mediaobject>
    16441657      <imageobject role="fo">
    1645         <imagedata fileref="./AllResources/Visualization/visualization.src/xmlnpfind.gif"
     1658        <imagedata fileref="./AllResources/Visualization/visualization.src/xmlnpfind.jpg"
    16461659                   format="JPG" contentwidth="12.0cm" align="center" />
    16471660      </imageobject>
    16481661      <imageobject role="html">
    1649         <imagedata fileref="./AllResources/Visualization/visualization.src/xmlnpfind.gif"
     1662        <imagedata fileref="./AllResources/Visualization/visualization.src/xmlnpfind.jpg"
    16501663                   format="JPG" align="center" />
    16511664      </imageobject>
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Visualization/visexecutable.xml

    r905 r921  
    33<!--  [History]                                               -->
    44<!--    Converted to DocBook: Katsuya Amako, Aug-2006         -->
     5<!--    Updates for Qt: Laurent Garnier, Dec-2008             -->
    56<!--                                                          -->
    67<!-- ******************************************************** -->
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/XSLCustomizationLayer/G4XSLCustomFO.xsl

    r904 r921  
    1010<!-- Import the FO stylesheet                                             -->
    1111<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
    12 <xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/current/fo/docbook.xsl"/>
     12<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl" />
    1313
    1414<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/XSLCustomizationLayer/G4XSLCustomHTML.xsl

    r904 r921  
    99<!-- Import the stylesheet to chunk the html output                       -->
    1010<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
    11 <xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/current/html/chunk.xsl" />
     11<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl" />
    1212
    1313<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
Note: See TracChangeset for help on using the changeset viewer.