Skip to content

Commit c5d6e54

Browse files
authored
Merge pull request #106 from OpenGATE/fixesFor9.4.2
Fixes for9.4.2
2 parents 50cbe4e + 1bafbfe commit c5d6e54

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

t30_dna/runAnalysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def analyse(f1, f2, f3):
6969
m2 = find_min_energy(v2)
7070
m3 = find_min_energy(v3)
7171

72-
return m1 < .0025 and m2 >= .0025 and m3 < .0025
72+
return m1 < .0025 and m2 >= .0005 and m3 < .0025
7373

7474

7575
if __name__ == '__main__':

t31_vpgTLE-tt/runAnalysis.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ def compare_branch_mhd(f1, f2, tol):
115115
def analyse_one_folder(folder, previous_folder):
116116
# read first phsp
117117
tree1 = uproot.open(f'{folder}/detector_vpg_Carbon.root')['PhaseSpace']
118-
tree1 = tree1.arrays(library="numpy")
118+
#tree1 = tree1.arrays(library="numpy")
119+
tree1 = tree1.arrays(["AtomicNumber", "X", "Ekine", "Time", "IonTime"], library="np")
119120
n1 = len(tree1['X'])
120121
print(f'First (write) phsp {n1} {tree1.keys()}')
121122

t8_LETActor/mac/main.mac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# PHYSICS
3232
#=====================================================
3333

34-
/gate/physics/addPhysicsList FTFP_INCLXX_EMZ
34+
/gate/physics/addPhysicsList QGSP_BIC_HP #FFTFP_INCLXX_EMZ
3535
#/control/execute mac/physicslist_HAD_std_6_2_2.mac
3636

3737
/gate/physics/Gamma/SetCutInRegion world 100 m

0 commit comments

Comments
 (0)