ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetValidation
InDetTrackPerfMon
src
PlotsDefinitionSvc.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INDETTRACKPERFMON_PLOTSDEFINITIONSVC_H
6
#define INDETTRACKPERFMON_PLOTSDEFINITIONSVC_H
7
16
18
#include "
AsgServices/AsgService.h
"
19
21
#include "GaudiKernel/ToolHandle.h"
22
24
#include "
InDetTrackPerfMon/IPlotsDefinitionSvc.h
"
25
#include "
IPlotsDefReadTool.h
"
26
#include "
SinglePlotDefinition.h
"
27
28
namespace
IDTPM
{
29
30
class
PlotsDefinitionSvc
:
31
public
extends<asg::AsgService, IPlotsDefinitionSvc> {
32
33
public
:
34
36
PlotsDefinitionSvc
(
const
std::string& name, ISvcLocator* pSvcLocator );
37
39
virtual
~PlotsDefinitionSvc
() =
default
;
40
42
virtual
StatusCode
initialize
()
override
;
43
45
virtual
StatusCode
finalize
()
override
;
46
48
virtual
const
IDTPM::SinglePlotDefinition
&
definition
(
49
const
std::string& identifier )
const override
;
50
52
StatusCode
update
(
const
IDTPM::SinglePlotDefinition
& def );
53
54
private
:
55
56
plotsDefMap_t
m_plotsDefMap
;
57
58
IDTPM::SinglePlotDefinition
m_nullDef
;
59
60
ToolHandle< IDTPM::IPlotsDefReadTool >
m_plotsDefReadTool
{
61
this
,
"PlotsDefReadTool"
,
"IDTPM::InDetTrackPerfMon/IPlotsDefReadTool"
,
"Tool to read plots definitions from parsed list of strings"
};
62
63
std::string
m_anaTag
;
64
65
};
// class PlotsDefinitionSvc
66
67
}
68
69
#endif
// > !INDETTRACKPERFMON_PLOTSDEFINITIONSVC_H
AsgService.h
IPlotsDefReadTool.h
Interface for plots definition reading tools in this package.
IPlotsDefinitionSvc.h
SinglePlotDefinition.h
Class to store (internally) each plot definition in this package (originally based on the SingleHisto...
IDTPM::PlotsDefinitionSvc::m_plotsDefReadTool
ToolHandle< IDTPM::IPlotsDefReadTool > m_plotsDefReadTool
Definition
PlotsDefinitionSvc.h:60
IDTPM::PlotsDefinitionSvc::PlotsDefinitionSvc
PlotsDefinitionSvc(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
PlotsDefinitionSvc.cxx:18
IDTPM::PlotsDefinitionSvc::initialize
virtual StatusCode initialize() override
initialize
Definition
PlotsDefinitionSvc.cxx:29
IDTPM::PlotsDefinitionSvc::m_plotsDefMap
plotsDefMap_t m_plotsDefMap
Definition
PlotsDefinitionSvc.h:56
IDTPM::PlotsDefinitionSvc::update
StatusCode update(const IDTPM::SinglePlotDefinition &def)
Update the map with a new entry.
Definition
PlotsDefinitionSvc.cxx:84
IDTPM::PlotsDefinitionSvc::~PlotsDefinitionSvc
virtual ~PlotsDefinitionSvc()=default
Destructor.
IDTPM::PlotsDefinitionSvc::finalize
virtual StatusCode finalize() override
finalize
Definition
PlotsDefinitionSvc.cxx:63
IDTPM::PlotsDefinitionSvc::m_anaTag
std::string m_anaTag
Definition
PlotsDefinitionSvc.h:63
IDTPM::PlotsDefinitionSvc::m_nullDef
IDTPM::SinglePlotDefinition m_nullDef
Definition
PlotsDefinitionSvc.h:58
IDTPM::PlotsDefinitionSvc::definition
virtual const IDTPM::SinglePlotDefinition & definition(const std::string &identifier) const override
Get the plot definition.
Definition
PlotsDefinitionSvc.cxx:72
IDTPM::SinglePlotDefinition
Definition
SinglePlotDefinition.h:25
IDTPM
Athena include(s).
Definition
IPlotsDefinitionSvc.h:25
Generated on
for ATLAS Offline Software by
1.17.0