Skip to content
Snippets Groups Projects

Pass the minimum momentum cut to tracking algorithms.

Merged Christopher Rob Jones requested to merge set-min-p-cut-tracks-ref-index-calib into master
Files
3
@@ -29,6 +29,8 @@ from Configurables import Online__AlgFlowManager as AlgFlowManager
from Configurables import HLTControlFlowMgr, ExecutionReportsWriter
from Configurables import LHCb__Det__LbDD4hep__DD4hepSvc as DD4hepSvc
from GaudiKernel.SystemOfUnits import GeV
from Moore import options, run_reconstruction
LHCbApp().DataType = "Upgrade"
@@ -68,12 +70,20 @@ noUT = True
from PyConf.Tools import TrackMasterFitter, Rich__Future__Rec__Calib__RefIndexCalibWriter as RefIndexCalibWriter
from PyConf.Algorithms import Rich__Future__Rec__Calib__RefIndexCalib as RefIndexCalib
from PyConf.Algorithms import PrMatchNN, PrForwardTrackingVelo, PrHybridSeeding
from Panoptes.calibration import standalone_rich_ref_index_calib
if noUT:
from RecoConf.hlt2_tracking import make_hlt2_tracks_without_UT as track_maker
else:
from RecoConf.hlt2_tracking import make_hlt2_tracks as track_maker
# Min Momentum cuts by radiator
rad_min_p = (10 * GeV, 10 * GeV, 20 * GeV)
min_p = min(rad_min_p)
PrForwardTrackingVelo.global_bind(MinP=min_p)
PrMatchNN.global_bind(MinP=min_p)
PrHybridSeeding.global_bind(MinP=min_p)
# PDF Writer options
ckFitForm = ["AsymNormal:FreeNPol"]
mywriter = RefIndexCalibWriter(
@@ -84,7 +94,8 @@ mywriter = RefIndexCalibWriter(
with track_maker.bind(use_pr_kf=True, light_reco=True, fast_reco=True),\
RefIndexCalib.bind(CalibWriter=mywriter),\
standalone_rich_ref_index_calib.bind(noUT=noUT,do_data_monitoring=False,\
standalone_rich_ref_index_calib.bind(noUT=noUT,min_p=rad_min_p,\
do_data_monitoring=False,\
set_scale_factors_to_one=False) :
run_reconstruction(options, standalone_rich_ref_index_calib)
Loading