ATLAS Offline Software
PerfMonTestVectorAlg.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_PERFMONTESTVECTORALG_H
12 #define PERFMONTESTS_PERFMONTESTVECTORALG_H
13 
14 #include <map>
16 
17 namespace PerfMonTest {
18  class IHit;
19 class VectorAlg : public AthAlgorithm
20 {
21 
23  // Public methods:
25  public:
26 
28  VectorAlg( const std::string& name, ISvcLocator* pSvcLocator );
29 
31  virtual ~VectorAlg();
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  BooleanProperty m_mapIt;
45  std::map<int,IHit*> m_mixMap;
46 
47 
52 };
53 } //> end namespace PerfMonTest
54 
55 #endif //> PERFMONTESTS_PERFMONTESTPVECTORALG_H
56 
SGout2dot.alg
alg
Definition: SGout2dot.py:243
PerfMonTest::VectorAlg::m_mapIt
BooleanProperty m_mapIt
Property to introduce some fragmentation.
Definition: PerfMonTestVectorAlg.h:44
PerfMonTest::VectorAlg::execute
virtual StatusCode execute()
Definition: PerfMonTestVectorAlg.cxx:56
PerfMonTest::VectorAlg::operator=
VectorAlg & operator=(const VectorAlg &alg)
no implementation
AthAlgorithm.h
PerfMonTest::VectorAlg::m_vectorSize
IntegerProperty m_vectorSize
Property to setup the size of the Hit container.
Definition: PerfMonTestVectorAlg.h:40
PerfMonTest::VectorAlg::~VectorAlg
virtual ~VectorAlg()
Destructor:
Definition: PerfMonTestVectorAlg.cxx:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PerfMonTest::VectorAlg::finalize
virtual StatusCode finalize()
Definition: PerfMonTestVectorAlg.cxx:50
PerfMonTest
PerfMonTestPolyVectorAlg.h Example for the memory optimization tutorial.
Definition: Control/PerformanceMonitoring/PerfMonTests/src/Hit.h:7
PerfMonTest::VectorAlg::VectorAlg
VectorAlg()
no implementation
AthAlgorithm
Definition: AthAlgorithm.h:47
PerfMonTest::VectorAlg::initialize
virtual StatusCode initialize()
Definition: PerfMonTestVectorAlg.cxx:44
PerfMonTest::VectorAlg::m_mixMap
std::map< int, IHit * > m_mixMap
Definition: PerfMonTestVectorAlg.h:45
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
PerfMonTest::VectorAlg::m_2bReserved
IntegerProperty m_2bReserved
Property to setup the amount of elements to reserve.
Definition: PerfMonTestVectorAlg.h:42
PerfMonTest::VectorAlg
Definition: PerfMonTestVectorAlg.h:20