ATLAS Offline Software
Loading...
Searching...
No Matches
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"
11#include <string>
14
17
18#include <iostream>
19#include <iomanip>
20#include <memory>
21
23
24class IHIEventShapeFiller : virtual public asg::IAsgTool
25{
27public:
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
40private:
41
43
44};
45
46#endif
#define ASG_TOOL_INTERFACE(CLASSNAME)
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Container class for CaloCell.
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
std::string m_outputContainerName
void setContainerName(const std::string &cname)
const std::string & getContainerName() const
virtual StatusCode fillCollectionFromCells(std::unique_ptr< xAOD::HIEventShapeContainer > &evtShape, const SG::ReadHandleKey< CaloCellContainer > &m_cell_container_key, const EventContext &ctx) const =0
virtual StatusCode initializeEventShapeContainer(std::unique_ptr< xAOD::HIEventShapeContainer > &evtShape) const =0
virtual StatusCode initializeIndex()=0
Property holding a SG store/key/clid from which a ReadHandle is made.
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41