Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SgStressProducer.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // SgStressProducer.h
8 // Header file for class SgStressProducer
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef STOREGATETESTS_SGSTRESSPRODUCER_H
12 #define STOREGATETESTS_SGSTRESSPRODUCER_H
13 
14 // STL includes
15 #include <string>
16 
17 // FrameWork includes
19 #include "GaudiKernel/MsgStream.h"
20 #include "GaudiKernel/ServiceHandle.h"
21 
22 // Forward declaration
23 namespace SgTests { struct PayLoad; }
24 
26 {
27 
29  // Public methods:
31  public:
32 
33  // Copy constructor:
34 
36  SgStressProducer( const std::string& name, ISvcLocator* pSvcLocator );
37 
39  virtual ~SgStressProducer();
40 
41  // Assignment operator:
42  //SgStressProducer &operator=(const SgStressProducer &alg);
43 
44  // Athena algorithm's Hooks
45  virtual StatusCode initialize();
46  virtual StatusCode execute();
47  virtual StatusCode finalize();
48 
50  // Const methods:
52 
54  // Non-const methods:
56 
58  // Private methods:
60  private:
61 
64 
67 
69  // Private data:
71  private:
72 
73  // Containers
74 
76  std::string m_dataName;
77 
79  std::size_t m_nObjs;
80 
82  std::size_t m_dataSize;
83 
86 };
87 
88 // I/O operators
90 
92 // Inline methods:
94 
95 #endif //> STOREGATETESTS_SGSTRESSPRODUCER_H
SgStressProducer::finalize
virtual StatusCode finalize()
Definition: SgStressProducer.cxx:82
SgStressProducer::createData
StatusCode createData()
Create data.
Definition: SgStressProducer.cxx:104
SgStressProducer::execute
virtual StatusCode execute()
Definition: SgStressProducer.cxx:88
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SgTests
Definition: SgStressProducer.h:23
SgStressProducer::initialize
virtual StatusCode initialize()
Definition: SgStressProducer.cxx:73
SgStressProducer::SgStressProducer
SgStressProducer()
Default constructor:
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
SgStressProducer::m_nObjs
std::size_t m_nObjs
Number of payload objects.
Definition: SgStressProducer.h:79
SgStressProducer::m_dataSize
std::size_t m_dataSize
Size of the payload objects.
Definition: SgStressProducer.h:82
SgStressProducer
Definition: SgStressProducer.h:26
SgStressProducer::~SgStressProducer
virtual ~SgStressProducer()
Destructor:
Definition: SgStressProducer.cxx:66
SgStressProducer::m_dataName
std::string m_dataName
Name of the input data.
Definition: SgStressProducer.h:76
SgStressProducer::m_useDataPool
bool m_useDataPool
switch to use or not an arena (memory pool) to allocate payload
Definition: SgStressProducer.h:85
SgTests::PayLoad
Definition: PayLoad.h:28