ATLAS Offline Software
Control
PerformanceMonitoring
PerfMonTests
src
PerfMonTestNoopAlg.cxx
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// PerfMonTestNoopAlg.cxx
8
// Implementation file for class PerfMonTest::NoopAlg
9
// Author: S.Binet<binet@cern.ch>
11
12
13
// STL includes
14
15
// FrameWork includes
16
#include "Gaudi/Property.h"
17
18
// PerfMonTests includes
19
#include "
PerfMonTestNoopAlg.h
"
20
21
using namespace
PerfMonTest
;
22
24
// Public methods:
26
27
// Constructors
29
NoopAlg::NoopAlg
(
const
std::string&
name
,
30
ISvcLocator* pSvcLocator ) :
31
AthAlgorithm
(
name
, pSvcLocator )
32
{
33
//
34
// Property declaration
35
//
36
//declareProperty( "Property", m_nProperty );
37
38
}
39
40
// Destructor
42
NoopAlg::~NoopAlg
()
43
{
44
ATH_MSG_DEBUG
(
"Calling destructor"
) ;
45
}
46
47
// Athena Algorithm's Hooks
49
StatusCode
NoopAlg::initialize
()
50
{
51
ATH_MSG_INFO
(
"Initializing "
<<
name
() <<
"..."
) ;
52
53
// Get pointer to StoreGateSvc and cache it :
54
ATH_CHECK
(
evtStore
().
retrieve
() );
55
return
StatusCode::SUCCESS;
56
}
57
58
StatusCode
NoopAlg::finalize
()
59
{
60
ATH_MSG_INFO
(
"Finalizing "
<<
name
() <<
"..."
) ;
61
62
return
StatusCode::SUCCESS;
63
}
64
65
StatusCode
NoopAlg::execute
()
66
{
67
ATH_MSG_DEBUG
(
"Executing "
<<
name
() <<
"..."
) ;
68
69
return
StatusCode::SUCCESS;
70
}
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition:
PyKernel.py:110
PerfMonTest::NoopAlg::finalize
virtual StatusCode finalize()
Definition:
PerfMonTestNoopAlg.cxx:58
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition:
AthMsgStreamMacros.h:31
AthCommonDataStore< AthCommonMsg< Algorithm > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition:
AthCommonDataStore.h:85
PerfMonTest::NoopAlg::execute
virtual StatusCode execute()
Definition:
PerfMonTestNoopAlg.cxx:65
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
PerfMonTest::NoopAlg::NoopAlg
NoopAlg()
Default constructor:
PerfMonTest
PerfMonTestPolyVectorAlg.h Example for the memory optimization tutorial.
Definition:
Control/PerformanceMonitoring/PerfMonTests/src/Hit.h:7
ATH_CHECK
#define ATH_CHECK
Definition:
AthCheckMacros.h:40
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
PerfMonTestNoopAlg.h
PerfMonTest::NoopAlg::initialize
virtual StatusCode initialize()
Definition:
PerfMonTestNoopAlg.cxx:49
PerfMonTest::NoopAlg::~NoopAlg
virtual ~NoopAlg()
Destructor:
Definition:
PerfMonTestNoopAlg.cxx:42
Generated on Fri Nov 8 2024 21:23:31 for ATLAS Offline Software by
1.8.18