Skip to content
Snippets Groups Projects
Commit c66a7ed9 authored by Zhenyu Ye's avatar Zhenyu Ye
Browse files

debug TOF benchmark

parent 5a757205
Branches
No related tags found
1 merge request!209Draft: Resolve "Add TOF benchmark"
...@@ -44,7 +44,8 @@ from Configurables import Jug__Reco__SimpleClustering as SimpleClustering ...@@ -44,7 +44,8 @@ from Configurables import Jug__Reco__SimpleClustering as SimpleClustering
algorithms = [ ] algorithms = [ ]
podioinput = PodioInput("PodioReader", podioinput = PodioInput("PodioReader",
collections=["mcparticles","TrackerEndcapHits","TrackerBarrelHits","VertexBarrelHits","VertexEndcapHits","GEMTrackerEndcapHits","BarrelTOFHits","ForwardTOFHits","BackwardTOFHits"]) collections=["mcparticles","TrackerEndcapHits","TrackerBarrelHits","VertexBarrelHits","VertexEndcapHits","BarrelTOFHits","ForwardTOFHits","BackwardTOFHits"])
#collections=["mcparticles","TrackerEndcapHits","TrackerBarrelHits","VertexBarrelHits","VertexEndcapHits","GEMTrackerEndcapHits","BarrelTOFHits","ForwardTOFHits","BackwardTOFHits"])
algorithms.append( podioinput ) algorithms.append( podioinput )
## copiers to get around input --> output copy bug. Note the "2" appended to the output collection. ## copiers to get around input --> output copy bug. Note the "2" appended to the output collection.
...@@ -81,11 +82,11 @@ vtx_ec_digi = TrackerDigi("vtx_ec_digi", ...@@ -81,11 +82,11 @@ vtx_ec_digi = TrackerDigi("vtx_ec_digi",
timeResolution=8) timeResolution=8)
algorithms.append( vtx_ec_digi ) algorithms.append( vtx_ec_digi )
gem_ec_digi = TrackerDigi("gem_ec_digi", #gem_ec_digi = TrackerDigi("gem_ec_digi",
inputHitCollection="GEMTrackerEndcapHits", # inputHitCollection="GEMTrackerEndcapHits",
outputHitCollection="GEMTrackerEndcapRawHits", # outputHitCollection="GEMTrackerEndcapRawHits",
timeResolution=10) # timeResolution=10)
algorithms.append(gem_ec_digi) #algorithms.append(gem_ec_digi)
tof_b_digi = TrackerDigi("tof_b_digi", tof_b_digi = TrackerDigi("tof_b_digi",
inputHitCollection="BarrelTOFHits", inputHitCollection="BarrelTOFHits",
...@@ -126,10 +127,10 @@ vtx_ec_reco = TrackerHitReconstruction("vtx_ec_reco", ...@@ -126,10 +127,10 @@ vtx_ec_reco = TrackerHitReconstruction("vtx_ec_reco",
outputHitCollection="VertexEndcapRecHits") outputHitCollection="VertexEndcapRecHits")
algorithms.append( vtx_ec_reco ) algorithms.append( vtx_ec_reco )
gem_ec_reco = TrackerHitReconstruction("gem_ec_reco", #gem_ec_reco = TrackerHitReconstruction("gem_ec_reco",
inputHitCollection=gem_ec_digi.outputHitCollection, # inputHitCollection=gem_ec_digi.outputHitCollection,
outputHitCollection="GEMTrackerEndcapRecHits") # outputHitCollection="GEMTrackerEndcapRecHits")
algorithms.append(gem_ec_reco) #algorithms.append(gem_ec_reco)
tof_b_reco = TrackerHitReconstruction("tof_b_reco", tof_b_reco = TrackerHitReconstruction("tof_b_reco",
inputHitCollection=tof_b_digi.outputHitCollection, inputHitCollection=tof_b_digi.outputHitCollection,
...@@ -152,7 +153,7 @@ trk_hit_col = TrackingHitsCollector("trk_hit_col", ...@@ -152,7 +153,7 @@ trk_hit_col = TrackingHitsCollector("trk_hit_col",
str(trk_ec_reco.outputHitCollection), str(trk_ec_reco.outputHitCollection),
str(vtx_b_reco.outputHitCollection), str(vtx_b_reco.outputHitCollection),
str(vtx_ec_reco.outputHitCollection), str(vtx_ec_reco.outputHitCollection),
str(gem_ec_reco.outputHitCollection), # str(gem_ec_reco.outputHitCollection),
str(tof_b_reco.outputHitCollection), str(tof_b_reco.outputHitCollection),
str(tof_forward_reco.outputHitCollection), str(tof_forward_reco.outputHitCollection),
str(tof_backward_reco.outputHitCollection) ], str(tof_backward_reco.outputHitCollection) ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment