31.8.2011 Kamil Sedlak

New geometry called "polycone" implemented in musrSim.
This required also an implementation of command
"/musr/command arrayDef arrayName N x1 x2 ... xN"
See the updated documentation musrSim.pdf.
This commit is contained in:
2011-08-31 11:19:09 +00:00
parent b4299fe10d
commit 0e5bdb63f9
5 changed files with 127 additions and 4 deletions

Binary file not shown.

View File

@ -277,10 +277,10 @@ care.
logical volume and physical volume. Details can be found in {\sc Geant4} manual). \\
\begin{itemize}
\item \emph{solid} (string) can be one of the G4VSolid.cc particular types, presently ``tubs'', ``cons'',
``box'', ``trd'', ``sphere'', ``para'',
``box'', ``trd'', ``sphere'', ``para'', ``polycone''
or it can be one of the specifically implemented solids by our program as ``uprofile''
(an U-profiled bar), ``alcSupportPlate'' (shape specific to ALC support plate), ``tubsbox''
(a tube with a rectangular hole along its axis), "tubsboxsegm"
(a tube with a rectangular hole along its axis), ``tubsboxsegm''
(a volume that looks like an intersection of tube and box) and
``trd90y'' (a trd volume rotated by 90 degrees around $y$ axis in addition
to the rotation requested by \emph{matrixName}),
@ -289,6 +289,15 @@ care.
in Geant4 are
presently supported, but it is relatively easy to implement a new kind of solids
in the musrDetectorConstruction.cc class.
The ``polycone'' in Geant4 can be defined in two ways, which have to be
distinguished in the musrSim macro file:
``polyconeA'' corresponds to \\
G4Polycone(solidName, phiStart, phiTotal, numZPlanes, zPlane[ ], rInner[ ], rOuter[ ])\\
while ``polyconeB'' corresponds to \\
G4Polycone(solidName, phiStart, phiTotal, numRZ, r[ ], z[ ]),\\
where \emph{zPlane}, \emph{rInner}, \emph{rOuter}, \emph{r}, \emph{z} are arrays, which
have to be defined by the command ``/musr/command arrayDef''.
\item \emph{name} (string) stands for the name of the volume. As the command
``/musr/command construct'' constructs
three kinds of Geant4 classes/volumes (the solid, logical volume and physical
@ -344,6 +353,9 @@ care.
vector (if the fourth float parameter behind the \emph{matrixName} is non-zero).
All angles are specified in degrees.
\item{\bf /musr/command arrayDef \emph{arrayName} \emph{N} \emph{x$_1$} \emph{x$_2$} \ldots \emph{x$_N$}} \\
Defines an array with an assigned name \emph{arrayName}, which has \emph{N} elements.
\item{\bf /musr/command region define \emph{regionName} \emph{logicalVolume}}\\
The ``G4Region'' can be created using this command, and a logical volume of the
name \emph{logicalVolume} will be assigned to it. If the G4Region of the name