67 lines
2.3 KiB
HTML
67 lines
2.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
|
|
<!--Converted with jLaTeX2HTML 2002-2-1 (1.70) JA patch-2.0
|
|
patched version by: Kenshi Muto, Debian Project.
|
|
* modified by: Shige TAKENO
|
|
LaTeX2HTML 2002-2-1 (1.70),
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
|
* with significant contributions from:
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>Messengers</TITLE>
|
|
<META NAME="description" CONTENT="Messengers">
|
|
<META NAME="keywords" CONTENT="LEMuSR_Simulation">
|
|
<META NAME="resource-type" CONTENT="document">
|
|
<META NAME="distribution" CONTENT="global">
|
|
|
|
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002-2-1 JA patch-2.0">
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
|
|
<LINK REL="STYLESHEET" HREF="LEMuSR_Simulation.css">
|
|
|
|
<LINK REL="previous" HREF="node9.html">
|
|
<LINK REL="up" HREF="node5.html">
|
|
<LINK REL="next" HREF="node11.html">
|
|
</HEAD>
|
|
|
|
<BODY >
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html163"
|
|
HREF="node11.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
|
SRC="file:/usr/share/latex2html/icons/next.png"></A>
|
|
<A NAME="tex2html161"
|
|
HREF="node5.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
|
SRC="file:/usr/share/latex2html/icons/up.png"></A>
|
|
<A NAME="tex2html157"
|
|
HREF="node9.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
|
SRC="file:/usr/share/latex2html/icons/prev.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html164"
|
|
HREF="node11.html">Usefull C++ notions</A>
|
|
<B> Up:</B> <A NAME="tex2html162"
|
|
HREF="node5.html">The main file: LEMuSR.cc</A>
|
|
<B> Previous:</B> <A NAME="tex2html158"
|
|
HREF="node9.html">Optionnal user action classes</A>
|
|
<BR>
|
|
<BR>
|
|
<!--End of Navigation Panel-->
|
|
|
|
<H3><A NAME="SECTION00121500000000000000">
|
|
Messengers</A>
|
|
</H3>
|
|
We saw that it is possible to make the simulation interactive. This is done using messenger classes. One who wants to have a total interectivity shall build a messenger for each classs. The messenger can change the parameters of the gun, the particles, the geometry etc. It is linked to the G4UIdirectory, which registers all the commands. Commands are defined in the messenger.cc file and then add in a new command directory.
|
|
|
|
<P>
|
|
<BR><HR>
|
|
<ADDRESS>
|
|
|
|
2005-12-21
|
|
</ADDRESS>
|
|
</BODY>
|
|
</HTML>
|