ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkTau
DerivationFrameworkTau
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
10
#include "
AsgTools/ToolHandleArray.h
"
11
#include "
tauRecTools/TauRecToolBase.h
"
12
#include "
StoreGate/ReadHandleKey.h
"
13
#include "
StoreGate/WriteDecorHandleKeyArray.h
"
14
#include "
xAODTau/TauJetContainer.h
"
15
#include "
xAODMuon/MuonContainer.h
"
16
17
#include <string>
18
#include <vector>
19
23
24
namespace
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
AthAlgTool.h
MuonContainer.h
IAugmentationTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKeyArray.h
TauJetContainer.h
TauRecToolBase.h
ToolHandleArray.h
DerivationFramework::TauIDDecoratorWrapper
Definition
TauIDDecoratorWrapper.h:26
DerivationFramework::TauIDDecoratorWrapper::m_tauContainerKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauContainerKey
Definition
TauIDDecoratorWrapper.h:35
DerivationFramework::TauIDDecoratorWrapper::m_trackWidthKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_trackWidthKey
Definition
TauIDDecoratorWrapper.h:39
DerivationFramework::TauIDDecoratorWrapper::m_passTATTauMuonOLRKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_passTATTauMuonOLRKey
Definition
TauIDDecoratorWrapper.h:40
DerivationFramework::TauIDDecoratorWrapper::m_doEvetoWP
Gaudi::Property< bool > m_doEvetoWP
Definition
TauIDDecoratorWrapper.h:43
DerivationFramework::TauIDDecoratorWrapper::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
TauIDDecoratorWrapper.cxx:29
DerivationFramework::TauIDDecoratorWrapper::m_WPDecorKeys
SG::WriteDecorHandleKeyArray< xAOD::TauJetContainer > m_WPDecorKeys
Definition
TauIDDecoratorWrapper.h:38
DerivationFramework::TauIDDecoratorWrapper::m_muonContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
Definition
TauIDDecoratorWrapper.h:36
DerivationFramework::TauIDDecoratorWrapper::initialize
virtual StatusCode initialize() override final
Definition
TauIDDecoratorWrapper.cxx:12
DerivationFramework::TauIDDecoratorWrapper::m_scoreDecorKeys
SG::WriteDecorHandleKeyArray< xAOD::TauJetContainer > m_scoreDecorKeys
Definition
TauIDDecoratorWrapper.h:37
DerivationFramework::TauIDDecoratorWrapper::m_tauIDTools
ToolHandleArray< TauRecToolBase > m_tauIDTools
Definition
TauIDDecoratorWrapper.h:42
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
SG::WriteDecorHandleKeyArray
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray
Definition
StoreGate/StoreGate/WriteDecorHandleKeyArray.h:35
Generated on
for ATLAS Offline Software by
1.17.0