def _makeLine(self, name, RE, limiter, rate): from Configurables import OfflineRateLimiter orl = OfflineRateLimiter(name + "ORL", HltLimiter=limiter, Rate=rate) line = StrippingLine(name, HLT=RE, checkPV=False, algos=[orl]) self.registerLine(line) return line
def _makeLine(self,name,RE,limiter,rate,UseConditionDB=False): from Configurables import OfflineRateLimiter orl = OfflineRateLimiter(name+"ORL", HltLimiter = limiter, Rate = rate, UseCondition = UseConditionDB, FallBack = UseConditionDB) line = StrippingLine(name , HLT = RE , checkPV = False , algos = [ orl ] , RequiredRawEvents = ["Trigger", "Muon", "Calo", "Rich", "Velo", "Tracker"]) self.registerLine( line ) return line