ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
TauID
TauDQA
src
PhysValTau.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
//
3
// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4
//
5
#ifndef TAUDQA_PHYSVALTAU_H
6
#define TAUDQA_PHYSVALTAU_H
7
8
#include <memory>
9
#include <string>
10
11
#include "GaudiKernel/ToolHandle.h"
12
#include "
StoreGate/ReadHandleKey.h
"
13
#include "
StoreGate/ReadDecorHandle.h
"
14
15
// FrameWork includes
16
#include "
AsgTools/PropertyWrapper.h
"
17
18
// Local includes
19
#include "
AthenaMonitoring/ManagedMonitorToolBase.h
"
20
#include "
TauAnalysisTools/ITauTruthMatchingTool.h
"
21
#include "
TauAnalysisTools/ITauSelectionTool.h
"
22
23
// Local includes
24
#include "
TauValidationPlotsNominal.h
"
25
#include "
TauValidationPlotsNoCuts.h
"
26
27
class
PhysValTau
28
:
public
ManagedMonitorToolBase
29
{
30
31
public
:
33
PhysValTau
(
const
std::string&
type
,
34
const
std::string& name,
35
const
IInterface* parent );
36
37
// Athena algtool's Hooks
38
virtual
StatusCode
initialize
();
39
virtual
StatusCode
bookHistograms
();
40
virtual
StatusCode
fillHistograms
(
const
EventContext& ctx);
41
virtual
StatusCode
procHistograms
();
42
43
44
private
:
45
// properties
46
Gaudi::Property<bool>
m_isMC
{
this
,
"isMC"
,
false
};
47
48
// Tool used for truth-matching
49
ToolHandle<TauAnalysisTools::ITauTruthMatchingTool>
m_truthTool
{
this
,
"TauTruthMatchingTool"
,
"TauAnalysisTools::TauTruthMatchingTool/TauTruthMatchingTool"
};
50
// Tool used to select "primitive" and "nominal" taus
51
ToolHandle<TauAnalysisTools::ITauSelectionTool>
m_primTauSel
{
this
,
"PrimitiveTauSelectionTool"
,
"TauAnalysisTools::TauSelectionTool/PrimitiveTauSelectionTool"
};
52
ToolHandle<TauAnalysisTools::ITauSelectionTool>
m_nomiTauSel
{
this
,
"NominalTauSelectionTool"
,
"TauAnalysisTools::TauSelectionTool/NominalTauSelectionTool"
};
53
54
//container name
55
SG::ReadHandleKey<xAOD::TauJetContainer>
m_tauContainerKey
{
this
,
"TauContainerName"
,
"TauJets"
,
"Input tau container key"
};
56
SG::ReadHandleKey<xAOD::TruthParticleContainer>
m_truthTauContainerKey
{
this
,
"TruthTauContainerName"
,
"TruthTaus"
,
"Input truth tau container key"
};
57
58
// decoration name
59
SG::ReadDecorHandleKey<xAOD::TauJetContainer>
m_IsTruthMatchedKey
{
this
,
"IsTruthMatchedDecorKey"
,
"IsTruthMatched"
,
"IsTruthMatched decoration key"
};
60
SG::ReadDecorHandleKey<xAOD::TruthParticleContainer>
m_IsHadronicTauKey
{
this
,
"IsHadronicTauDecorKey"
,
"IsHadronicTau"
,
"IsHadronicTau decoration key"
};
61
62
//Histograms
63
// general tau all prongs plots
64
std::unique_ptr<TauValidationPlotsNominal>
m_oTauValidationPlotsNominal
;
65
std::unique_ptr<TauValidationPlotsNoCuts>
m_oTauValidationPlotsNoCuts
;
66
67
};
68
69
#endif
//> !TAUDQA_PHYSVALTAU_H
ITauSelectionTool.h
ITauTruthMatchingTool.h
ManagedMonitorToolBase.h
PropertyWrapper.h
ReadDecorHandle.h
Handle class for reading a decoration on an object.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TauValidationPlotsNoCuts.h
TauValidationPlotsNominal.h
ManagedMonitorToolBase::ManagedMonitorToolBase
ManagedMonitorToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ManagedMonitorToolBase.cxx:339
PhysValTau::procHistograms
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
Definition
PhysValTau.cxx:292
PhysValTau::m_truthTool
ToolHandle< TauAnalysisTools::ITauTruthMatchingTool > m_truthTool
Definition
PhysValTau.h:49
PhysValTau::m_IsHadronicTauKey
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_IsHadronicTauKey
Definition
PhysValTau.h:60
PhysValTau::m_primTauSel
ToolHandle< TauAnalysisTools::ITauSelectionTool > m_primTauSel
Definition
PhysValTau.h:51
PhysValTau::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx)
An inheriting class should either override this function or fillHists().
Definition
PhysValTau.cxx:80
PhysValTau::m_oTauValidationPlotsNominal
std::unique_ptr< TauValidationPlotsNominal > m_oTauValidationPlotsNominal
Definition
PhysValTau.h:64
PhysValTau::m_IsTruthMatchedKey
SG::ReadDecorHandleKey< xAOD::TauJetContainer > m_IsTruthMatchedKey
Definition
PhysValTau.h:59
PhysValTau::bookHistograms
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
Definition
PhysValTau.cxx:49
PhysValTau::m_nomiTauSel
ToolHandle< TauAnalysisTools::ITauSelectionTool > m_nomiTauSel
Definition
PhysValTau.h:52
PhysValTau::m_tauContainerKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauContainerKey
Definition
PhysValTau.h:55
PhysValTau::m_truthTauContainerKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthTauContainerKey
Definition
PhysValTau.h:56
PhysValTau::m_oTauValidationPlotsNoCuts
std::unique_ptr< TauValidationPlotsNoCuts > m_oTauValidationPlotsNoCuts
Definition
PhysValTau.h:65
PhysValTau::PhysValTau
PhysValTau(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
PhysValTau.cxx:17
PhysValTau::initialize
virtual StatusCode initialize()
Definition
PhysValTau.cxx:25
PhysValTau::m_isMC
Gaudi::Property< bool > m_isMC
Definition
PhysValTau.h:46
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
type
Generated on
for ATLAS Offline Software by
1.17.0