|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #include "Gaudi/Property.h"
30 ISvcLocator* pSvcLocator ) :
40 "Size of 'Leak' objects to be leaked each event" );
44 "Number of 'Leak' objects to be leaked each event" );
69 return StatusCode::SUCCESS;
75 return StatusCode::SUCCESS;
83 return StatusCode::SUCCESS;
86 for (
int ileak = 0; ileak <
m_nbrLeaks; ++ileak) {
89 for ( std::size_t
i = 0;
i !=
static_cast<std::size_t
>(
m_leakSize); ++
i ) {
96 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
std::list< Leak * > m_leaks
container to hold the leaked objects
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
int m_nbrLeaks
nbr of Leak objects
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode finalize()
int m_leakSize
Property to setup the size of the leak.
::StatusCode StatusCode
StatusCode definition for legacy code.
PerfMonTestPolyVectorAlg.h Example for the memory optimization tutorial.
std::vector< int > m_data
virtual StatusCode initialize()
LeakyAlg()
Default constructor:
virtual StatusCode execute()
virtual ~LeakyAlg()
Destructor: