Skip to content

Commit

Permalink
Event Display: Fix drawing of MC and GeoTracks
Browse files Browse the repository at this point in the history
  • Loading branch information
olantwin committed Jan 9, 2025
1 parent b130fe3 commit 0cf5efa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ it in future.
* Tof calculation corrected in GenieGenerator.cxx, wrong units previously used.
* Genfit measurements now give the correct detector ID
* Fix TEvePointSetPrintOut
* Event Display: Fix drawing of MC and Geo tracks

### Changed

Expand Down
4 changes: 2 additions & 2 deletions macro/eventDisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -1319,8 +1319,8 @@ def debugStraw(n):
# ----------------------Tracks and points -------------------------------------
verbose = 0 # 3 lot of output
if withGeo:
Track = ROOT.FairMCTracks("Monte-Carlo Tracks", verbose)
GTrack = ROOT.FairMCTracks("GeoTracks", verbose)
Track = ROOT.FairMCTracksDraw("Monte-Carlo Tracks")
GTrack = ROOT.FairGeoTracksDraw("GeoTracks")
fMan.AddTask(GTrack)
fMan.AddTask(Track)

Expand Down

0 comments on commit 0cf5efa

Please sign in to comment.