ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
HeavyIonRec
HIGlobal
HIGlobal
IHIEventShapeFiller.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 __INTERFACE_HIEVENTSHAPEMODIFIER_H__
6
#define __INTERFACE_HIEVENTSHAPEMODIFIER_H__
7
8
#include "
AsgTools/IAsgTool.h
"
9
#include "
xAODHIEvent/HIEventShapeContainer.h
"
10
#include "
xAODCaloEvent/CaloClusterContainer.h
"
11
#include <string>
12
#include <
NavFourMom/INavigable4MomentumCollection.h
>
13
#include <
CaloEvent/CaloCellContainer.h
>
14
15
#include "
StoreGate/ReadHandleKey.h
"
16
#include "
StoreGate/WriteHandleKey.h
"
17
18
#include <iostream>
19
#include <iomanip>
20
#include <memory>
21
22
class
CaloCellContainer
;
23
24
class
IHIEventShapeFiller
:
virtual
public
asg::IAsgTool
25
{
26
ASG_TOOL_INTERFACE
(
IHIEventShapeFiller
)
27
public
:
28
virtual
~IHIEventShapeFiller
() {};
29
30
virtual
StatusCode
initializeIndex
() = 0;
31
virtual
StatusCode
initializeEventShapeContainer
(std::unique_ptr<xAOD::HIEventShapeContainer>& evtShape)
const
= 0;
32
33
virtual
StatusCode
fillCollectionFromTowers
(std::unique_ptr<xAOD::HIEventShapeContainer>& evtShape,
const
SG::ReadHandleKey<xAOD::CaloClusterContainer>
& m_tower_container_key,
const
SG::ReadHandleKey<INavigable4MomentumCollection>
& m_navi_container_key,
const
EventContext& ctx)
const
= 0;
34
35
virtual
StatusCode
fillCollectionFromCells
(std::unique_ptr<xAOD::HIEventShapeContainer>& evtShape,
const
SG::ReadHandleKey<CaloCellContainer>
& m_cell_container_key,
const
EventContext& ctx)
const
= 0;
36
37
inline
const
std::string&
getContainerName
()
const
{
return
m_outputContainerName
; };
38
inline
void
setContainerName
(
const
std::string& cname) {
m_outputContainerName
= cname; };
39
40
private
:
41
42
std::string
m_outputContainerName
;
43
44
};
45
46
#endif
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
CaloCellContainer.h
CaloClusterContainer.h
HIEventShapeContainer.h
IAsgTool.h
INavigable4MomentumCollection.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
IHIEventShapeFiller
Definition
IHIEventShapeFiller.h:25
IHIEventShapeFiller::fillCollectionFromTowers
virtual StatusCode fillCollectionFromTowers(std::unique_ptr< xAOD::HIEventShapeContainer > &evtShape, const SG::ReadHandleKey< xAOD::CaloClusterContainer > &m_tower_container_key, const SG::ReadHandleKey< INavigable4MomentumCollection > &m_navi_container_key, const EventContext &ctx) const =0
IHIEventShapeFiller::~IHIEventShapeFiller
virtual ~IHIEventShapeFiller()
Definition
IHIEventShapeFiller.h:28
IHIEventShapeFiller::m_outputContainerName
std::string m_outputContainerName
Definition
IHIEventShapeFiller.h:42
IHIEventShapeFiller::setContainerName
void setContainerName(const std::string &cname)
Definition
IHIEventShapeFiller.h:38
IHIEventShapeFiller::getContainerName
const std::string & getContainerName() const
Definition
IHIEventShapeFiller.h:37
IHIEventShapeFiller::fillCollectionFromCells
virtual StatusCode fillCollectionFromCells(std::unique_ptr< xAOD::HIEventShapeContainer > &evtShape, const SG::ReadHandleKey< CaloCellContainer > &m_cell_container_key, const EventContext &ctx) const =0
IHIEventShapeFiller::initializeEventShapeContainer
virtual StatusCode initializeEventShapeContainer(std::unique_ptr< xAOD::HIEventShapeContainer > &evtShape) const =0
IHIEventShapeFiller::initializeIndex
virtual StatusCode initializeIndex()=0
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition
IAsgTool.h:41
Generated on
for ATLAS Offline Software by
1.17.0