ATLAS Offline Software
Loading...
Searching...
No Matches
MergeCalibHits.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 "MergeCalibHits.h"
6
8
9MergeCalibHits::MergeCalibHits(const std::string& name,
10 ISvcLocator* svcLoc)
11 : AthAlgorithm(name, svcLoc)
12{
13}
14
16 ATH_MSG_DEBUG ( "Initializing " << name() );
17 ATH_CHECK(m_mergeTool.retrieve());
18 ATH_MSG_DEBUG("Retrieved MergeCalibHitsTool (" << m_mergeTool->name() << ").");
19 return StatusCode::SUCCESS;
20}
21
23 ATH_MSG_DEBUG("execute()");
24 return m_mergeTool->processAllSubEvents(Gaudi::Hive::currentContext());
25}
#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 with parameters:
MergeCalibHits(const std::string &name, ISvcLocator *svcLoc)
ToolHandle< IPileUpTool > m_mergeTool
virtual StatusCode execute() override final
virtual StatusCode initialize() override final