ATLAS Offline Software
PerfMonTestPolyVectorAlgWithArenas.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef PERFMONTESTS_PERFMONTESTPOLYVECTORALGWITHARENAS_H
12 #define PERFMONTESTS_PERFMONTESTPOLYVECTORALGWITHARENAS_H
13 
14 #include <map>
16 
17 namespace PerfMonTest {
18 class IHit;
20 {
21 
23  // Public methods:
25  public:
26 
28  PolyVectorAlgWithArenas( const std::string& name, ISvcLocator* pSvcLocator );
29 
31  virtual ~PolyVectorAlgWithArenas();
32 
33  // Athena algorithm's Hooks
34  virtual StatusCode initialize();
35  virtual StatusCode execute();
36  virtual StatusCode finalize();
37 
38  private:
40  IntegerProperty m_vectorSize;
42  IntegerProperty m_2bReserved;
44  IntegerProperty m_mixture;
46  BooleanProperty m_mapIt;
47  std::map<int,IHit*> m_mixMap;
48 
49 
54 };
55 } //> end namespace PerfMonTest
56 
57 #endif //> PERFMONTESTS_PERFMONTESTPPOLYVECTORALG_H
58 
PerfMonTest::PolyVectorAlgWithArenas::~PolyVectorAlgWithArenas
virtual ~PolyVectorAlgWithArenas()
Destructor:
Definition: PerfMonTestPolyVectorAlgWithArenas.cxx:37
PerfMonTest::PolyVectorAlgWithArenas::PolyVectorAlgWithArenas
PolyVectorAlgWithArenas()
no implementation
SGout2dot.alg
alg
Definition: SGout2dot.py:243
PerfMonTest::PolyVectorAlgWithArenas::m_2bReserved
IntegerProperty m_2bReserved
Property to setup the amount of elements to reserve.
Definition: PerfMonTestPolyVectorAlgWithArenas.h:42
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PerfMonTest
PerfMonTestPolyVectorAlg.h Example for the memory optimization tutorial.
Definition: Control/PerformanceMonitoring/PerfMonTests/src/Hit.h:7
PerfMonTest::PolyVectorAlgWithArenas::operator=
PolyVectorAlgWithArenas & operator=(const PolyVectorAlgWithArenas &alg)
no implementation
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
PerfMonTest::PolyVectorAlgWithArenas::m_mixture
IntegerProperty m_mixture
Property to set DHIT/FHIT ratio.
Definition: PerfMonTestPolyVectorAlgWithArenas.h:44
PerfMonTest::PolyVectorAlgWithArenas::execute
virtual StatusCode execute()
Definition: PerfMonTestPolyVectorAlgWithArenas.cxx:56
PerfMonTest::PolyVectorAlgWithArenas::m_mapIt
BooleanProperty m_mapIt
Property to introduce some fragmentation.
Definition: PerfMonTestPolyVectorAlgWithArenas.h:46
PerfMonTest::PolyVectorAlgWithArenas::m_mixMap
std::map< int, IHit * > m_mixMap
Definition: PerfMonTestPolyVectorAlgWithArenas.h:47
PerfMonTest::PolyVectorAlgWithArenas::finalize
virtual StatusCode finalize()
Definition: PerfMonTestPolyVectorAlgWithArenas.cxx:50
PerfMonTest::PolyVectorAlgWithArenas
Definition: PerfMonTestPolyVectorAlgWithArenas.h:20
PerfMonTest::PolyVectorAlgWithArenas::m_vectorSize
IntegerProperty m_vectorSize
Property to setup the size of the Hit container.
Definition: PerfMonTestPolyVectorAlgWithArenas.h:40
PerfMonTest::PolyVectorAlgWithArenas::initialize
virtual StatusCode initialize()
Definition: PerfMonTestPolyVectorAlgWithArenas.cxx:44