ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
TauAnalysisAlgorithms
TauAnalysisAlgorithms
DiTauTruthMatchingAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
#ifndef TAU_ANALYSIS_ALGORITHMS__DI_TAU_TRUTH_MATCHING_ALG_H
10
#define TAU_ANALYSIS_ALGORITHMS__DI_TAU_TRUTH_MATCHING_ALG_H
11
12
#include <
AnaAlgorithm/AnaAlgorithm.h
>
13
#include <
TauAnalysisTools/IDiTauTruthMatchingTool.h
>
14
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
15
#include <
SystematicsHandles/SysListHandle.h
>
16
#include <
SystematicsHandles/SysReadHandle.h
>
17
#include <
SystematicsHandles/SysWriteDecorHandle.h
>
18
#include <
xAODTau/DiTauJetContainer.h
>
19
20
namespace
CP
21
{
23
24
class
DiTauTruthMatchingAlg
final :
public
EL::AnaAlgorithm
25
{
27
public
:
28
using
EL::AnaAlgorithm::AnaAlgorithm
;
29
StatusCode
initialize
()
override
;
30
StatusCode
execute
(
const
EventContext& ctx)
override
;
31
32
33
35
private
:
36
ToolHandle<TauAnalysisTools::IDiTauTruthMatchingTool>
m_matchingTool
{
this
,
"matchingTool"
,
"TauAnalysisTools::DiTauTruthMatchingTool"
,
"the matching tool we apply"
};
37
39
private
:
40
SysListHandle
m_systematicsList
{
this
};
41
43
private
:
44
SysReadHandle<xAOD::DiTauJetContainer>
m_tauHandle
{
45
this
,
"taus"
,
"DiTauJets"
,
"the tau collection to run on"
};
46
48
private
:
49
SysReadSelectionHandle
m_preselection
{
50
this
,
"preselection"
,
""
,
"the preselection to apply"
};
51
54
private
:
55
SysWriteDecorHandle<float>
m_truthVisLeadPtDecor
{
"TruthVisLeadPt"
,
this
};
56
SysWriteDecorHandle<float>
m_truthVisLeadEtaDecor
{
"TruthVisLeadEta"
,
this
};
57
SysWriteDecorHandle<float>
m_truthVisLeadPhiDecor
{
"TruthVisLeadPhi"
,
this
};
58
SysWriteDecorHandle<float>
m_truthVisLeadMDecor
{
"TruthVisLeadM"
,
this
};
59
SysWriteDecorHandle<int>
m_truthLeadPdgIDDecor
{
"TruthLeadPdgID"
,
this
};
60
SysWriteDecorHandle<float>
m_truthVisSubleadPtDecor
{
"TruthVisSubleadPt"
,
this
};
61
SysWriteDecorHandle<float>
m_truthVisSubleadEtaDecor
{
"TruthVisSubleadEta"
,
this
};
62
SysWriteDecorHandle<float>
m_truthVisSubleadPhiDecor
{
"TruthVisSubleadPhi"
,
this
};
63
SysWriteDecorHandle<float>
m_truthVisSubleadMDecor
{
"TruthVisSubleadM"
,
this
};
64
SysWriteDecorHandle<int>
m_truthSubleadPdgIDDecor
{
"TruthSubleadPdgID"
,
this
};
65
SysWriteDecorHandle<float>
m_truthVisDeltaRDecor
{
"TruthVisDeltaR"
,
this
};
66
SysWriteDecorHandle<float>
m_truthVisMassDecor
{
"TruthVisMass"
,
this
};
67
SysWriteDecorHandle<char>
m_isTruthMatchedDecor
{
"IsTruthMatched"
,
this
};
68
SysWriteDecorHandle<char>
m_isTruthHadronicDecor
{
"IsTruthHadronic"
,
this
};
69
};
70
}
71
72
#endif
AnaAlgorithm.h
DiTauJetContainer.h
IDiTauTruthMatchingTool.h
Tau, lepton and jet truth matching for ditau jets.
SysListHandle.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteDecorHandle.h
CP::DiTauTruthMatchingAlg
an algorithm for calling IDiTauTruthMatchingTool
Definition
DiTauTruthMatchingAlg.h:25
CP::DiTauTruthMatchingAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition
DiTauTruthMatchingAlg.h:40
CP::DiTauTruthMatchingAlg::m_truthVisMassDecor
SysWriteDecorHandle< float > m_truthVisMassDecor
Definition
DiTauTruthMatchingAlg.h:66
CP::DiTauTruthMatchingAlg::m_isTruthHadronicDecor
SysWriteDecorHandle< char > m_isTruthHadronicDecor
Definition
DiTauTruthMatchingAlg.h:68
CP::DiTauTruthMatchingAlg::m_truthVisLeadEtaDecor
SysWriteDecorHandle< float > m_truthVisLeadEtaDecor
Definition
DiTauTruthMatchingAlg.h:56
CP::DiTauTruthMatchingAlg::m_isTruthMatchedDecor
SysWriteDecorHandle< char > m_isTruthMatchedDecor
Definition
DiTauTruthMatchingAlg.h:67
CP::DiTauTruthMatchingAlg::m_truthVisLeadMDecor
SysWriteDecorHandle< float > m_truthVisLeadMDecor
Definition
DiTauTruthMatchingAlg.h:58
CP::DiTauTruthMatchingAlg::m_tauHandle
SysReadHandle< xAOD::DiTauJetContainer > m_tauHandle
the tau collection we run on
Definition
DiTauTruthMatchingAlg.h:44
CP::DiTauTruthMatchingAlg::initialize
StatusCode initialize() override
Definition
DiTauTruthMatchingAlg.cxx:23
CP::DiTauTruthMatchingAlg::m_truthVisDeltaRDecor
SysWriteDecorHandle< float > m_truthVisDeltaRDecor
Definition
DiTauTruthMatchingAlg.h:65
CP::DiTauTruthMatchingAlg::m_truthVisLeadPtDecor
SysWriteDecorHandle< float > m_truthVisLeadPtDecor
output decorations, written by the matching tool (or by us for ditaus failing the preselection)
Definition
DiTauTruthMatchingAlg.h:55
CP::DiTauTruthMatchingAlg::m_truthLeadPdgIDDecor
SysWriteDecorHandle< int > m_truthLeadPdgIDDecor
Definition
DiTauTruthMatchingAlg.h:59
CP::DiTauTruthMatchingAlg::m_truthVisSubleadPtDecor
SysWriteDecorHandle< float > m_truthVisSubleadPtDecor
Definition
DiTauTruthMatchingAlg.h:60
CP::DiTauTruthMatchingAlg::m_truthVisSubleadPhiDecor
SysWriteDecorHandle< float > m_truthVisSubleadPhiDecor
Definition
DiTauTruthMatchingAlg.h:62
CP::DiTauTruthMatchingAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition
DiTauTruthMatchingAlg.h:49
CP::DiTauTruthMatchingAlg::m_truthVisLeadPhiDecor
SysWriteDecorHandle< float > m_truthVisLeadPhiDecor
Definition
DiTauTruthMatchingAlg.h:57
CP::DiTauTruthMatchingAlg::m_truthVisSubleadMDecor
SysWriteDecorHandle< float > m_truthVisSubleadMDecor
Definition
DiTauTruthMatchingAlg.h:63
CP::DiTauTruthMatchingAlg::m_matchingTool
ToolHandle< TauAnalysisTools::IDiTauTruthMatchingTool > m_matchingTool
the matching tool
Definition
DiTauTruthMatchingAlg.h:36
CP::DiTauTruthMatchingAlg::m_truthVisSubleadEtaDecor
SysWriteDecorHandle< float > m_truthVisSubleadEtaDecor
Definition
DiTauTruthMatchingAlg.h:61
CP::DiTauTruthMatchingAlg::m_truthSubleadPdgIDDecor
SysWriteDecorHandle< int > m_truthSubleadPdgIDDecor
Definition
DiTauTruthMatchingAlg.h:64
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition
SysListHandle.h:33
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition
SysReadHandle.h:33
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition
SysReadSelectionHandle.h:32
CP::SysWriteDecorHandle
a data handle for reading systematics varied input data
Definition
SysWriteDecorHandle.h:42
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:74
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaAlgorithm.cxx:40
EL::AnaAlgorithm::execute
virtual::StatusCode execute()
execute this algorithm
Definition
AnaAlgorithm.cxx:315
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
Generated on
for ATLAS Offline Software by
1.17.0