Skip to content
Snippets Groups Projects
Commit e4295f07 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

EventInfoCnvAlg: Remove beginRun method

Remove the use of the deprecated `beginRun` method. The now obsolete
`DoBeginRun` property will be removed in a follow-up commit.
parent 2ead4c70
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,6 @@
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
// $Id: EventInfoCnvAlg.cxx 751296 2016-06-01 08:00:25Z krasznaa $
// System include(s):
#include <memory>
......@@ -159,29 +158,4 @@ namespace xAODMaker {
return StatusCode::SUCCESS;
}
StatusCode EventInfoCnvAlg::beginRun() {
if(m_doBeginRun && !Gaudi::Concurrency::ConcurrencyFlags::concurrent()) {
// Let the user know what's happening:
ATH_MSG_DEBUG( "Preparing xAOD::EventInfo object in beginRun()" );
// Run the conversion using the execute function:
CHECK( execute (Gaudi::Hive::currentContext()) );
}
else {
// Supress warning about use of beginRun().
#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
CHECK( Algorithm::beginRun() );
#ifdef __GNUC__
# pragma GCC diagnostic pop
#endif
}
// Return gracefully:
return StatusCode::SUCCESS;
}
} // namespace xAODMaker
// Dear emacs, this is -*- c++ -*-
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
// $Id: EventInfoCnvAlg.h 751296 2016-06-01 08:00:25Z krasznaa $
#ifndef XAODEVENTINFOCNV_EVENTINFOCNVALG_H
#define XAODEVENTINFOCNV_EVENTINFOCNVALG_H
......@@ -31,9 +28,6 @@ namespace xAODMaker {
* from an input (AOD) POOL file into an xAOD::EventInfo object.
*
* @author Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
*
* $Revision: 751296 $
* $Date: 2016-06-01 10:00:25 +0200 (Wed, 01 Jun 2016) $
*/
class EventInfoCnvAlg : public AthReentrantAlgorithm {
......@@ -46,10 +40,6 @@ namespace xAODMaker {
/// Function executing the algorithm
virtual StatusCode execute (const EventContext& ctx) const override;
/// Function executed at the beginning of the job, once the first event
/// from the input file is already open
virtual StatusCode beginRun() override;
private:
/// Key for the input object
/// If blank, we do a keyless retrieve from SG instead!
......
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