Tracking Utility Functions
22.10. Tracking Utility Functions#
- tracking.__init__.add_tracking_reconstruction(path, components=None, pruneTracks=False, skipGeometryAdding=False, mcTrackFinding=False, trackFitHypotheses=None, reco_tracks='RecoTracks', prune_temporary_tracks=True, fit_tracks=True, use_second_cdc_hits=False, skipHitPreparerAdding=False, svd_standalone_mode='VXDTF2', use_svd_to_cdc_ckf=True, use_ecl_to_cdc_ckf=False, add_cdcTrack_QI=True, add_vxdTrack_QI=False, add_recoTrack_QI=False, pxd_filtering_offline=False, append_full_grid_cdc_eventt0=False, v0_finding=True, flip_recoTrack=True)[source]#
This function adds the standard tracking reconstruction modules to a path:
first we find tracks using the CDC hits only, see CDC Track Finding
CDC tracks are extrapolated to SVD and SVD hits are attached, see CDC to SVD CKF
remaining SVD hits are used to find SVD tracks, see SVD Track Finding
SVD tracks are extrapolated to CDC to attach CDC hits, see SVD to CDC CKF
SVD and CDC tracks are merged and fitted, see Track Fitting
merged SVD+CDC tracks are extrapolated to PXD to attach PXD hits, see SVD to PXD CKF
Note
PXD hits are not available on HLT. At the end of the tracking chain on HLT we have the PXD Region Of Interest Finding, that consists of extrapolating the tracks on the PXD sensors and defining regions in which we expect to find the hit. Only fired pixels inside these regions reach Event Builder 2.
after all the tracks from the IP are found, we look for special classes of tracks, in particular we search for displaced vertices to reconstruct K-short, Lambda and photon-conversions, see V0 Finding.
If the reconstruction uses PXD, we finally look for tracks with a wrong charge, flip and refit them to fix the charge, see Flip&Refit.
- Parameters
path – the path to add the tracking reconstruction modules to
components – the list of geometry components in use or None for all components.
pruneTracks – if true, delete all hits except the first and the last in the found tracks.
skipGeometryAdding – (advanced flag) the tracking modules need the geometry module and will add it, if it is not already present in the path. In a setup with multiple (conditional) paths however, it can not determine, if the geometry is already loaded. This flag can be used o just turn off the geometry adding at all (but you will have to add it on your own then).
skipHitPreparerAdding – (advanced flag) if true, do not add the hit preparation (esp. VXD cluster creation modules. This is useful if they have been added before already.
mcTrackFinding – if true, use the MC track finders instead of the realistic ones.
reco_tracks – name of the StoreArray where the reco tracks should be stored
prune_temporary_tracks – if false, store all information of the single CDC and VXD tracks before merging. If true, prune them.
fit_tracks – if false, the final track find and the TrackCreator module will no be executed
use_second_cdc_hits – if true, the second hit information will be used in the CDC track finding.
trackFitHypotheses – which pdg hypothesis to fit. Defaults to [211, 321, 2212].
svd_standalone_mode – Which SVD standalone tracking is used. Options are “VXDTF2”, “SVDHough”, “VXDTF2_and_SVDHough”, and “SVDHough_and_VXDTF2”. Defaults to “VXDTF2”
use_svd_to_cdc_ckf – if true, add SVD to CDC CKF module.
use_ecl_to_cdc_ckf – if true, add ECL to CDC CKF module.
add_cdcTrack_QI – if true, add the MVA track quality estimation to the path that sets the quality indicator property of the found CDC standalone tracks
add_vxdTrack_QI – if true, add the MVA track quality estimation to the path that sets the quality indicator property of the found VXDTF2 tracks (ATTENTION: Standard triplet QI of VXDTF2 is replaced in this case -> setting this option to ‘True’ will have some influence on the final track collection)
add_recoTrack_QI – if true, add the MVA track quality estimation to the path that sets the quality indicator property of all found reco tracks (Both other QIs needed as input.)
pxd_filtering_offline – If True, PXD data reduction (ROI filtering) is applied during the track reconstruction. The reconstructed SVD/CDC tracks are used to define the ROIs and reject all PXD clusters outside of these.
append_full_grid_cdc_eventt0 – If True, the module FullGridChi2TrackTimeExtractor is added to the path and provides the CDC temporary EventT0.
v0_finding – if false, the V0Finder module is not executed
flip_recoTrack – if true, add the recoTracks flipping function in the postfilter (only if PXD is present)
- tracking.__init__.add_prefilter_tracking_reconstruction(path, components=None, skipGeometryAdding=False, mcTrackFinding=False, trackFitHypotheses=None, reco_tracks='RecoTracks', prune_temporary_tracks=True, fit_tracks=True, use_second_cdc_hits=False, skipHitPreparerAdding=False, svd_standalone_mode='VXDTF2', use_svd_to_cdc_ckf=True, use_ecl_to_cdc_ckf=False, add_cdcTrack_QI=True, add_vxdTrack_QI=False, add_recoTrack_QI=False, pxd_filtering_offline=False, append_full_grid_cdc_eventt0=False)[source]#
This function adds the tracking reconstruction modules required to calculate HLT filter decision to a path.
- Parameters
path – The path to add the tracking reconstruction modules to
components – the list of geometry components in use or None for all components.
skipGeometryAdding – Advances flag: The tracking modules need the geometry module and will add it, if it is not already present in the path. In a setup with multiple (conditional) paths however, it can not determine, if the geometry is already loaded. This flag can be used o just turn off the geometry adding at all (but you will have to add it on your own then).
skipHitPreparerAdding – Advanced flag: do not add the hit preparation (esp. VXD cluster creation modules. This is useful if they have been added before already.
mcTrackFinding – Use the MC track finders instead of the realistic ones.
reco_tracks – Name of the StoreArray where the reco tracks should be stored
prune_temporary_tracks – If false, store all information of the single CDC and VXD tracks before merging. If true, prune them.
fit_tracks – If false, the final track find and the TrackCreator module will no be executed
use_second_cdc_hits – If true, the second hit information will be used in the CDC track finding.
trackFitHypotheses – Which pdg hypothesis to fit. Defaults to [211, 321, 2212].
svd_standalone_mode – Which SVD standalone tracking is used. Options are “VXDTF2”, “SVDHough”, “VXDTF2_and_SVDHough”, and “SVDHough_and_VXDTF2”. Defaults to “VXDTF2”
use_svd_to_cdc_ckf – if true, add SVD to CDC CKF module.
use_ecl_to_cdc_ckf – if true, add ECL to CDC CKF module.
add_cdcTrack_QI – If true, add the MVA track quality estimation to the path that sets the quality indicator property of the found CDC standalone tracks
add_vxdTrack_QI – If true, add the MVA track quality estimation to the path that sets the quality indicator property of the found VXDTF2 tracks (ATTENTION: Standard triplet QI of VXDTF2 is replaced in this case -> setting this option to ‘True’ will have some influence on the final track collection)
add_recoTrack_QI – If true, add the MVA track quality estimation to the path that sets the quality indicator property of all found reco tracks (Both other QIs needed as input.)
pxd_filtering_offline – If True, PXD data reduction (ROI filtering) is applied during the track reconstruction. The reconstructed SVD/CDC tracks are used to define the ROIs and reject all PXD clusters outside of these.
append_full_grid_cdc_eventt0 – If True, the module FullGridChi2TrackTimeExtractor is added to the path and provides the CDC temporary EventT0.
- tracking.__init__.add_postfilter_tracking_reconstruction(path, components=None, pruneTracks=False, reco_tracks='RecoTracks', use_second_cdc_hits=False, prune_temporary_tracks=True, v0_finding=True, flip_recoTrack=True, mcTrackFinding=False)[source]#
This function adds the tracking reconstruction modules not required to calculate HLT filter decision to a path.
- Parameters
path – The path to add the tracking reconstruction modules to
components – the list of geometry components in use or None for all components.
pruneTracks – Delete all hits except the first and the last in the found tracks.
reco_tracks – Name of the StoreArray where the reco tracks should be stored
use_second_cdc_hits – If true, the second hit information will be used in the CDC track finding.
prune_temporary_tracks – If false, store all information of the single CDC and VXD tracks before merging. If true, prune them.
v0_finding – If false, the V0 module will not be executed
flip_recoTrack – if true, add the recoTracks flipping function in the postfilter (only if PXD is present)
mcTrackFinding – Use the MC track finders instead of the realistic ones.