ATLAS Offline Software
Loading...
Searching...
No Matches
HIEventShapeMaker.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef __HIEVENTSHAPEMAKER_H__
6#define __HIEVENTSHAPEMAKER_H__
7
9
13
14#include "GaudiKernel/ToolHandle.h"
15#include "Gaudi/Property.h"
16#include "IHIEventShapeFiller.h"
18
21
22#include <string>
23#include <iostream>
24#include <sstream>
25#include <memory>
26
28
30{
31public:
32
34 HIEventShapeMaker(const std::string& name, ISvcLocator* pSvcLocator);
36 ~HIEventShapeMaker() = default;
37
38
39 virtual StatusCode initialize() override;
40 virtual StatusCode execute(const EventContext& ctx) const override;
41 virtual StatusCode finalize() override;
42
43private:
44 SG::ReadHandleKey<xAOD::CaloClusterContainer> m_towerContainerKey{ this, "InputTowerKey" , "CombinedTower" , "InputTowerKey" }; //TowerContainer key
45 SG::ReadHandleKey<INavigable4MomentumCollection> m_naviContainerKey{ this, "NaviTowerKey" , "CombinedTower" , "InputTowerKey for Navigable Momentum collection" };
46 SG::ReadHandleKey<CaloCellContainer> m_cellContainerKey{ this, "InputCellKey" , "" , "InputCellKey" }; //CaloCellContainer key
47 SG::ReadHandleKey<xAOD::HIEventShapeContainer> m_readExistingKey{ this, "ReadExistingKey", "HIEventShapeContainer", "Read key to retrieve the shape im_summary_only is true" };
48 SG::WriteHandleKey<xAOD::HIEventShapeContainer> m_outputKey{ this, "OutputContainerKey" , "HIEventShapeContainer", "Output Container Key" }; //Name of output container key
49 SG::WriteHandleKey<xAOD::HIEventShapeContainer> m_summaryKey{ this, "SummaryContainerKey" , "", "SummaryContainerKey" };
50
51 Gaudi::Property< bool > m_summaryOnly{ this, "SummaryOnly", false, "Summary Only boolean switch" };
52
53 ToolHandle<IHIEventShapeFiller> m_HIEventShapeFillerTool{ this, "HIEventShapeFillerTool", "HIEventShapeFillerTool", "HIEventShapeFillerTool" };
54 ToolHandle<IHIEventShapeSummaryTool> m_summaryTool{ this, "SummaryTool", "HIEventShapeSummaryTool", "Handle to IHIEventShapeSummaryTool" };
55
57};
58
59#endif
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.
An algorithm that can be simultaneously executed in multiple threads.
Container class for CaloCell.
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
virtual StatusCode execute(const EventContext &ctx) const override
HIEventShapeMaker(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
SG::WriteHandleKey< xAOD::HIEventShapeContainer > m_summaryKey
SG::WriteHandleKey< xAOD::HIEventShapeContainer > m_outputKey
std::string PrintHIEventShapeContainer(const xAOD::HIEventShapeContainer *Container) const
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_towerContainerKey
SG::ReadHandleKey< xAOD::HIEventShapeContainer > m_readExistingKey
ToolHandle< IHIEventShapeFiller > m_HIEventShapeFillerTool
Gaudi::Property< bool > m_summaryOnly
virtual StatusCode finalize() override
SG::ReadHandleKey< INavigable4MomentumCollection > m_naviContainerKey
ToolHandle< IHIEventShapeSummaryTool > m_summaryTool
~HIEventShapeMaker()=default
Default Destructor.
storage of the time histories of all the cells
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.
HIEventShapeContainer_v2 HIEventShapeContainer
Define the latest version of the container.