Skip to content

Commit

Permalink
Use FileSink also in ShipReco and ShipAna
Browse files Browse the repository at this point in the history
  • Loading branch information
olantwin committed Sep 17, 2024
1 parent 08c70d1 commit 396b36e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion macro/ShipAna.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
import shipDet_conf
run = ROOT.FairRunSim()
run.SetName("TGeant4") # Transport engine
run.SetOutputFile(ROOT.TMemFile('output', 'recreate')) # Output file
run.SetSink(ROOT.FairRootFileSink(ROOT.TMemFile('output', 'recreate'))) # Dummy output file
run.SetUserConfig("g4Config_basic.C") # geant4 transport not used, only needed for the mag field
rtdb = run.GetRuntimeDb()
# -----Create geometry----------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion macro/ShipReco.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def mem_monitor():
import shipDet_conf
run = ROOT.FairRunSim()
run.SetName("TGeant4") # Transport engine
run.SetOutputFile(ROOT.TMemFile('output', 'recreate')) # Output file
run.SetSink(ROOT.FairRootFileSink(ROOT.TMemFile('output', 'recreate'))) # Dummy output file
run.SetUserConfig("g4Config_basic.C") # geant4 transport not used, only needed for creating VMC field
rtdb = run.GetRuntimeDb()
# -----Create geometry----------------------------------------------
Expand Down

0 comments on commit 396b36e

Please sign in to comment.