ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecoTools
CaloRingerTools
src
CaloRingerInputReader.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id: CaloRingerInputReader.cxx 667886 2015-05-18 17:26:59Z wsfreund $
6
// =============================================================================
7
#include "
CaloRingerInputReader.h
"
8
9
#include "
AthenaKernel/errorcheck.h
"
10
11
namespace
Ringer
{
12
13
// =============================================================================
14
CaloRingerInputReader::CaloRingerInputReader
(
const
std::string&
type
,
15
const
std::string& name,
16
const ::IInterface* parent)
17
:
AthAlgTool
(
type
, name, parent)
18
{
19
20
// declare interface
21
declareInterface<ICaloRingerInputReader>(
this
);
22
23
}
24
25
// =============================================================================
26
CaloRingerInputReader::~CaloRingerInputReader
()
27
=
default
;
28
29
// =============================================================================
30
StatusCode
CaloRingerInputReader::initialize
()
31
{
32
33
ATH_MSG_DEBUG
(
"Initializing "
<< name() <<
""
);
34
35
if
(
m_builderAvailable
) {
36
CHECK
(
m_crBuilder
.retrieve() );
37
}
38
39
m_builderAvailable
= !
m_crBuilder
.empty();
40
41
return
StatusCode::SUCCESS;
42
}
43
44
// =============================================================================
45
StatusCode
CaloRingerInputReader::finalize
()
46
{
47
return
StatusCode::SUCCESS;
48
}
49
50
// =============================================================================
51
StatusCode
CaloRingerInputReader::execute
()
52
{
53
return
StatusCode::SUCCESS;
54
}
55
56
}
// namespace Ringer
57
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
CaloRingerInputReader.h
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
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
Ringer::CaloRingerInputReader::m_crBuilder
PublicToolHandle< ICaloRingsBuilder > m_crBuilder
Tool CaloRingerInputReader props (python configurables):
Definition
CaloRingerInputReader.h:68
Ringer::CaloRingerInputReader::m_builderAvailable
Gaudi::Property< bool > m_builderAvailable
Tool CaloRingerInputReader props (non configurables):If CaloRings builder is available.
Definition
CaloRingerInputReader.h:75
Ringer::CaloRingerInputReader::finalize
virtual StatusCode finalize() override
finalize method
Definition
CaloRingerInputReader.cxx:45
Ringer::CaloRingerInputReader::~CaloRingerInputReader
~CaloRingerInputReader()
Destructor.
Ringer::CaloRingerInputReader::CaloRingerInputReader
CaloRingerInputReader(const std::string &type, const std::string &name, const ::IInterface *parent)
Default constructor.
Definition
CaloRingerInputReader.cxx:14
Ringer::CaloRingerInputReader::initialize
virtual StatusCode initialize() override
Tool main methods:
Definition
CaloRingerInputReader.cxx:30
Ringer::CaloRingerInputReader::execute
virtual StatusCode execute() override
execute method
Definition
CaloRingerInputReader.cxx:51
Ringer
Namespace dedicated for Ringer utilities.
Definition
CaloRingsDefs.h:9
type
Generated on
for ATLAS Offline Software by
1.17.0