ATLAS Offline Software
TileHitVecToCnt.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 //*****************************************************************************
6 // Filename : TileHitVecToCnt.cxx
7 // Author : Alexandre Solodkov
8 // Created : Jan, 2004
9 //
10 // DESCRIPTION:
11 // Implementation comments only. Class level comments go in .h file.
12 //
13 // HISTORY:
14 //
15 // BUGS:
16 //
17 //*****************************************************************************
18 
21 
22 //----------------------------------------------------------------------
23 // Constructor with parameters:
24 //----------------------------------------------------------------------
25 TileHitVecToCnt::TileHitVecToCnt(const std::string &name, ISvcLocator *pSvcLocator) :
26  AthAlgorithm(name, pSvcLocator)
27 {
28 }
29 
30 //----------------------------------------------------------------------
31 // Initialize method:
32 //----------------------------------------------------------------------
34  ATH_CHECK(m_digTool.retrieve());
35  ATH_MSG_DEBUG ( "Retrieved ITileHitVecToCntTool." );
36  return StatusCode::SUCCESS;
37 }
38 
39 //----------------------------------------------------------------------
40 // Execute method:
41 //----------------------------------------------------------------------
43  ATH_MSG_DEBUG ( "execute()" );
44  return m_digTool->processAllSubEvents(Gaudi::Hive::currentContext());
45 }
TileHitVecToCnt.h
TileHitVecToCnt::execute
virtual StatusCode execute() override
Definition: TileHitVecToCnt.cxx:42
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
IPileUpTool.h
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
TileHitVecToCnt::TileHitVecToCnt
TileHitVecToCnt(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
Definition: TileHitVecToCnt.cxx:25
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
TileHitVecToCnt::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition: TileHitVecToCnt.h:59
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TileHitVecToCnt::initialize
virtual StatusCode initialize() override
Basic algorithm methods.
Definition: TileHitVecToCnt.cxx:33