Commit d30faeb4 authored by gerbaudo's avatar gerbaudo
Browse files

Add components, first try at defining the chain

Details:
as suggested by @nakahama on ATR-17089 #comment-1713193

Former-commit-id: 74cbad52
parent 6183df6a
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
from TrigGenericAlgs.TrigGenericAlgsConf import OverlapRemoval, MergeTopoStarts, L1CorrelationAlgo, DetectorTimingAlgo
from TrigGenericAlgs.TrigGenericAlgsConf import OverlapRemoval, MergeTopoStarts, L1CorrelationAlgo, DetectorTimingAlgo, AcceptL1TopoMonitor
from TrigMonitorBase.TrigGenericMonitoringToolConfig import defineHistogram, TrigGenericMonitoringToolConfig
class OverlapRemovalConfig(OverlapRemoval):
......@@ -38,3 +38,7 @@ class DetectorTimingAlgoConfig(DetectorTimingAlgo):
from TrigGenericAlgs.TrigGenericAlgsMonitoring import DetectorTimingAlgoMonitoring
validationMon = DetectorTimingAlgoMonitoring()
self.AthenaMonTools = [ validationMon ]
class AcceptL1TopoMonitorConfig(AcceptL1TopoMonitor):
def __init__(self, name="AcceptL1TopoMonitorDefault", **kwargs):
super(AcceptL1TopoMonitorConfig , self ).__init__(name)
......@@ -16,6 +16,7 @@
#include "../AcceptAnyInput.h"
#include "../TrigRoiUpdater.h"
#include "../MergeTopoStarts.h"
#include "../AcceptL1TopoMonitor.h"
using namespace PESA;
......@@ -37,6 +38,7 @@ DECLARE_ALGORITHM_FACTORY( AcceptAnyInput )
DECLARE_ALGORITHM_FACTORY( SeededSuperRoiAllTEAlgo )
DECLARE_ALGORITHM_FACTORY( TrigRoiUpdater )
DECLARE_ALGORITHM_FACTORY( MergeTopoStarts )
DECLARE_ALGORITHM_FACTORY( AcceptL1TopoMonitor )
DECLARE_FACTORY_ENTRIES(TrigGenericAlgs) {
......@@ -57,4 +59,5 @@ DECLARE_FACTORY_ENTRIES(TrigGenericAlgs) {
DECLARE_ALGORITHM( SeededSuperRoiAllTEAlgo )
DECLARE_ALGORITHM( TrigRoiUpdater )
DECLARE_ALGORITHM( MergeTopoStarts )
DECLARE_ALGORITHM( AcceptL1TopoMonitor )
}
......@@ -46,6 +46,8 @@ class L2EFChain_Monitoring(L2EFChainDef):
self.setupCSCMonChain()
elif ('l1calooverflow' in self.monType):
self.setupL1CaloOverflow()
elif ('l1topotransmission' in self.monType):
self.setupL1TopoTransmission()
else:
log.error("No suitable configuration for chain %s found!" % self.chainName)
......@@ -222,7 +224,14 @@ class L2EFChain_Monitoring(L2EFChainDef):
CaloOverflowMonitor = TrigL1CaloOverflow("TrigL1CaloOverflow")
self.L2sequenceList += [[ '' , [CaloOverflowMonitor], 'L2_l1calooverflow']]
self.L2signatureList += [ [['L2_l1calooverflow']] ]
####################################
####################################
def setupL1TopoTransmission(self):
from TrigGenericAlgs.TrigGenericAlgsConf import AcceptL1TopoMonitor
l1topodebug = AcceptL1TopoMonitor('L1TopoAcceptDebug')
self.L2sequenceList += [[ '' , [l1topodebug], 'L2_l1topodebug']]
self.L2signatureList += [ [['L2_l1topodebug']] ]
####################################
####################################
def setupIdmonTrkFS(self):
......
......@@ -4198,6 +4198,7 @@ def setupMenu():
TriggerFlags.MonitorSlice.signatures = [
['l1calooverflow','', [], ['L1Calo'], ['RATE:Monitoring','BW:Other'], -1],
['l1topodebug', 'L1_Topo', [], ['L1TopoDebugPEB'], ['RATE:Monitoring','BW:Other'], -1],
## # enhancedbias
['mistimemonl1bccorr', '', [], ['Mistimed'], ["RATE:Monitoring","BW:Other"], -1],
......
......@@ -54,7 +54,8 @@ calibStreams = [
'BphysPEB',
'RPCNoise',
'IDprescaledL1',
'LArPEB'
'LArPEB',
'L1TopoDebugPEB'
]
##NOTE: DataScouting_xx_NAME:
......
Supports Markdown
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