9#ifndef PERFMONTESTS_PERFMONTESTPOLYVECTORALGWITHARENAS_H
10#define PERFMONTESTS_PERFMONTESTPOLYVECTORALGWITHARENAS_H
26 virtual StatusCode
execute()
override;
30 Gaudi::Property<int>
m_vectorSize{
this,
"VectorSize", 1024 * 1024,
"the size of the Hit container"};
32 Gaudi::Property<int>
m_2bReserved{
this,
"ToBeReserved", 1024 * 1024,
"the number of elements to be reserved"};
34 Gaudi::Property<int>
m_mixture{
this,
"Mixture", 1,
"equal to the ratio DHIT/FHIT - 1 (default 1 == all DHits)"};
36 Gaudi::Property<bool>
m_mapIt{
this,
"MapIt",
false,
"add current hit to a map"};
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::map< int, IHit * > m_mixMap
Gaudi::Property< int > m_2bReserved
Property to setup the amount of elements to reserve.
virtual StatusCode execute() override
Gaudi::Property< int > m_mixture
Property to set DHIT/FHIT ratio.
Gaudi::Property< bool > m_mapIt
Property to introduce some fragmentation.
Gaudi::Property< int > m_vectorSize
Property to setup the size of the Hit container.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
PerfMonTestPolyVectorAlg.h Example for the memory optimization tutorial.