Commit 3efa9021 authored by Sebastien Ponce's avatar Sebastien Ponce

Fixed qlgos input/output and use PatPV3DFuture

parent 3c27625c
......@@ -6,12 +6,14 @@ def setupHLT1Reconstruction(appMgr, hiveDataBroker, GECCut = -1, IPCut = False,
evtClockSvc = setupComponent('EventClockSvc', InitialTime=1433509200000000000)
setupAlgorithm('Gaudi__Hive__FetchDataFromFile', appMgr, hiveDataBroker, instanceName='FetchDataFromFile', iovLockDependency=False, DataKeys = ['/Event/DAQ/RawEvent'])
odinPath = '/Event/DAQ/DummyODIN'
UTTracksLocation='Rec/Track/Upstream'
VeloTracksLocation='Rec/Track/Velo'
setupAlgorithm('LHCb__Tests__FakeEventTimeProducer', appMgr, hiveDataBroker, instanceName='DummyEventTime', iovLockDependency=False, Start=evtClockSvc.InitialTime / 1E9, Step=0, ODIN=odinPath)
setupAlgorithm('LHCb__DetDesc__ReserveDetDescForEvent', appMgr, hiveDataBroker, instanceName='ReserveIOV', iovLockDependency=False, ODIN=odinPath)
setupAlgorithm('createODIN', appMgr, hiveDataBroker, iovLockDependency=False)
setupAlgorithm('PrPixelTracking', appMgr, hiveDataBroker, HardFlagging = True, SkipLoopSens = True, MaxMissedOnTrack = 2, MaxMissedConsecutive = 1, PhiWindow = 2.5, PhiWindowExtrapolation = 2.5, ModulesToSkip = [], EarlyKill3HitTracks = True, UsePhiPerRegionsForward = False, BoostPhysics = False, AlgoConfig="ForwardThenBackward")
setupAlgorithm('PrPixelTracking', appMgr, hiveDataBroker, OutputTracksName=VeloTracksLocation, HardFlagging = True, SkipLoopSens = True, MaxMissedOnTrack = 2, MaxMissedConsecutive = 1, PhiWindow = 2.5, PhiWindowExtrapolation = 2.5, ModulesToSkip = [], EarlyKill3HitTracks = True, UsePhiPerRegionsForward = False, BoostPhysics = False, AlgoConfig="ForwardThenBackward")
setupAlgorithm('FTRawBankDecoder', appMgr, hiveDataBroker, instanceName='createFTClusters', RawEventLocations = "/Event/DAQ/RawEvent")
prFwdTracking = setupAlgorithm('PrForwardTracking', appMgr, hiveDataBroker, instanceName='PrForwardTrackingFast')
prFwdTracking = setupAlgorithm('PrForwardTracking', appMgr, hiveDataBroker, instanceName='PrForwardTrackingFast', InputName=UTTracksLocation)
from Configurables import PrForwardTool
prFwdTracking.addTool(PrForwardTool, "PrForwardTool")
prFwdTracking.PrForwardTool.MinPT = FTMinPT
......@@ -22,10 +24,9 @@ def setupHLT1Reconstruction(appMgr, hiveDataBroker, GECCut = -1, IPCut = False,
setupAlgorithm('PrGECFilter', appMgr, hiveDataBroker, NumberFTUTClusters = GECCut)
setupAlgorithm('PrStoreFTHit', appMgr, hiveDataBroker)
setupAlgorithm('PrStoreUTHit', appMgr, hiveDataBroker, skipBanksWithErrors = True)
setupAlgorithm('PatPV3D', appMgr, hiveDataBroker)
setupAlgorithm('PrVeloUT', appMgr, hiveDataBroker, instanceName='PrVeloUTFast', doIPCut=IPCut, minIP=IPCutVal, minPT=VeloMinPT)
#trackFitInputLocation = 'Rec/Track/ForwardAsTrackV1'
#setupAlgorithm('LHCb__Converters__Track__v1__fromV2TrackV1TrackVector', appMgr, hiveDataBroker, instanceName='FromV2TrackV1TrackVector', InputTracksName="Rec/Track/Forward", OutputTracksName=trackFitInputLocation)
setupAlgorithm('PatPV3DFuture', appMgr, hiveDataBroker, instanceName='PatPV3D', InputTracks=VeloTracksLocation)
setupAlgorithm('TrackBeamLineVertexFinder', appMgr, hiveDataBroker)
setupAlgorithm('PrVeloUT', appMgr, hiveDataBroker, instanceName='PrVeloUTFast', OutputTracksName=UTTracksLocation, doIPCut=IPCut, minIP=IPCutVal, minPT=VeloMinPT)
from Configurables import MeasurementProviderT_MeasurementProviderTypes__UTLite_
fitter = setupAlgorithm('ParameterizedKalmanFit', appMgr, hiveDataBroker, instanceName='ForwardFitterAlgParamFast', InputName="Rec/Track/Forward", OutputName="Rec/Track/FittedForward", MaxNumOutlier=2, MeasProvider_UT=MeasurementProviderT_MeasurementProviderTypes__UTLite_())
from Configurables import TrackMasterExtrapolator, SimplifiedMaterialLocator
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment