ATLAS Offline Software
Loading...
Searching...
No Matches
MergeHijingPars.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include "MergeHijingPars.h"
6
8
9MergeHijingPars::MergeHijingPars(const std::string& name, ISvcLocator* svcLoc)
10 : AthAlgorithm(name, svcLoc)
11{
12}
13
15 ATH_MSG_DEBUG ( "Initializing " << name() );
16 ATH_CHECK(m_mergeTool.retrieve());
17 ATH_MSG_DEBUG("Retrieved MergeHijingParsTool (" << m_mergeTool->name() << ").");
18 return StatusCode::SUCCESS;
19}
20
21StatusCode MergeHijingPars::execute(const EventContext& ctx) {
22 ATH_MSG_DEBUG("execute()");
23 return m_mergeTool->processAllSubEvents(ctx);
24}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
StatusCode initialize() override final
StatusCode execute(const EventContext &ctx) override final
Execute method.
ToolHandle< IPileUpTool > m_mergeTool
MergeHijingPars(const std::string &name, ISvcLocator *svcLoc)