ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkTau
DerivationFrameworkTau
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>
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
11
#include "GaudiKernel/ToolHandle.h"
12
#include "
xAODTau/DiTauJetContainer.h
"
13
#include "
StoreGate/ReadHandleKey.h
"
14
#include "
StoreGate/WriteDecorHandleKey.h
"
15
16
//Tool to decorate the charge of boosted ditaus
17
18
namespace
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
AthAlgTool.h
DiTauJetContainer.h
IAugmentationTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DerivationFramework::DiTauChargeDecorator
Definition
DiTauChargeDecorator.h:20
DerivationFramework::DiTauChargeDecorator::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override
Definition
DiTauChargeDecorator.cxx:22
DerivationFramework::DiTauChargeDecorator::m_ditauContainerKey
SG::ReadHandleKey< xAOD::DiTauJetContainer > m_ditauContainerKey
Definition
DiTauChargeDecorator.h:29
DerivationFramework::DiTauChargeDecorator::m_chargeKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_chargeKey
Definition
DiTauChargeDecorator.h:30
DerivationFramework::DiTauChargeDecorator::initialize
virtual StatusCode initialize() override
Definition
DiTauChargeDecorator.cxx:12
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
Generated on
for ATLAS Offline Software by
1.17.0