Hi:
I now record my experimental data using a tuple, and then I send this data as a csv
file format for output. I have defined some coordinate points in the table, so that I only need to collect the energy deposition of the particles and then fill this energy deposition to the corresponding coordinate points according to HitID.
My table is in the following form:
24 25 24 1.02392
24 25 25 0.0164816
25 24 24 0.0175839
25 24 25 1.0497
24 21 23 0.0309379
27 27 24 0.000790499
27 29 24 0.0247787
24 25 25 1.00889
24 27 26 0.00189608
24 25 18 0.0249534
24 26 24 0.00170278
25 25 24 1.00535
25 25 25 0.0352888
23 24 24 0.0272186
24 24 24 0.000246737
24 24 25 1.00883
24 25 25 0.0261769
24 28 25 0.00313601
25 26 25 0.0016772
24 24 22 0.0271868
26 27 23 0.0274653
25 25 24 1.01264
25 24 24 1.0401
25 26 26 0.0271868
30 23 20 0.00200663
26 27 21 0.00126701
26 26 22 0.0212785
28 23 23 0.000919787
29 23 23 0.00171486
26 25 24 0.0274653
24 25 25 1.01264
24 24 24 1.01264
24 24 25 0.002059
25 24 25 0.0254063
27 25 26 0.000712982
29 26 26 0.00253239
27 24 27 0.0239415
But now I have a question, let’s say a csv table is filled at the end of an event, and when the next time starts, if a coordinate point already has energy deposition data, then if a new energy deposition value is collected again at this point in a new event, will this new energy deposition overwrite the original value or will it be added to the original value.
Thank you for your answers