ATLAS Offline Software
Loading...
Searching...
No Matches
TauIDDecoratorWrapper.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_TAUIDDECORATORWRAPPER_H
6#define DERIVATIONFRAMEWORKTAU_TAUIDDECORATORWRAPPER_H
7
16
17#include <string>
18#include <vector>
19
23
24namespace DerivationFramework {
25
26 class TauIDDecoratorWrapper : public extends<AthAlgTool, IAugmentationTool> {
27 public:
28
29 using base_class::base_class;
30
31 virtual StatusCode initialize() override final;
32 virtual StatusCode addBranches(const EventContext& ctx) const override final;
33
34 private:
35 SG::ReadHandleKey<xAOD::TauJetContainer> m_tauContainerKey { this, "TauContainerName", "TauJets", "Input tau container key" };
36 SG::ReadHandleKey<xAOD::MuonContainer> m_muonContainerKey { this, "MuonContainerName", "Muons", "Input muon container key" };
37 SG::WriteDecorHandleKeyArray<xAOD::TauJetContainer> m_scoreDecorKeys{ this, "ScoreDecorationKeys", m_tauContainerKey, {}, "List of score decorations added to the tau"};
38 SG::WriteDecorHandleKeyArray<xAOD::TauJetContainer> m_WPDecorKeys{ this, "WPDecorationKeys", m_tauContainerKey, {}, "List of WP decorations added to the tau"};
39 SG::WriteDecorHandleKey<xAOD::TauJetContainer> m_trackWidthKey{ this, "TrackWidthKey", m_tauContainerKey, "trackWidth", "Track width decoration name"};
40 SG::WriteDecorHandleKey<xAOD::TauJetContainer> m_passTATTauMuonOLRKey{ this, "PassTATTauMuonOLRKey", m_tauContainerKey, "passTATTauMuonOLR", "Decoration name"};
41
42 ToolHandleArray<TauRecToolBase> m_tauIDTools { this, "TauIDTools", {}, "" };
43 Gaudi::Property<bool> m_doEvetoWP{this, "DoEvetoWP", false};
44 };
45}
46
47#endif // DERIVATIONFRAMEWORKTAU_TAUIDDECORATORWRAPPER_H
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauContainerKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_trackWidthKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_passTATTauMuonOLRKey
virtual StatusCode addBranches(const EventContext &ctx) const override final
SG::WriteDecorHandleKeyArray< xAOD::TauJetContainer > m_WPDecorKeys
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
virtual StatusCode initialize() override final
SG::WriteDecorHandleKeyArray< xAOD::TauJetContainer > m_scoreDecorKeys
ToolHandleArray< TauRecToolBase > m_tauIDTools
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