ATLAS Offline Software
PerfMonStorePayloadMon.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // StorePayloadMon.h
8 // Header file for class StorePayloadMon
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef PERFMONCOMPS_PERFMON_STOREPAYLOADMON_H
12 #define PERFMONCOMPS_PERFMON_STOREPAYLOADMON_H 1
13 
14 // C includes
15 #include <stdio.h>
16 
17 // STL includes
18 #include <string>
19 
20 // FrameWork includes
23 #include "GaudiKernel/ServiceHandle.h"
24 #include "GaudiKernel/IClassIDSvc.h"
25 #include "StoreGate/StoreGateSvc.h"
26 
27 namespace PerfMon {
28 
30 // ^ direct StoreGate access
31  : public ::AthAlgorithm
32 {
33 
35  // Public methods:
37  public:
38 
39  // Copy constructor:
40 
42  StorePayloadMon( const std::string& name, ISvcLocator* pSvcLocator );
43 
45  virtual ~StorePayloadMon();
46 
47  // Assignment operator:
48  //StorePayloadMon &operator=(const StorePayloadMon &alg);
49 
50  // Athena algorithm's Hooks
51  virtual StatusCode initialize();
52  virtual StatusCode execute();
53  virtual StatusCode finalize();
54 
55 
57  // Private data:
59  private:
60 
63 
67 
71 
73  int m_stream;
74 
76  std::string m_stream_name;
77 
80 };
81 
82 } //> end namespace PerfMon
83 #endif //> !PERFMONCOMPS_PERFMON_STOREPAYLOADMON_H
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:53
PerfMon::StorePayloadMon::IClassIDSvc_t
ServiceHandle< IClassIDSvc > IClassIDSvc_t
Definition: PerfMonStorePayloadMon.h:68
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
PerfMon::StorePayloadMon::StorePayloadMon
StorePayloadMon()
Default constructor:
initialize
void initialize()
Definition: run_EoverP.cxx:894
PerfMon::StorePayloadMon::m_stream
int m_stream
payload-mon file descriptor
Definition: PerfMonStorePayloadMon.h:73
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
AthAlgorithm.h
PerfMon
a simple malloc wrapper that keeps track of the amount of memory allocated on the heap.
Definition: CallGraphAuditor.cxx:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PerfMon::StorePayloadMon::m_clidsvc
IClassIDSvc_t m_clidsvc
handle to the class id svc
Definition: PerfMonStorePayloadMon.h:70
PerfMon::StorePayloadMon::StoreGateSvc_t
ServiceHandle< StoreGateSvc > StoreGateSvc_t
Definition: PerfMonStorePayloadMon.h:64
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
PerfMon::StorePayloadMon
Definition: PerfMonStorePayloadMon.h:32
checker_macros.h
Define macros for attributes used to control the static checker.
PerfMon::StorePayloadMon::m_displayMallinfos
bool m_displayMallinfos
display mallinfos after each event
Definition: PerfMonStorePayloadMon.h:79
PerfMon::StorePayloadMon::m_store
StoreGateSvc_t m_store
handle to the store instance to monitor
Definition: PerfMonStorePayloadMon.h:66
StoreGateSvc.h
PerfMon::StorePayloadMon::m_stream_name
std::string m_stream_name
Name of the output file where the monitoring data will be stored.
Definition: PerfMonStorePayloadMon.h:76
ServiceHandle< StoreGateSvc >