|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ATHENASERVICES_ATHENASUMSVC_H
6 #define ATHENASERVICES_ATHENASUMSVC_H
24 #include "GaudiKernel/StatusCode.h"
25 #include "GaudiKernel/ServiceHandle.h"
26 #include "GaudiKernel/IIncidentSvc.h"
27 #include "GaudiKernel/IIncidentListener.h"
36 public extends<AthService, IIncidentListener, IAthenaSummarySvc> {
48 virtual void addListener(
const std::string& incident_name)
override;
49 virtual void addSummary(
const std::string& dict_key,
const std::string&
data)
override;
56 virtual void handle(
const Incident &inc)
override;
60 StringProperty
m_summaryFile{
this,
"SummaryFile",
"AthSummary.txt",
63 "output format: one of 'ascii', 'python', 'both'"};
64 StringArrayProperty
m_extraInc{
this,
"ExtraIncidents", {},
65 "user incidets to monitor"};
66 StringArrayProperty
m_keywords{
this,
"keywords", {},
67 "kewords to scan for in MessageSvc. WARNING: THIS IS VERY SLOW!!!"};
81 std::vector< std::pair<std::string, std::string> >
m_extraInfo;
83 std::new_handler
m_new{
nullptr};
char data[hepevt_bytes_allocation_ATLAS]
AthenaSummarySvc(const std::string &name, ISvcLocator *svc)
static char *s_block ATLAS_THREAD_SAFE
virtual void handle(const Incident &inc) override
StringProperty m_summaryFile
virtual StatusCode reinitialize() override
void createASCII(std::ofstream &)
virtual const std::string & getOutputFile() const override
virtual StatusCode finalize() override
StringArrayProperty m_extraInc
std::vector< std::pair< std::string, std::string > > m_extraInfo
StringProperty m_summaryFormat
unsigned int m_eventsRead
unsigned int m_eventsSkipped
virtual void setStatus(int s) override
::StatusCode StatusCode
StatusCode definition for legacy code.
AthROOTErrorHandlerSvc * svc
ServiceHandle< IIncidentSvc > p_incSvc
virtual StatusCode initialize() override
virtual StatusCode createSummary() override
virtual void addSummary(const std::string &dict_key, const std::string &data) override
std::list< std::string > m_outputFiles
std::map< std::string, std::map< std::string, int > > m_extraIncidents
std::list< std::string > m_outputFilesError
std::list< std::string > m_inputFilesRead
StringArrayProperty m_keywords
void createDict(std::ofstream &)
ILoggedMessageSvc * p_logMsg
virtual void addListener(const std::string &incident_name) override
Define macros for attributes used to control the static checker.
unsigned int m_eventsWritten