Files
katrin-plasma/docs/paper/the-karl-code/referee_report_1.md
T

54 lines
11 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<style>
r { color: Red }
o { color: Orange }
gr { color: Green }
cs { color: Red; background-color: White }
fs { color: Yellow; background-color: Black}
csfs {color: Orange; background-color: #5f6a6a }
done {color: green}
reply {color: blue; font-weight: bold}
note {color: red; background-color: Black; font-style: italic; font-weight: bold}
</style>
KARL - A Monte Carlo model for atomic and molecular processes in the tritium atmo-
sphere of the KATRIN experiment
Kellerer, Sendlinger, Spanier
In this work, a new Monte Carlo code is presented that permits the calculation of the particle spectra in the source of the KATRIN experiment.
I have no doubt that KATRIN is a very important experiment, which may require the
development of specific pieces of software. However, as a reader of this journal, what I would expect is code that is general enough to be useful for different applications. This can only be achieved if the details about the code are understandable. However, in my opinion, this is not the case with the present manuscript. The text is generally obscure, with sentences and messages that seem to me to be understood only by the authors. Much of the manuscript describes peculiarities of the code that are of no help to the ordinary reader. In addition, I think it is important to point out several major drawbacks:
1. <done>The physics underlying the simulations is not laid out in detail, and concepts that seem relevant are not clearly explained.</done><br>
<reply>We have tried to outline the basic concepts and underlying assumptions in the introduction. Along with other changes laid outer later we have attempted to streamline the reasoning of the article </reply>
2. <done>F: The advantages of this new code with respect to others Monte Carlo codes already available and which could allow the same quantities to be obtained are not discussed. A more or less systematic comparison with the results obtained with these other Monte Carlo codes is missing. These comparisons have been included neither in this manuscript nor in the authors’ article in J. Inst (Ref. [7]), which is continually used as a reference for this work.</done><br>
<reply>We have included a section on the comparison with Monte Carlo codes that address the same physical setup. Unfortunately there is only a handful of codes that do something remotely similar to what we have done here. One could discuss e.g. the application of code frameworks like GEANT for these calculations, but to our understanding the effort to fit our problem into GEANT is about as complex as developing a new code. Should there be other codes out there which we have not taken into consideration we would be grateful for a hint. We would then add further benchmarks. </reply>
3. <done>I find it particularly inappropriate, and unusual, not to analyze in detail different examples that show the advantages of the code presented here. The authors restrict to a single case in which only the elastic scattering is tested. If only this scattering is tested, how the authors can state that this permit to ensure that the whole code can be considered correct?</done><br>
<reply>The paper has now an extensive list of tests of the different processes which are implemented in the code. Together with the expanded discussion of the processes this should allow for a thorough verification and reproduction of the results. </reply>
Apart from that, I have pointed out several drawbacks, which I list below.
Consequently, I do not recommend publication of this manuscript.
1. Abstract.
- <done>: 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.</done><br>
<reply>The abstract has been reformulated avoiding any repetition of standard Monte Carlo techniques.</reply>
- <cs>C: “The code is parallelized using ... terminator, interaction types, movers and initialization.” This is difficult to understand and refers to details that are too specific.<br>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?</cs>
1. <done>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. </done><br>
<reply>We have tried to sharpen the profile of sections 2 and 3. The comparison to other codes is done in a later section. As outlined before in this reply we are not aware of any publicly available code which solves the problem of tritium interactions.</reply>
2. <cs>C: Concerning equation (1): What is an “interaction partner”? Where is entering the drift velocity of the neutral gas? What are the predefined functions used to calculate the cross sections?</cs>
3. <cs>C: Equation (2) is not the most efficient way to calculate the “moved distance”. You should use d = −λmfp ·log η because this saves a division. In addition, and concerning the comment just after this equation, it is worth noting that the number of collisions in a given path length follows a Poisson distribution, but distances moved are distributed exponentially.</cs> <note> Changed; would not be a bottleneck in any case; poisson stuff also rephrased </note>
4. <done> Figure 2, without dimensions and no further explanations, seems to me not much useful.<done><br><reply>We believe the sketch gives some insight into the grid used for the source. The content could be spelled out also but the graphic representation seems more self-explanatory. </reply>
5. <done> First paragraph of section 3: I should say that the characteristics mentioned are not exclusive of C++ and that, in my opinion, any modern programming language could do the job.</done><br>
<reply>C++ is not the only choice, but when looking for a fast, object-oriented language which is widely used it is in our view the first choice. We have clarified this.</reply>
6. Some information about details of the simulation would be acknowledged.<br>
<cs>- As an example I mention: “The movement itself is subdivided into in smaller steps. How big are these steps or how are they defined?</cs><br>
<done>- 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.</done><br><reply>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. </reply>
1. <done>C: In figure 3, a red line indicates an “ideal scaling”. This is not mentioned at all in the text: what is its purpose?</done><br><reply>The text now mention this now explicitly and its purpose is now explained.</reply>
2. <csfs>F, C: 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 <note> information about the goodness of the fit </note> 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.</csfs>
1. <done>F: 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.</done><br><reply> 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.</reply>
2. <done>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.</done><br><reply>After re-arranging the paper we have also redacted the crosslinks which should drastically increase the readability</reply>
3. <done>F: 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.</done><br><reply> 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. </reply>
4. <done>C: In modern physics texts, vector quantities are usually written in boldface instead of using an arrow on top of the symbol.</done><br> <reply>We have adapted the bold style, but we would like to point that we have followed the journal style without any changes for the vector style. </reply>