Skip to content

Commit

Permalink
[TracksFromGenParticles] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BrieucF committed Aug 6, 2024
1 parent 27f037f commit 6090b03
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Tracking/test/runTracksFromGenParticles.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

# produce a TH1 with distances between tracks and simTrackerHits
from Configurables import PlotTrackHitDistances, RootHistSvc
from Configurables import Gaudi__Histograming__Sink__Root as RootHistoSink
plotTrackHitDistances = PlotTrackHitDistances("PlotTrackHitDistances",
InputSimTrackerHits = ["CDCHHits"],
InputTracksFromGenParticlesAssociation = tracksFromGenParticles.OutputMCRecoTrackParticleAssociation,
Expand All @@ -39,14 +40,9 @@
tracksFromGenParticles.AuditExecute = True
plotTrackHitDistances.AuditExecute = True

# event counter
from Configurables import EventCounter
event_counter = EventCounter('event_counter')
event_counter.Frequency = 10

from Configurables import EventDataSvc
ApplicationMgr(
TopAlg= [event_counter, tracksFromGenParticles, plotTrackHitDistances],
TopAlg= [tracksFromGenParticles, plotTrackHitDistances],
EvtSel='NONE',
EvtMax=-1,
ExtSvc=[root_hist_svc, EventDataSvc("EventDataSvc"), audsvc],
Expand Down

0 comments on commit 6090b03

Please sign in to comment.