4.3.2010 - Kamil Sedlak
1) UPGRADE TO GEANT 4.9.3 - Physics list had been modified - List of the physics processes in *.mac has to be modified too! (otherwise results of 4.9.3 do not reproduce well the results of 4.9.2). Example *.mac files still use the old implementation of the physics processes, i.e. they have to be corrected in future! 2) POSSIBILITY TO WRITE OUT DERIVATIVES OF THE MAGNETIC FIELD AT A GIVEN POINT (see the documentation, "/musr/command globalfield printFieldDerivativeAtPoint".)
This commit is contained in:
BIN
doc/musrSim.pdf
BIN
doc/musrSim.pdf
Binary file not shown.
@ -426,7 +426,11 @@ Three special volumes ``Target, M0, M1 and M2''.
|
||||
|
||||
\item{\bf /musr/command globalfield printFieldValueAtPoint \emph{x} \emph{y} \emph{z}} \\
|
||||
Print out the field value at the point $(x, y, z)$ (given in the global
|
||||
coordinate system.
|
||||
coordinate system).
|
||||
|
||||
\item{\bf /musr/command globalfield printFieldDerivativeAtPoint \emph{x} \emph{y} \emph{z}} \\
|
||||
Print out the values of the derivative of the magnetic field at the point $(x, y, z)$
|
||||
(given in the global coordinate system).
|
||||
\end{description}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
@ -950,6 +954,25 @@ These are typically not interesting for the analysis of the results of the simul
|
||||
|
||||
\end{description}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\section{Upgrading Geant4 version}
|
||||
\begin{description}
|
||||
\item{\bf Geant 4.9.1 and older} - copy the file ``src/G4DecayWithSpin.cc\_for\_Geant4.9.1\_and\_older''
|
||||
to the file ``src/G4DecayWithSpin.cc''.
|
||||
Also copy ``src/G4EqEMFieldWithSpin.cc\_for\_Geant4.9.1\_and\_older'' to ``src/G4EqEMFieldWithSpin.cc''.
|
||||
\item{\bf Geant 4.9.2.p02} -- (only this particular Geant version!) copy the file
|
||||
``src/G4EqEMFieldWithSpin.cc\_for\_Geant4.9.2p02\_only'' to the file ``src/G4EqEMFieldWithSpin.cc''.
|
||||
\item{\bf Geant 4.9.2 and older} - copy the file ``src/musrPhysicsList.cc\_Geant4.9.2p02\_and\_older''
|
||||
to the file ``src/musrPhysicsList.cc''.
|
||||
\item{\bf Geant 4.9.3}
|
||||
From the point of view of musrSim, the largest change in version 4.9.3 with respect to 4.9.2
|
||||
is the different treatment of the physics processes, therefore the musrPhysicsList.cc had to be
|
||||
modified, and also the physics processes listed in the *.mac file have to be changed!
|
||||
Note that using Geant~4.9.3 with old *.mac files will formally run OK, but the results of the
|
||||
simulation (slightly) differ from the same simulation based on Geant~4.9.2. However after
|
||||
updating the *.mac file, the simulation done with Geant~4.9.3 more or less reproduces results
|
||||
obtained with Geant~4.9.2.
|
||||
\end{description}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\section{Example 1 -- Electrons passing through two scintillator tiles (101.mac)}
|
||||
One of the easiest example to illustrate the basic features of the musrSim (and/or Geant4) is to
|
||||
shoot electrons into a scintillator block, and to observe the energy deposited inside it.
|
||||
|
Reference in New Issue
Block a user