ATLAS Offline Software
Loading...
Searching...
No Matches
DiTauIDDecoratorWrapper.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 DERIVATIONFRAMEWORKTAU_DITAUIDDECORATORWRAPPER_H
6#define DERIVATIONFRAMEWORKTAU_DITAUIDDECORATORWRAPPER_H
7
15
16#include <string>
17#include <vector>
18
22
23namespace DerivationFramework {
24
25 class DiTauIDDecoratorWrapper : public extends<AthAlgTool, IAugmentationTool> {
26 public:
27 using base_class::base_class;
28
29 virtual StatusCode initialize() override;
30 virtual StatusCode addBranches(const EventContext& ctx) const override;
31
32 private:
33 SG::ReadHandleKey<xAOD::DiTauJetContainer> m_ditauContainerKey { this, "DiTauContainerName", "DiTauJets", "Input tau container key" };
35 SG::WriteDecorHandleKeyArray<xAOD::DiTauJetContainer> m_WPDecorKeys{ this, "WPDecorationKeys", m_ditauContainerKey, {}, "List of WP decorations added to the ditau"};
36
37 ToolHandle<DiTauOnnxDiscriminantTool> m_tDiTauOnnxDiscriminantTool{this, "DiTauOnnxDiscriminantTool", ""};
38 ToolHandle<DiTauWPDecorator> m_tDiTauWPDecoratorTool{this, "DiTauWPDecorator", ""};
39
40 Gaudi::Property<bool> m_doWPDecor{this, "DoWPDecor", false, "Enable WP decoration"};
41
42 Gaudi::Property<std::vector<float>> m_WPCuts{this, "DecorWPCuts", {}};
43
44 };
45}
46
47#endif // DERIVATIONFRAMEWORKTAU_DITAUIDDECORATORWRAPPER_H
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< xAOD::DiTauJetContainer > m_ditauContainerKey
Gaudi::Property< std::vector< float > > m_WPCuts
ToolHandle< DiTauWPDecorator > m_tDiTauWPDecoratorTool
virtual StatusCode addBranches(const EventContext &ctx) const override
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_scoreDecorKey
ToolHandle< DiTauOnnxDiscriminantTool > m_tDiTauOnnxDiscriminantTool
SG::WriteDecorHandleKeyArray< xAOD::DiTauJetContainer > m_WPDecorKeys
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.
THE reconstruction tool.
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray