ATLAS Offline Software
Loading...
Searching...
No Matches
TauPi0ScoreCalculator.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 TAURECTOOLS_TAUPI0SCORECALCULATOR_H
6#define TAURECTOOLS_TAUPI0SCORECALCULATOR_H
7
10
11#include "xAODPFlow/PFO.h"
13
14#include <string>
15
24
26
27public:
28
30
31 TauPi0ScoreCalculator(const std::string& name);
32 virtual ~TauPi0ScoreCalculator() = default;
33
34 virtual StatusCode initialize() override;
35 virtual StatusCode executePi0nPFO(xAOD::TauJet& pTau, xAOD::PFOContainer& pNeutralPFOContainer) const override;
36
37private:
38
39 Gaudi::Property<std::string> m_weightfile{this, "BDTWeightFile", ""};
40
42 float calculateScore(const xAOD::PFO* neutralPFO) const;
43
44 std::unique_ptr<tauRecTools::BDTHelper> m_mvaBDT = nullptr;
45};
46
47#endif // TAURECTOOLS_TAUPI0SCORECALCULATOR_H
48
#define ASG_TOOL_CLASS2(CLASSNAME, INT1, INT2)
The base class for all tau tools.
virtual StatusCode executePi0nPFO(xAOD::TauJet &pTau, xAOD::PFOContainer &pNeutralPFOContainer) const override
std::unique_ptr< tauRecTools::BDTHelper > m_mvaBDT
virtual ~TauPi0ScoreCalculator()=default
float calculateScore(const xAOD::PFO *neutralPFO) const
Calculate pi0 BDT score.
virtual StatusCode initialize() override
Tool initializer.
Gaudi::Property< std::string > m_weightfile
TauPi0ScoreCalculator(const std::string &name)
TauRecToolBase(const std::string &name)
PFO_v1 PFO
Definition of the current "pfo version".
Definition PFO.h:17
PFOContainer_v1 PFOContainer
Definition of the current "pfo container version".
TauJet_v3 TauJet
Definition of the current "tau version".