aboutsummaryrefslogtreecommitdiff
path: root/src/beam-parameters.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-01 15:07:59 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:16 +0100
commit43337144f55e73426f2c6a2f33f12e45117da1a6 (patch)
treeda79ab3216ee47e74cf4874c6155d573aeda5bda /src/beam-parameters.c
parent243e7220f23be883826d53b3170a27da84c8a951 (diff)
Remove water simulation stuff
It's not really useful - our dominant background is from elsewhere
Diffstat (limited to 'src/beam-parameters.c')
-rw-r--r--src/beam-parameters.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/beam-parameters.c b/src/beam-parameters.c
index 8d34eacf..ac30ad04 100644
--- a/src/beam-parameters.c
+++ b/src/beam-parameters.c
@@ -41,7 +41,6 @@ struct beam_params *get_beam_parameters(const char *filename)
b->divergence = -1.0;
b->dqe = -1.0;
b->adu_per_photon = -1.0;
- b->water_radius = -1.0;
do {
@@ -81,8 +80,6 @@ struct beam_params *get_beam_parameters(const char *filename)
b->dqe = atof(bits[2]);
} else if ( strcmp(bits[0], "detector/adu_per_photon") == 0 ) {
b->adu_per_photon = atof(bits[2]);
- } else if ( strcmp(bits[0], "jet/radius") == 0 ) {
- b->water_radius = atof(bits[2]);
} else {
ERROR("Unrecognised field '%s'\n", bits[0]);
}
@@ -125,10 +122,6 @@ struct beam_params *get_beam_parameters(const char *filename)
" 'detector/adu_per_photon'.\n");
reject = 1;
}
- if ( b->water_radius < 0.0 ) {
- ERROR("Invalid or unspecified value for 'jet/radius'.\n");
- reject = 1;
- }
if ( reject ) {
ERROR("Please fix the above problems with the beam"