ATLAS Offline Software
ForwardDetectors
AFP
AFP_Raw2Digi
src
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
5
#include "
AthenaKernel/errorcheck.h
"
6
7
// AFP_Raw2Digi includes
8
#include "
AFP_Raw2Digi/AFP_Raw2Digi.h
"
9
#include "
xAODForward/AFPSiHit.h
"
10
#include "
xAODForward/AFPSiHitContainer.h
"
11
#include "
xAODForward/AFPSiHitAuxContainer.h
"
12
13
AFP_Raw2Digi::AFP_Raw2Digi
(
const
std::string &
name
, ISvcLocator *pSvcLocator)
14
:
AthReentrantAlgorithm
(
name
, pSvcLocator)
15
{
16
}
17
18
AFP_Raw2Digi::~AFP_Raw2Digi
() {}
19
20
StatusCode
AFP_Raw2Digi::initialize
() {
21
ATH_MSG_INFO
(
"Initializing "
<<
name
() <<
"..."
);
22
23
CHECK
(
m_DigiTool
.retrieve() );
24
25
return
StatusCode::SUCCESS;
26
}
27
28
StatusCode
AFP_Raw2Digi::finalize
() {
29
ATH_MSG_INFO
(
"Finalizing "
<<
name
() <<
"..."
);
30
31
return
StatusCode::SUCCESS;
32
}
33
34
StatusCode
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
}
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition:
AthMsgStreamMacros.h:31
AFP_Raw2Digi::initialize
virtual StatusCode initialize()
Definition:
AFP_Raw2Digi.cxx:20
AFP_Raw2Digi::m_DigiTool
ToolHandle< IAFP_Raw2DigiTool > m_DigiTool
Definition:
AFP_Raw2Digi.h:33
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
AFP_Raw2Digi::~AFP_Raw2Digi
virtual ~AFP_Raw2Digi()
Does nothing.
Definition:
AFP_Raw2Digi.cxx:18
AFP_Raw2Digi::AFP_Raw2Digi
AFP_Raw2Digi(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
AFP_Raw2Digi.cxx:13
AFPSiHitAuxContainer.h
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
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition:
Control/AthenaKernel/AthenaKernel/errorcheck.h:422
AFPSiHit.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
errorcheck.h
Helpers for checking error return status codes and reporting errors.
AFP_Raw2Digi::finalize
virtual StatusCode finalize()
Definition:
AFP_Raw2Digi.cxx:28
AFPSiHitContainer.h
AFP_Raw2Digi.h
AFP_Raw2Digi::execute
virtual StatusCode execute(const EventContext &ctx) const
Executes commands in #m_digitool.
Definition:
AFP_Raw2Digi.cxx:34
Generated on Sun Dec 22 2024 21:06:42 for ATLAS Offline Software by
1.8.18