From aa6ceb9528a289a586278f3a504382eb40532c76 Mon Sep 17 00:00:00 2001 From: csendlinger Date: Thu, 23 Jan 2025 16:49:44 +0100 Subject: [PATCH] ref 1 done --- docs/paper/the-karl-code/referee_report_1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/paper/the-karl-code/referee_report_1.md b/docs/paper/the-karl-code/referee_report_1.md index bc4fb34..83d068b 100644 --- a/docs/paper/the-karl-code/referee_report_1.md +++ b/docs/paper/the-karl-code/referee_report_1.md @@ -33,7 +33,7 @@ Apart from that, I have pointed out several drawbacks, which I list below. Consequently, I do not recommend publication of this manuscript. 1. Abstract. - - : What is described in the Abstract is exactly the same simulation logic of any Monte Carlo code that simulates the particle transport in a medium. I should expect some information concerning the actual novelties of the new code.
+ - What is described in the Abstract is exactly the same simulation logic of any Monte Carlo code that simulates the particle transport in a medium. I should expect some information concerning the actual novelties of the new code.
The abstract has been reformulated avoiding any repetition of standard Monte Carlo techniques. - “The code is parallelized using ... terminator, interaction types, movers and initialization.” This is difficult to understand and refers to details that are too specific.
Some of the comments are also obvious: the input of a program is expected to provide information about the simulation that the program is to carry out. What is the “resolution of the simulation domain”? What are the “user defined species”? What are the terminator and the movers?

We agree that these pieces of information are to specific for the abstract, so they have been removed. 1. Again, most of the information provided in sections 2 and 3 refer to the standard logic followed by all Monte Carlo codes simulating radiation-matter interaction that I know. A clear description of the novelties of the new code should be done making the corresponding comparisons with other available Monte Carlo codes that would be unable to do the same work.
@@ -47,8 +47,8 @@ Consequently, I do not recommend publication of this manuscript. - As an example I mention: “The movement itself is subdivided into in smaller steps. How big are these steps or how are they defined?
The step size is defined by the user in the parameter file. We have added some more information about how the size should be chosen. - But the question is more general. There are not details about elements that are usual in any Monte Carlo simulation of the transport of particles in materials: absorption energies, tracking parameters, simulation geometry construction and management, etc.
We are not exactly sure whether we understand this correctly, we can only guess that the referee infers the logic used in Monte Carlo simulation frameworks like GEANT, where e.g. detectors are simulated. To our understanding some of these concepts are not relevant to the type of simulation we are pursuing: Absorption energies are not used since particle-particle interactions are simulated inside the tritium gas directly using the single processes (and particles leaving the source through the wall are out of the equation). Particle tracks are essentially followed, but not recorded only cumulative parameters are considered. If we are in the logic of GEANT the only parameter for the track of a particle is its maximum interaction number. The geometry is a cylinder for all cases anyway. 1. In figure 3, a red line indicates an “ideal scaling”. This is not mentioned at all in the text: what is its purpose?
The text now mentions this explicitly and its purpose is now explained. -2. Figure 4 shows data and a fit of them. No information of the function used for the fit is given, no information about the values of the best fit parameters is given, and no information about the goodness of the fit is given. In addition, no information about the details of the simulations carried out is given. The figure caption informs that the uncertainties have been calculated from a total of six simulations. Apart from the small and “strange” number (why not 5 or 3 or 10), there is no information about the number of histories simulated in each run and the simulation parameters chosen. -
We have added the important information about the test simulations to the text and added the R-square value for the fit in the caption of the corresponding figure. Furthermore, we have included the input parameter file(s) for all test cases within the code repository. +2. Figure 4 shows data and a fit of them. No information of the function used for the fit is given, no information about the values of the best fit parameters is given, and no information about the goodness of the fit is given. In addition, no information about the details of the simulations carried out is given. The figure caption informs that the uncertainties have been calculated from a total of six simulations. Apart from the small and “strange” number (why not 5 or 3 or 10), there is no information about the number of histories simulated in each run and the simulation parameters chosen. +
We have added the important information about the test simulations to the text and added the R-square value for the fit in the caption of the corresponding figure. The funciton used is a Maxwell Boltzmann distribution scaled by the square root of the energy to account for the binning of the energy and the time a particle spends in a specific cell due to its velocity. Furthermore, we have included the input parameter file(s) for all test cases within the code repository. Since six simulations already yield an exteremely good fit, more simulations would not result in an improvement. 1. A comparison with other codes for the spectra shown in figure 5 lacks in order to judge the advantages of the new code. Here there is no information about the simulations geometry (dimensions, materials, compositions, densities, ...) and about the simulation carried out. Concerning the spectra in this figure, the last sentence of the section says: “The spectrum shows very clearly that all processes for the particles interact in a non-trivial manner. It is therefore necessary to use a sophisticated tool like KARL to simulate their behavior inside the KATRIN source. Apart from the fact that the sentence is not correct (it seems that something lacks), I have difficulties to understand how the spectra shown actually provide the information about all interaction processes as stated.
First of all we would like to reiterate that KARL is not an advanced code for a well-known problem but to our knowledge the first, freely available codefor the simulation of tritium gas processes. This makes a comparison to other code especially difficult. We have added a comparison to the only freely available result from other simulations. Also some paragraphs on advanced features have been added alongside with the physical parameters for these simulations (in the source code directory a JSON file for these parameters is given). We have reformulated the claim to reflect the fact that many different processes may occur. The existence of for example T3+ can e.g. only be explained by multi-stage reaction, which in turn depends non-linearly on the tritium density. 2. Throughout the text, the reader is made to go back and forth in the reading, with continuous references to different sections (previous and subsequent), making it a practically impossible task.
After re-arranging the paper we have also redacted the crosslinks which should drastically increase the readability 3. In addition, there is a continuous reference to the Ph. D. thesis of one of the authors and to the paper above mentioned when some, may be relevant, details of the simulation should be provide. As an example, the paragraph “In some cases, there is not enough data ... ”, in pg.14 when elastic scattering is described, does not explain nothing and mentions things like “external simulations” that are incomprehensible.
We have now added some of the relevant examples in the paper now. The sentence with "external simulations" has been written in a misleading way. The external simulations refer to the source of the cross sections for which no continous expression exists. We have tried to straighten out this sentence.