ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_Raw2Digi.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7// AFP_Raw2Digi includes
12
13AFP_Raw2Digi::AFP_Raw2Digi(const std::string &name, ISvcLocator *pSvcLocator)
14 : AthReentrantAlgorithm(name, pSvcLocator)
15{
16}
17
19
21 ATH_MSG_INFO("Initializing " << name() << "...");
22
23 CHECK( m_DigiTool.retrieve() );
24
25 return StatusCode::SUCCESS;
26}
27
29 ATH_MSG_INFO("Finalizing " << name() << "...");
30
31 return StatusCode::SUCCESS;
32}
33
34StatusCode AFP_Raw2Digi::execute(const EventContext &ctx) const{
35
36 ATH_MSG_DEBUG("Executing " << name() << "...");
37
38 CHECK (m_DigiTool->recoAll(ctx) );
39
40 return StatusCode::SUCCESS;
41}
#define ATH_MSG_INFO(x)
#define ATH_MSG_DEBUG(x)
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
ToolHandle< IAFP_Raw2DigiTool > m_DigiTool
virtual StatusCode execute(const EventContext &ctx) const
Executes commands in m_digitool.
virtual StatusCode finalize()
virtual ~AFP_Raw2Digi()
Does nothing.
AFP_Raw2Digi(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize()
An algorithm that can be simultaneously executed in multiple threads.