ATLAS Offline Software
PerfMonTestPolyVectorAlg.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_PERFMONTESTPOLYVECTORALG_H
12 #define PERFMONTESTS_PERFMONTESTPOLYVECTORALG_H
13 
14 #include <map>
16 
17 namespace PerfMonTest {
18 class IHit;
20 {
21 
23  // Public methods:
25  public:
26 
28  PolyVectorAlg( const std::string& name, ISvcLocator* pSvcLocator );
29 
31  virtual ~PolyVectorAlg();
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 
50 
55 };
56 } //> end namespace PerfMonTest
57 
58 #endif //> PERFMONTESTS_PERFMONTESTPPOLYVECTORALG_H
59 
SGout2dot.alg
alg
Definition: SGout2dot.py:243
PerfMonTest::PolyVectorAlg::m_mapIt
BooleanProperty m_mapIt
Property to introduce some fragmentation.
Definition: PerfMonTestPolyVectorAlg.h:46
PerfMonTest::PolyVectorAlg::m_2bReserved
IntegerProperty m_2bReserved
Property to setup the amount of elements to reserve.
Definition: PerfMonTestPolyVectorAlg.h:42
PerfMonTest::PolyVectorAlg::PolyVectorAlg
PolyVectorAlg()
no implementation
PerfMonTest::PolyVectorAlg::m_mixture
IntegerProperty m_mixture
Property to set DHIT/FHIT ratio.
Definition: PerfMonTestPolyVectorAlg.h:44
PerfMonTest::PolyVectorAlg
Definition: PerfMonTestPolyVectorAlg.h:20
PerfMonTest::PolyVectorAlg::execute
virtual StatusCode execute()
Definition: PerfMonTestPolyVectorAlg.cxx:57
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::PolyVectorAlg::finalize
virtual StatusCode finalize()
Definition: PerfMonTestPolyVectorAlg.cxx:51
AthAlgorithm
Definition: AthAlgorithm.h:47
PerfMonTest::PolyVectorAlg::operator=
PolyVectorAlg & operator=(const PolyVectorAlg &alg)
no implementation
PerfMonTest::PolyVectorAlg::m_mixMap
std::map< int, IHit * > m_mixMap
Definition: PerfMonTestPolyVectorAlg.h:47
PerfMonTest::PolyVectorAlg::m_vectorSize
IntegerProperty m_vectorSize
Property to setup the size of the Hit container.
Definition: PerfMonTestPolyVectorAlg.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
PerfMonTest::PolyVectorAlg::~PolyVectorAlg
virtual ~PolyVectorAlg()
Destructor:
Definition: PerfMonTestPolyVectorAlg.cxx:38
PerfMonTest::PolyVectorAlg::initialize
virtual StatusCode initialize()
Definition: PerfMonTestPolyVectorAlg.cxx:45