musrsim/geant4/TaoLEMuSR/doc/node12.html
2008-03-20 09:23:20 +00:00

74 lines
2.6 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>Header files and source codes files</TITLE>
<META NAME="description" CONTENT="Header files and source codes files">
<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="next" HREF="node13.html">
<LINK REL="previous" HREF="node11.html">
<LINK REL="up" HREF="node11.html">
<LINK REL="next" HREF="node13.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html185"
HREF="node13.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="file:/usr/share/latex2html/icons/next.png"></A>
<A NAME="tex2html183"
HREF="node11.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="file:/usr/share/latex2html/icons/up.png"></A>
<A NAME="tex2html177"
HREF="node11.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="tex2html186"
HREF="node13.html">A bit more about</A>
<B> Up:</B> <A NAME="tex2html184"
HREF="node11.html">Usefull C++ notions</A>
<B> Previous:</B> <A NAME="tex2html178"
HREF="node11.html">Usefull C++ notions</A>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION00131000000000000000">
Header files and source codes files</A>
</H2>
Geant4 is a C++ toolkit and one need to write both a header and a source files for each object class.
<P>
The header file contains the declaration of all methods and variables that are specific to the class that is being defined. One also have to specify all the other classes from which his class inherits. Finally, one should indicate if the methods and variables are public (can be seen and get their values modified by other methods) or private (excusive appartenance to the class). Header files are located in the $LEMU/include directory.
<P>
The source file contains the code of each method. These files are located in the $LEMU/source directory.
<P>
<BR><HR>
<ADDRESS>
2005-12-21
</ADDRESS>
</BODY>
</HTML>