Skip to content
Snippets Groups Projects

Adding genfit tracking benchmarks

Closed Whitney Armstrong requested to merge genfit_tracking into master
Files
6
@@ -35,7 +35,9 @@ from Configurables import Jug__Reco__TrackParamClusterInit as TrackParamClusterI
@@ -35,7 +35,9 @@ from Configurables import Jug__Reco__TrackParamClusterInit as TrackParamClusterI
from Configurables import Jug__Reco__TrackParamVertexClusterInit as TrackParamVertexClusterInit
from Configurables import Jug__Reco__TrackParamVertexClusterInit as TrackParamVertexClusterInit
from Configurables import Jug__Reco__ConformalXYPeakProtoTracks as ConformalXYPeakProtoTracks
from Configurables import Jug__Reco__ConformalXYPeakProtoTracks as ConformalXYPeakProtoTracks
from Configurables import Jug__Reco__TrackFindingAlgorithm as TrackFindingAlgorithm
from Configurables import Jug__Reco__ProtoTrackMatching as ProtoTrackMatching
 
from Configurables import Jug__Reco__GenFitTrackFitter as GenFitTrackFitter
 
#from Configurables import Jug__Reco__TrackFindingAlgorithm as TrackFindingAlgorithm
from Configurables import Jug__Reco__ParticlesFromTrackFit as ParticlesFromTrackFit
from Configurables import Jug__Reco__ParticlesFromTrackFit as ParticlesFromTrackFit
from Configurables import Jug__Reco__SimpleClustering as SimpleClustering
from Configurables import Jug__Reco__SimpleClustering as SimpleClustering
@@ -115,11 +117,12 @@ algorithms.append(gem_ec_reco)
@@ -115,11 +117,12 @@ algorithms.append(gem_ec_reco)
trk_hit_col = TrackingHitsCollector("trk_hit_col",
trk_hit_col = TrackingHitsCollector("trk_hit_col",
inputTrackingHits=[
inputTrackingHits=[
str(trk_b_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(trk_b_reco.outputHitCollection),
 
str(trk_ec_reco.outputHitCollection),
 
str(gem_ec_reco.outputHitCollection)
 
],
trackingHits="trackingHits",
trackingHits="trackingHits",
OutputLevel=DEBUG)
OutputLevel=DEBUG)
algorithms.append( trk_hit_col )
algorithms.append( trk_hit_col )
@@ -129,7 +132,7 @@ conformal_find = ConformalXYPeakProtoTracks("conformal_find",
@@ -129,7 +132,7 @@ conformal_find = ConformalXYPeakProtoTracks("conformal_find",
inputTrackerHits=trk_hit_col.trackingHits,
inputTrackerHits=trk_hit_col.trackingHits,
outputProtoTracks="outputProtoTracks",
outputProtoTracks="outputProtoTracks",
nProtoTracks="nProtoTracks",
nProtoTracks="nProtoTracks",
nPhiBins=90,
nPhiBins=60,
OutputLevel=DEBUG)
OutputLevel=DEBUG)
algorithms.append( conformal_find )
algorithms.append( conformal_find )
@@ -147,21 +150,31 @@ truth_trk_init = TrackParamTruthInit("truth_trk_init",
@@ -147,21 +150,31 @@ truth_trk_init = TrackParamTruthInit("truth_trk_init",
#OutputLevel=DEBUG)
#OutputLevel=DEBUG)
algorithms.append( truth_trk_init )
algorithms.append( truth_trk_init )
# Tracking algorithms
proto_matching = ProtoTrackMatching("proto_matching",
trk_find_alg = TrackFindingAlgorithm("trk_find_alg",
inputTrackerHits = trk_hit_col.trackingHits,
inputSourceLinks = sourcelinker.outputSourceLinks,
inputProtoTracks = conformal_find.outputProtoTracks,
inputMeasurements = sourcelinker.outputMeasurements,
initialTrackParameters = truth_trk_init.outputInitialTrackParameters,
inputInitialTrackParameters= "InitTrackParams",#"InitTrackParamsFromClusters",
matchedProtoTracks = "matchedProtoTracks",
outputTrajectories="trajectories")
OutputLevel=DEBUG)
#OutputLevel=DEBUG)
algorithms.append( proto_matching )
algorithms.append( trk_find_alg )
parts_from_fit = ParticlesFromTrackFit("parts_from_fit",
inputTrajectories="trajectories",
# Tracking algorithms
outputParticles="ReconstructedParticles",
genfit_alg = GenFitTrackFitter("genfit_alg",
outputTrackParameters="outputTrackParameters")
inputHitCollection = trk_hit_col.trackingHits,
#OutputLevel=DEBUG)
initialTrackParameters= "InitTrackParams",
algorithms.append( parts_from_fit )
inputProtoTracks = proto_matching.matchedProtoTracks,
 
trackParameters="trackParameters",
 
outputTrajectories="trajectories",
 
OutputLevel=DEBUG)
 
algorithms.append( genfit_alg )
 
 
#parts_from_fit = ParticlesFromTrackFit("parts_from_fit",
 
# inputTrajectories="trajectories",
 
# outputParticles="ReconstructedParticles",
 
# outputTrackParameters="outputTrackParameters")
 
# #OutputLevel=DEBUG)
 
#algorithms.append( parts_from_fit )
#types = []
#types = []
## this printout is useful to check that the type information is passed to python correctly
## this printout is useful to check that the type information is passed to python correctly
Loading