ATLAS Offline Software
Loading...
Searching...
No Matches
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//----------------------------------------------------------------------
25TileHitVecToCnt::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}
#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:
virtual StatusCode initialize() override
Basic algorithm methods.
TileHitVecToCnt(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
ToolHandle< IPileUpTool > m_digTool
virtual StatusCode execute() override