ATLAS Offline Software
Simulation
Digitization
MCTruthSimAlgs
src
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
7
#include "
PileUpTools/IPileUpTool.h
"
8
9
MergeHijingPars::MergeHijingPars
(
const
std::string&
name
, ISvcLocator* svcLoc)
10
:
AthAlgorithm
(
name
, svcLoc)
11
{
12
}
13
14
StatusCode
MergeHijingPars::initialize
() {
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
21
StatusCode
MergeHijingPars::execute
() {
22
ATH_MSG_DEBUG
(
"execute()"
);
23
return
m_mergeTool
->processAllSubEvents(Gaudi::Hive::currentContext());
24
}
MergeHijingPars::initialize
StatusCode initialize() override final
Definition:
MergeHijingPars.cxx:14
MergeHijingPars::execute
StatusCode execute() override final
Definition:
MergeHijingPars.cxx:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition:
AthMsgStreamMacros.h:29
MergeHijingPars::m_mergeTool
ToolHandle< IPileUpTool > m_mergeTool
Definition:
MergeHijingPars.h:30
IPileUpTool.h
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
ATH_CHECK
#define ATH_CHECK
Definition:
AthCheckMacros.h:40
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
MergeHijingPars.h
MergeHijingPars::MergeHijingPars
MergeHijingPars(const std::string &name, ISvcLocator *svcLoc)
Definition:
MergeHijingPars.cxx:9
Generated on Thu Nov 7 2024 21:20:55 for ATLAS Offline Software by
1.8.18