Skip to content
Snippets Groups Projects
Commit 58cd85d6 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'fix-pebds-test' into 'master'

Fix etaMax bug in RoIPEBInfoWriterTool and the PEBDS test configuration

Closes ATR-23341 and ATR-23857

See merge request !45664
parents c8b6cf84 ae22f140
5 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45664Fix etaMax bug in RoIPEBInfoWriterTool and the PEBDS test configuration
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
#include "RoIPEBInfoWriterTool.h"
......@@ -51,7 +51,7 @@ PEBInfoWriterToolBase::PEBInfo RoIPEBInfoWriterTool::createPEBInfo(const PEBInfo
}
// Restrict the eta range
etaMin = std::max(-m_etaEdge.value(), etaMin);
etaMax = std::min( m_etaEdge.value(), etaMin);
etaMax = std::min( m_etaEdge.value(), etaMax);
float phi = (*input.roiEL)->phi();
float phiMin = CxxUtils::wrapToPi(phi - m_phiWidth); // range (-pi, pi)
......
#
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
#
'''
......@@ -10,13 +10,12 @@ and executes several chains testing various types of Partial Event Building and
from TrigEDMConfig import DataScoutingInfo, TriggerEDMRun3
from TriggerMenuMT.HLTMenuConfig.Menu import LS2_v1, EventBuildingInfo, StreamInfo
from TriggerMenuMT.HLTMenuConfig.Menu.ChainDefInMenu import ChainProp
from TriggerMenuMT.HLTMenuConfig.Menu.GenerateMenuMT import GenerateMenuMT
from TriggerMenuMT.HLTMenuConfig.CommonSequences import EventBuildingSequences
from TrigPartialEventBuilding.TrigPartialEventBuildingConfig import StaticPEBInfoWriterToolCfg, RoIPEBInfoWriterToolCfg
from TriggerJobOpts.TriggerFlags import TriggerFlags
from libpyeformat_helper import SubDetector
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaCommon.AlgSequence import dumpSequence
from AthenaCommon.Include import include
from AthenaCommon.Logging import logging
log = logging.getLogger('dataScoutingTest')
......@@ -87,6 +86,7 @@ def myPebInfoWriterTool(name, eventBuildType):
tool.EtaEdge = 5.0
tool.EtaWidth = 0.1
tool.PhiWidth = 0.1
tool.MaxRoIs = 3
tool.addRegSelDets(['All'])
tool.ExtraROBs = []
tool.ExtraSubDets = []
......@@ -165,10 +165,3 @@ doMuonSlice = True
# Set up everything to run HLT
include('TriggerJobOpts/runHLT_standalone.py') # noqa: F821
# Generate the menu
menu = GenerateMenuMT()
allChainConfigs = menu.generateMT()
# Dump top sequence for debug information
dumpSequence(topSequence) # noqa: F821
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment