def __init__(self): from Configurables import LoKi__Hybrid__CoreFactory as Factory modules = Factory().Modules for module in ['LoKiTrigger.decorators']: if module not in modules: modules.append(module) from Inputs import Hlt2BiKalmanFittedForwardTracking inputs = Hlt2BiKalmanFittedForwardTracking().hlt2PrepareTracks() ec = "CONTAINS('%s') < %%(GEC_MAX)s" % inputs.outputSelection() Hlt2VoidFilter.__init__(self, 'TopoEvent', ec, [inputs], shared=True)
def __init__(self, name): from Configurables import LoKi__Hybrid__CoreFactory as Factory modules = Factory().Modules for i in [ 'LoKiTrigger.decorators' ] : if i not in modules : modules.append(i) from HltTracking.Hlt2TrackingConfigurations import Hlt2BiKalmanFittedForwardTracking as Hlt2LongTracking tracks = Hlt2LongTracking().hlt2PrepareTracks() code = ("CONTAINS('%s')" % tracks.outputSelection()) + " < %(NTRACK_MAX)s" Hlt2VoidFilter.__init__(self, "TrackEff" + name, code, [tracks], shared = True, nickname = 'TrackGEC')
def __init__(self, name): # from Configurables import LoKi__Hybrid__CoreFactory as Factory # modules = Factory().Modules # for i in [ 'LoKiTrigger.decorators' ] : # if i not in modules : modules.append(i) from HltTracking.Hlt2TrackingConfigurations import Hlt2BiKalmanFittedForwardTracking velotracks = Hlt2BiKalmanFittedForwardTracking().hlt2VeloTracking() VT = velotracks.outputSelection() code = ("(CONTAINS('%s')" % VT) + ( " < %(nVeloTracksmax)s)") + " & " + ( "(TrNUM('%s', TrBACKWARD)" % VT) + (" < %(nBackTracksmax)s)") Hlt2VoidFilter.__init__(self, "CEPTrackGEC_" + name, code, [velotracks], nickname=name, shared=True)
def __init__(self, name): from Inputs import Hlt2Muons cut = ("CONTAINS('%s')" % Hlt2Muons.outputSelection()) + " > 2.9" Hlt2VoidFilter.__init__(self, name, cut, [Hlt2Muons], shared=True)