From f6d128a0d19811f1fa9d512d77c55ceacd313bc8 Mon Sep 17 00:00:00 2001 From: Frank Winklmeier <frank.winklmeier@cern.ch> Date: Mon, 30 Jul 2018 13:21:37 +0200 Subject: [PATCH] AcceptL1TopoMonitor: move monitoring code from hltBeginRun to hltStart beginRun is deprecated and since this monitoring code is not run number dependent, start() is the right place. --- .../TrigGenericAlgs/src/AcceptL1TopoMonitor.cxx | 4 ++-- .../TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.cxx b/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.cxx index b86ad0118f3..d70c2b56b3d 100644 --- a/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.cxx +++ b/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ #include "AcceptL1TopoMonitor.h" @@ -317,7 +317,7 @@ bool AcceptL1TopoMonitor::bookAndRegisterHist(ServiceHandle<ITHistSvc>& rootHist return true; } //---------------------------------------------------------- -HLT::ErrorCode AcceptL1TopoMonitor::hltBeginRun() +HLT::ErrorCode AcceptL1TopoMonitor::hltStart() { ATH_MSG_INFO ("beginRun"); ServiceHandle<ITHistSvc> rootHistSvc("THistSvc", name()); diff --git a/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.h b/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.h index fe8954f6d04..7726e8ee4a6 100644 --- a/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.h +++ b/Trigger/TrigAlgorithms/TrigGenericAlgs/src/AcceptL1TopoMonitor.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ #ifndef TRIGGENERICALGS_ACCEPTL1TOPOMONITOR_H @@ -66,7 +66,7 @@ public: HLT::ErrorCode hltInitialize(); HLT::ErrorCode hltExecute(std::vector<HLT::TEVec>&, unsigned int outputTeType); HLT::ErrorCode hltFinalize(); - HLT::ErrorCode hltBeginRun(); + HLT::ErrorCode hltStart(); HLT::ErrorCode hltStop(); private: static const unsigned int m_nTopoCTPOutputs = 128; //! Number of CTP outputs, used for histogram ranges and loops -- GitLab