ATLAS Offline Software
Loading...
Searching...
No Matches
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
13// FrameWork includes
15
16// Local includes
20
21// Local includes
24
27{
28
29public:
31 PhysValTau( const std::string& type,
32 const std::string& name,
33 const IInterface* parent );
34
35 // Athena algtool's Hooks
36 virtual StatusCode initialize();
37 virtual StatusCode bookHistograms();
38 virtual StatusCode fillHistograms(const EventContext& ctx);
39 virtual StatusCode procHistograms();
40
41
42private:
43 // properties
44 Gaudi::Property<std::string> m_TauJetContainerName{this, "TauContainerName", "TauJets"};
45 Gaudi::Property<std::string> m_TruthTauJetContainerName{this, "TruthTauContainerName", "TruthTaus"};
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 //Histograms
55 // general tau all prongs plots
56 std::unique_ptr<TauValidationPlotsNominal> m_oTauValidationPlotsNominal;
57 std::unique_ptr<TauValidationPlotsNoCuts> m_oTauValidationPlotsNoCuts;
58
59};
60
61#endif //> !TAUDQA_PHYSVALTAU_H
ManagedMonitorToolBase(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
ToolHandle< TauAnalysisTools::ITauTruthMatchingTool > m_truthTool
Definition PhysValTau.h:49
ToolHandle< TauAnalysisTools::ITauSelectionTool > m_primTauSel
Definition PhysValTau.h:51
virtual StatusCode fillHistograms(const EventContext &ctx)
An inheriting class should either override this function or fillHists().
std::unique_ptr< TauValidationPlotsNominal > m_oTauValidationPlotsNominal
Definition PhysValTau.h:56
Gaudi::Property< std::string > m_TauJetContainerName
Definition PhysValTau.h:44
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
ToolHandle< TauAnalysisTools::ITauSelectionTool > m_nomiTauSel
Definition PhysValTau.h:52
std::unique_ptr< TauValidationPlotsNoCuts > m_oTauValidationPlotsNoCuts
Definition PhysValTau.h:57
PhysValTau(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Gaudi::Property< std::string > m_TruthTauJetContainerName
Definition PhysValTau.h:45
virtual StatusCode initialize()
Gaudi::Property< bool > m_isMC
Definition PhysValTau.h:46