ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkTau
DerivationFrameworkTau
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
DiTauRec/DiTauOnnxDiscriminantTool.h
"
12
#include "
DiTauRec/DiTauWPDecorator.h
"
13
#include "
StoreGate/WriteDecorHandleKeyArray.h
"
14
#include "
xAODTau/DiTauJetContainer.h
"
15
16
#include <string>
17
#include <vector>
18
22
23
namespace
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"
};
34
SG::WriteDecorHandleKey<xAOD::DiTauJetContainer>
m_scoreDecorKey
{
this
,
"ScoreDecorationKey"
,
m_ditauContainerKey
,
"omni_score"
};
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
AthAlgTool.h
DiTauJetContainer.h
DiTauOnnxDiscriminantTool.h
DiTauWPDecorator.h
IAugmentationTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKeyArray.h
DerivationFramework::DiTauIDDecoratorWrapper
Definition
DiTauIDDecoratorWrapper.h:25
DerivationFramework::DiTauIDDecoratorWrapper::m_ditauContainerKey
SG::ReadHandleKey< xAOD::DiTauJetContainer > m_ditauContainerKey
Definition
DiTauIDDecoratorWrapper.h:33
DerivationFramework::DiTauIDDecoratorWrapper::m_WPCuts
Gaudi::Property< std::vector< float > > m_WPCuts
Definition
DiTauIDDecoratorWrapper.h:42
DerivationFramework::DiTauIDDecoratorWrapper::m_tDiTauWPDecoratorTool
ToolHandle< DiTauWPDecorator > m_tDiTauWPDecoratorTool
Definition
DiTauIDDecoratorWrapper.h:38
DerivationFramework::DiTauIDDecoratorWrapper::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override
Definition
DiTauIDDecoratorWrapper.cxx:29
DerivationFramework::DiTauIDDecoratorWrapper::m_scoreDecorKey
SG::WriteDecorHandleKey< xAOD::DiTauJetContainer > m_scoreDecorKey
Definition
DiTauIDDecoratorWrapper.h:34
DerivationFramework::DiTauIDDecoratorWrapper::m_tDiTauOnnxDiscriminantTool
ToolHandle< DiTauOnnxDiscriminantTool > m_tDiTauOnnxDiscriminantTool
Definition
DiTauIDDecoratorWrapper.h:37
DerivationFramework::DiTauIDDecoratorWrapper::initialize
virtual StatusCode initialize() override
Definition
DiTauIDDecoratorWrapper.cxx:11
DerivationFramework::DiTauIDDecoratorWrapper::m_doWPDecor
Gaudi::Property< bool > m_doWPDecor
Definition
DiTauIDDecoratorWrapper.h:40
DerivationFramework::DiTauIDDecoratorWrapper::m_WPDecorKeys
SG::WriteDecorHandleKeyArray< xAOD::DiTauJetContainer > m_WPDecorKeys
Definition
DiTauIDDecoratorWrapper.h:35
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