ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
HeavyIonPhys
HIEventUtils
HIEventUtils
HIEventShapeMapTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef HIEVENTUTILS_HIEVENTSHAPEMAPTOOL_H
6
#define HIEVENTUTILS_HIEVENTSHAPEMAPTOOL_H
7
8
#include "
HIEventUtils/HIEventDefs.h
"
9
#include "
xAODHIEvent/HIEventShape.h
"
10
#include "
HIEventUtils/HIEventShapeIndex.h
"
11
#include "
HIEventUtils/IHIEventShapeMapTool.h
"
12
#include "
xAODHIEvent/HIEventShapeContainer.h
"
13
#include "
AsgTools/IAsgTool.h
"
14
#include "
AsgTools/AsgTool.h
"
15
16
#include <string>
17
#include <map>
18
19
class
HIEventShapeMapTool
:
virtual
public
asg::AsgTool
,
virtual
public
IHIEventShapeMapTool
20
{
21
ASG_TOOL_CLASS
(
HIEventShapeMapTool
,
IHIEventShapeMapTool
)
22
23
public
:
24
25
HIEventShapeMapTool
(
const
std::string& n);
26
virtual
~HIEventShapeMapTool
() {};
27
28
virtual
StatusCode
initialize
()
override
;
29
virtual
const
HIEventShapeIndex
*
getIndex
(
HI::BinningScheme
key)
const override
;
30
virtual
const
HIEventShapeIndex
*
getIndexFromShape
(
const
xAOD::HIEventShapeContainer
* shape)
const override
;
31
32
virtual
bool
hasKey
(
HI::BinningScheme
key)
override
;
33
34
private
:
35
36
std::map< HI::BinningScheme ,HIEventShapeIndex >
m_map
;
37
38
};
39
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
HIEventDefs.h
HIEventShapeContainer.h
HIEventShapeIndex.h
HIEventShape.h
IAsgTool.h
IHIEventShapeMapTool.h
HIEventShapeIndex
Definition
HIEventShapeIndex.h:16
HIEventShapeMapTool::hasKey
virtual bool hasKey(HI::BinningScheme key) override
Definition
HIEventShapeMapTool.cxx:58
HIEventShapeMapTool::~HIEventShapeMapTool
virtual ~HIEventShapeMapTool()
Definition
HIEventShapeMapTool.h:26
HIEventShapeMapTool::HIEventShapeMapTool
HIEventShapeMapTool(const std::string &n)
Definition
HIEventShapeMapTool.cxx:9
HIEventShapeMapTool::getIndex
virtual const HIEventShapeIndex * getIndex(HI::BinningScheme key) const override
Definition
HIEventShapeMapTool.cxx:24
HIEventShapeMapTool::m_map
std::map< HI::BinningScheme,HIEventShapeIndex > m_map
Definition
HIEventShapeMapTool.h:36
HIEventShapeMapTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
HIEventShapeMapTool.cxx:13
HIEventShapeMapTool::getIndexFromShape
virtual const HIEventShapeIndex * getIndexFromShape(const xAOD::HIEventShapeContainer *shape) const override
Definition
HIEventShapeMapTool.cxx:39
IHIEventShapeMapTool
Definition
IHIEventShapeMapTool.h:19
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
HI::BinningScheme
BinningScheme
Definition
HIEventDefs.h:16
xAOD::HIEventShapeContainer
HIEventShapeContainer_v2 HIEventShapeContainer
Define the latest version of the container.
Definition
HIEventShapeContainer.h:17
Generated on
for ATLAS Offline Software by
1.14.0