ATLAS Offline Software
Loading...
Searching...
No Matches
UnassociatedHitsDecorator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DERIVATIONFRAMEWORK_UNASSOCIATEDHITSDECORATOR_H
6#define DERIVATIONFRAMEWORK_UNASSOCIATEDHITSDECORATOR_H
7
8#include <string>
9#include <vector>
10
13#include "GaudiKernel/ToolHandle.h"
14#include "GaudiKernel/ServiceHandle.h"
15#include "AthLinks/ElementLink.h"
16
19
22
25
26namespace DerivationFramework {
27
28 class UnassociatedHitsDecorator : public extends<AthAlgTool, IAugmentationTool> {
29 public:
30
31 using base_class::base_class;
32
33 virtual StatusCode initialize() override final;
34 virtual StatusCode addBranches(const EventContext& ctx) const override final;
35
36 private:
37
38 Gaudi::Property<std::string> m_sgName
39 { this, "DecorationPrefix", "", ""};
40
42 { this, "ContainerName", "EventInfo", ""};
43
44 ToolHandle<IUnassociatedHitsGetterTool> m_UnassociatedHitsGetterTool
45 { this, "UnassociatedHitsGetter", "" , ""};
46
61 std::vector<SG::WriteDecorHandleKey<xAOD::EventInfo> > m_intDecorKeys;
62 // TODO
63 //SG::WriteDecorHandleKeyArray<xAOD::EventInfo> m_intDecorKeys{this, "DecorationKeys", m_eventInfoKey, {} };
64
65 };
66}
67
68#endif // DERIVATIONFRAMEWORK_UNASSOCIATEDHITSDECORATOR_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
virtual StatusCode addBranches(const EventContext &ctx) const override final
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > m_intDecorKeys
ToolHandle< IUnassociatedHitsGetterTool > m_UnassociatedHitsGetterTool
Property holding a SG store/key/clid from which a ReadHandle is made.
THE reconstruction tool.