ATLAS Offline Software
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 
11 namespace Ringer {
12 
13 // =============================================================================
15  const std::string& name,
16  const ::IInterface* 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 
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::m_crBuilder
PublicToolHandle< ICaloRingsBuilder > m_crBuilder
Tool CaloRingerInputReader props (python configurables):
Definition: CaloRingerInputReader.h:68
Ringer::CaloRingerInputReader::finalize
virtual StatusCode finalize() override
finalize method
Definition: CaloRingerInputReader.cxx:45
Ringer::CaloRingerInputReader::CaloRingerInputReader
CaloRingerInputReader(const std::string &type, const std::string &name, const ::IInterface *parent)
Default constructor.
Definition: CaloRingerInputReader.cxx:14
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
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
errorcheck.h
Helpers for checking error return status codes and reporting errors.
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloRingerInputReader.h
Ringer::CaloRingerInputReader::execute
virtual StatusCode execute() override
execute method
Definition: CaloRingerInputReader.cxx:51
AthAlgTool
Definition: AthAlgTool.h:26
Ringer::CaloRingerInputReader::initialize
virtual StatusCode initialize() override
Tool main methods:
Definition: CaloRingerInputReader.cxx:30
Ringer::CaloRingerInputReader::~CaloRingerInputReader
~CaloRingerInputReader()
Destructor.
Ringer
Namespace dedicated for Ringer utilities.
Definition: CaloRingsDefs.h:9