ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileSimAlgs
src
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
19
#include "
TileSimAlgs/TileHitVecToCnt.h
"
20
#include "
PileUpTools/IPileUpTool.h
"
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
//----------------------------------------------------------------------
33
StatusCode
TileHitVecToCnt::initialize
() {
34
ATH_CHECK
(
m_digTool
.retrieve());
35
ATH_MSG_DEBUG
(
"Retrieved ITileHitVecToCntTool."
);
36
return
StatusCode::SUCCESS;
37
}
38
39
//----------------------------------------------------------------------
40
// Execute method:
41
//----------------------------------------------------------------------
42
StatusCode
TileHitVecToCnt::execute
(
const
EventContext& ctx) {
43
ATH_MSG_DEBUG
(
"execute()"
);
44
return
m_digTool
->processAllSubEvents(ctx);
45
}
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
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.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
TileHitVecToCnt::initialize
virtual StatusCode initialize() override
Basic algorithm methods.
Definition
TileHitVecToCnt.cxx:33
TileHitVecToCnt::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
TileHitVecToCnt.cxx:42
TileHitVecToCnt::TileHitVecToCnt
TileHitVecToCnt(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
Definition
TileHitVecToCnt.cxx:25
TileHitVecToCnt::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition
TileHitVecToCnt.h:59
Generated on
for ATLAS Offline Software by
1.17.0