This commit is contained in:
Jan Kieseler
2024-09-17 16:20:09 +02:00
parent 46efd8dea0
commit 6fede8c1f8
+1
View File
@@ -219,6 +219,7 @@ def run_batch(
with multiprocessing.Pool(nCores) as pool:
dfs = pool.starmap(_run_mini_batch_silent, [(gd, nevents[i], particleSpec, minEnergy_GeV, maxEnergy_GeV, seed, i) for i in range(nCores)])
print('simulation finished')
alldf = pd.concat(dfs)
alldf.reset_index(drop=True, inplace=True)
#convert alldf['total_dep_energy'] to numpy array and check if all non-zero entries are unique