ATLAS Offline Software
Loading...
Searching...
No Matches
DiTauChargeDecorator.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_DITAUCHARGEDECORATOR_H
6#define DERIVATIONFRAMEWORKTAU_DITAUCHARGEDECORATOR_H
7
8#include <string>
11#include "GaudiKernel/ToolHandle.h"
15
16//Tool to decorate the charge of boosted ditaus
17
18namespace DerivationFramework {
19
20 class DiTauChargeDecorator : public extends<AthAlgTool, IAugmentationTool> {
21 public:
22
23 using base_class::base_class;
24
25 virtual StatusCode initialize() override;
26 virtual StatusCode addBranches(const EventContext& ctx) const override;
27
28 private:
29 SG::ReadHandleKey<xAOD::DiTauJetContainer> m_ditauContainerKey { this, "DiTauContainerName", "DiTauJets", "Input ditau container key" };
30 SG::WriteDecorHandleKey<xAOD::DiTauJetContainer> m_chargeKey{ this, "chargeKey", m_ditauContainerKey, "charge", "Decoration name"};
31 };
32}
33
34#endif // DERIVATIONFRAMEWORKTAU_DITAUCHARGEDECORATOR_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
SG::ReadHandleKey< xAOD::DiTauJetContainer > m_ditauContainerKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_chargeKey
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.