ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
}
AFPSiHitAuxContainer.h
AFPSiHitContainer.h
AFPSiHit.h
AFP_Raw2Digi.h
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition
AthMsgStreamMacros.h:31
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
errorcheck.h
Helpers for checking error return status codes and reporting errors.
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition
Control/AthenaKernel/AthenaKernel/errorcheck.h:422
AFP_Raw2Digi::m_DigiTool
ToolHandle< IAFP_Raw2DigiTool > m_DigiTool
Definition
AFP_Raw2Digi.h:33
AFP_Raw2Digi::execute
virtual StatusCode execute(const EventContext &ctx) const
Executes commands in m_digitool.
Definition
AFP_Raw2Digi.cxx:34
AFP_Raw2Digi::finalize
virtual StatusCode finalize()
Definition
AFP_Raw2Digi.cxx:28
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
AFP_Raw2Digi::initialize
virtual StatusCode initialize()
Definition
AFP_Raw2Digi.cxx:20
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
Generated on
for ATLAS Offline Software by
1.17.0