ATLAS Offline Software
PhysicsAnalysis
HeavyIonPhys
HIEventUtils
HIEventUtils
IHIEventShapeMapTool.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_IHIEVENTSHAPEMAPTOOL_H
6
#define HIEVENTUTILS_IHIEVENTSHAPEMAPTOOL_H
7
8
#include "
HIEventUtils/HIEventDefs.h
"
9
#include "
xAODHIEvent/HIEventShape.h
"
10
#include "
HIEventUtils/HIEventShapeIndex.h
"
11
#include "
xAODHIEvent/HIEventShapeContainer.h
"
12
#include "
AsgTools/IAsgTool.h
"
13
#include "
AsgTools/AsgTool.h
"
14
15
#include <string>
16
#include <map>
17
18
class
IHIEventShapeMapTool
:
virtual
public
asg::AsgTool
19
{
20
ASG_TOOL_INTERFACE
(
IHIEventShapeMapTool
)
21
22
public
:
23
24
virtual
~IHIEventShapeMapTool
() {};
25
26
virtual
StatusCode
initialize
() = 0;
27
virtual
const
HIEventShapeIndex
*
getIndex
(
HI::BinningScheme
key
)
const
= 0;
28
virtual
const
HIEventShapeIndex
*
getIndexFromShape
(
const
xAOD::HIEventShapeContainer
* shape)
const
= 0;
29
30
virtual
bool
hasKey
(
HI::BinningScheme
key
) = 0;
31
32
33
};
34
#endif
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition:
AsgTool.h:47
HIEventShapeIndex.h
IHIEventShapeMapTool
Definition:
IHIEventShapeMapTool.h:19
IHIEventShapeMapTool::getIndexFromShape
virtual const HIEventShapeIndex * getIndexFromShape(const xAOD::HIEventShapeContainer *shape) const =0
HIEventDefs.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HIEventShape.h
HIEventShapeContainer.h
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition:
AsgToolMacros.h:40
IAsgTool.h
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
HIEventShapeIndex
Definition:
HIEventShapeIndex.h:17
IHIEventShapeMapTool::initialize
virtual StatusCode initialize()=0
Dummy implementation of the initialisation function.
HI::BinningScheme
BinningScheme
Definition:
HIEventDefs.h:16
IHIEventShapeMapTool::~IHIEventShapeMapTool
virtual ~IHIEventShapeMapTool()
Definition:
IHIEventShapeMapTool.h:24
IHIEventShapeMapTool::hasKey
virtual bool hasKey(HI::BinningScheme key)=0
AsgTool.h
IHIEventShapeMapTool::getIndex
virtual const HIEventShapeIndex * getIndex(HI::BinningScheme key) const =0
mapkey::key
key
Definition:
TElectronEfficiencyCorrectionTool.cxx:37
Generated on Thu Nov 7 2024 21:16:41 for ATLAS Offline Software by
1.8.18