22.11.2011 Kamil Sedlak
Implemented posibility to write hits from musrSimAna into a "dump file", which can be used later as an input to the analysis of a real PSI data (as in a real experiment).
This commit is contained in:
@ -314,6 +314,19 @@ All events should/have to be (?) saved in the Root tree
|
||||
This way the same counter can be used as two independent counters -- e.g.\ once as a veto
|
||||
detector for the M-counter, and simultaneously as a coincidence detector for
|
||||
a P-counter. In both cases the energy threshold and time windows are defined independently.
|
||||
\item{\bf WRITE\_OUT\_DUMP\_FILE \emph{fileNameString} \emph{clockChannel} \emph{randomJitter}}\\
|
||||
If present, this command will create two output files, the so-called ``dump files'':\\
|
||||
{\tt data/TDC\_V1190\_200\_dump\_\emph{fileNameString}.bin} -- file that can be used
|
||||
as an input to the PSI analysis front-end of a real experiment.\\
|
||||
{\tt data/TDC\_V1190\_200\_dump\_\emph{fileNameString}.txt} -- file that contains the same
|
||||
information (hits) as the previous file, however in a human-readable form. The first number in the file
|
||||
stands for the channel number, the second number stands for the time bin in the TDC bin units.\\
|
||||
\emph{clockChannel} ... the channel of the clock signal (typically 15).\\
|
||||
\emph{randomJitter} ... this value is in TDC bins, typically 0 or 8000 (?). If \emph{randomJitter} is smaller then
|
||||
1, then the hits in the dump files will be sorted according to time. If it is larger than 0, then
|
||||
subsequent hits can be unordered in time, but the time difference never exceeds the value of \emph{randomJitter}.
|
||||
This is just a technical thing serving to test the analysis software -- it should not
|
||||
have any effect on the analysis results.
|
||||
\item{\bf musrTH1D \emph{histoName} \emph{histoTitle} \emph{nBins} \emph{min} \emph{max} \emph{variable}
|
||||
[{\tt rotreference} $\nu_{\rm RRF}$ $\phi_{\rm RRF}$]} \\
|
||||
Defines a histogram (or more precisely an array of histograms, where the number of histograms
|
||||
@ -462,6 +475,7 @@ All events should/have to be (?) saved in the Root tree
|
||||
\item[funct4] $=p_3 \exp((- x)/2.19703) \cdot (1+p_2 \cos(p_0 x+p_1)) + p_4$
|
||||
\end{description}
|
||||
|
||||
|
||||
\end{description}
|
||||
%========================================================================================================
|
||||
\section{A real-life example: GPD instrument}
|
||||
|
Reference in New Issue
Block a user