- DMC McStas simulation working
SKIPPED: psi/amorstat.c psi/nxamor.c psi/pimotor.c psi/polterwrite.c
This commit is contained in:
@ -24,6 +24,10 @@ in a certain way:
|
||||
be assigned to the appropriate McStas variables.
|
||||
\item McStas must dump its data into a single file: use the {\it -f filename} option.
|
||||
The format must be {\it --format=\"XML\"}.
|
||||
\item In order to count on monitor, a modified PSD_monitor component MUST be used in the
|
||||
simulation. This component writes the collected total counts into a file. This file is
|
||||
the read by SICS in order to determine the control monitor. Evaluating the McStas XML dump \
|
||||
file each time proved to be to inaccurate.
|
||||
\end{itemize}
|
||||
|
||||
\subsubsection{The McStas Controller}
|
||||
@ -69,6 +73,7 @@ $\langle$mcconint {\footnotesize ?}$\rangle\equiv$
|
||||
\mbox{}\verb@ pStringDict scripts;@\\
|
||||
\mbox{}\verb@ int updateIntervall;@\\
|
||||
\mbox{}\verb@ int pid;@\\
|
||||
\mbox{}\verb@ float monitorScale;@\\
|
||||
\mbox{}\verb@ int lastError;@\\
|
||||
\mbox{}\verb@ char errorText[256];@\\
|
||||
\mbox{}\verb@ CounterMode mode;@\\
|
||||
@ -76,6 +81,7 @@ $\langle$mcconint {\footnotesize ?}$\rangle\equiv$
|
||||
\mbox{}\verb@ time_t lastUpdate;@\\
|
||||
\mbox{}\verb@ time_t startTime;@\\
|
||||
\mbox{}\verb@ time_t stopTime;@\\
|
||||
\mbox{}\verb@ time_t lastMonitorRead;@\\
|
||||
\mbox{}\verb@ }McStasController, *pMcStasController;@\\
|
||||
\mbox{}\verb@ @$\diamond$
|
||||
\end{list}
|
||||
|
Reference in New Issue
Block a user