ATLAS Offline Software
Loading...
Searching...
No Matches
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// =============================================================================
8
10
11namespace Ringer {
12
13// =============================================================================
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// =============================================================================
27= default;
28
29// =============================================================================
31{
32
33 ATH_MSG_DEBUG("Initializing " << name() << "");
34
35 if ( m_builderAvailable ) {
36 CHECK( m_crBuilder.retrieve() );
37 }
38
40
41 return StatusCode::SUCCESS;
42}
43
44// =============================================================================
46{
47 return StatusCode::SUCCESS;
48}
49
50// =============================================================================
52{
53 return StatusCode::SUCCESS;
54}
55
56} // namespace Ringer
57
#define ATH_MSG_DEBUG(x)
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
PublicToolHandle< ICaloRingsBuilder > m_crBuilder
Tool CaloRingerInputReader props (python configurables):
Gaudi::Property< bool > m_builderAvailable
Tool CaloRingerInputReader props (non configurables):If CaloRings builder is available.
virtual StatusCode finalize() override
finalize method
CaloRingerInputReader(const std::string &type, const std::string &name, const ::IInterface *parent)
Default constructor.
virtual StatusCode initialize() override
Tool main methods:
virtual StatusCode execute() override
execute method
Namespace dedicated for Ringer utilities.