In Chapter 9: Phyiscs:
Experimental Simulation with Analysis Module , the demonstration
program combined data generation, animation, and analysis in one
applet. For an actual experiment, however, it is important to use
the same analysis for the real data as is used for the simulated
data. So we would like to separate simulation and analysis into
separate programs as shown in the following diagram:

Figure 10.1: For experimental analysis, the procedure typically
goes as in this diagram. Data from the simulation and the
experiment both go to data files with identical format (a
header, though, would typically identify the source of the
data). Then the analysis program will run on both types of
data, insuring that the analysis is consistent and letting
the simulation provide a reliable check on the experiment
data analysis.
As shown in figure 10.1, the analysis program receives
data from either the simulated data or the actual experimental data.
This insures that the algorithms and the code in the analysis program,
which were developed with the simulated data, are consistently applied
to the real data.
The simulated data can be written to files that mimic those obtained
from the experiment and typically include realistic detector features
such as digitization offsets and varying slopes in analog to digital
conversions.. This provides a check that the calibrations applied
to the experimental data do in fact work as expected. (We will discuss
this further in Chapter 11: Physics.)
The demonstration programs on the following
page illustrate this approach for the mass drop simulations discussed
in Chapter 9: Physics.
References & Web Resources
Most recent update: Oct. 29, 2005
|