Commit 61eccd3a authored by Antonio De Maria's avatar Antonio De Maria
Browse files

configure TrigTrackPreSelHypoTool from dictionary (ATR-23859)

parent 0ccb0629
Pipeline #2840179 passed with stage
in 0 seconds
......@@ -288,6 +288,8 @@ def TrigTauTrackHypoToolFromDict( chainDict ):
monTool.defineHistogram("CutCounter", path='EXPERT', type='TH1I',title=';CutCounter; Entries', xbins=10, xmin=0.,xmax=10.)
currentHypo.MonTool = monTool
currentHypo.AcceptAll = True
if criteria == 'cosmic':
currentHypo.LowerPtCut = int(threshold)*1000.
currentHypo.TracksInCoreCut = 9999
......
......@@ -78,9 +78,6 @@ def tauFTFTauSeq():
fastTrkHypo.trackcollection = sequenceOut
fastTrkHypo.RoIForIDReadHandleKey = ""
from TrigTauHypo.TrigTauHypoConf import TrigTrackPreSelHypoTool
TrigTrackPreSelHypoTool.AcceptAll = True
from TrigTauHypo.TrigTauHypoTool import TrigTauTrackHypoToolFromDict
return MenuSequence( Sequence = sequence,
......@@ -99,9 +96,6 @@ def tauFTFTauIsoSeq():
fastTrkHypo = TrigTrackPreSelHypoAlg("TrackPreSelHypoAlg_PassByIso")
fastTrkHypo.trackcollection = sequenceOut
from TrigTauHypo.TrigTauHypoConf import TrigTrackPreSelHypoTool
TrigTrackPreSelHypoTool.AcceptAll = True
from TrigTauHypo.TrigTauHypoTool import TrigTauTrackHypoToolFromDict
return MenuSequence( Sequence = sequence,
......@@ -121,9 +115,6 @@ def tauFTFTauIsoBDTSeq():
fastTrkHypo.trackcollection = sequenceOut
fastTrkHypo.RoIForIDReadHandleKey = "UpdatedTrackBDTRoI"
from TrigTauHypo.TrigTauHypoConf import TrigTrackPreSelHypoTool
TrigTrackPreSelHypoTool.AcceptAll = True
from TrigTauHypo.TrigTauHypoTool import TrigTauTrackHypoToolFromDict
return MenuSequence( Sequence = sequence,
......@@ -234,9 +225,6 @@ def tauPreSelSeq():
preSelHypo = TrigEFTauMVHypoAlg("EFTauMVHypoAlgPreSel")
preSelHypo.taujetcontainer = sequenceOut
from TrigTauHypo.TrigTauHypoConf import TrigTrackPreSelHypoTool
TrigTrackPreSelHypoTool.AcceptAll = True
from TrigTauHypo.TrigTauHypoTool import TrigPresTauMVHypoToolFromDict
return MenuSequence( Sequence = sequence,
......@@ -255,9 +243,6 @@ def tauPreSelTTSeq():
preSelHypo = TrigEFTauMVHypoAlg("EFTauMVHypoAlgPreSelTT")
preSelHypo.taujetcontainer = sequenceOut
from TrigTauHypo.TrigTauHypoConf import TrigTrackPreSelHypoTool
TrigTrackPreSelHypoTool.AcceptAll = True
from TrigTauHypo.TrigTauHypoTool import TrigPresTauMVHypoToolFromDict
return MenuSequence( Sequence = sequence,
......
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