ATLAS Offline Software
Loading...
Searching...
No Matches
MvaTESEvaluator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TAURECTOOLS_MVATESEVALUATOR_H
6#define TAURECTOOLS_MVATESEVALUATOR_H
7
8// tauRecTools include(s)
11
13
14#include <map>
15
17: public TauRecToolBase
18{
19 public:
21
22 MvaTESEvaluator(const std::string& name="MvaTESEvaluator");
23 virtual ~MvaTESEvaluator() = default;
24
25 virtual StatusCode initialize() override;
26
28 virtual StatusCode executeTool(xAOD::TauJet& xTau,
29 const EventContext& ctx) const override;
30
31 private:
32 // MVA input variables (provide all variables in float)
34 {
35 float mu{0.0};
36 float nVtxPU{0.0};
37 float rho{0.0};
38
39 float center_lambda{0.0};
40 float first_eng_dens{0.0};
41 float second_lambda{0.0};
42 float presampler_frac{0.0};
43 float eprobability{0.0};
44
45 float ptEM_D_ptLC{0.0};
46 float ptCombined{0.0};
49 float etaConstituent{0.0};
50
54 float nTracks{0.0};
55 float PFOEngRelDiff{0.0};
56
57 // for 0p
58 float centFrac{0.0};
59 float logPtCombined{0.0};
61
62 // for online calibration
64 float etaDetectorAxis{0.0};
65 float upsilon_cluster{0.0};
70 };
71
72 std::unique_ptr<tauRecTools::BDTHelper> m_bdtHelper;
73 std::unique_ptr<tauRecTools::BDTHelper> m_bdtHelper0p;
74
75 // Configurable properties
76 Gaudi::Property<std::string> m_sWeightFileName{this, "WeightFileName", ""};
77 Gaudi::Property<std::string> m_sWeightFileName0p{this, "WeightFileName0p", ""};
78
79};
80
81#endif // TAURECTOOLS_MVATESEVALUATOR_H
#define ASG_TOOL_CLASS2(CLASSNAME, INT1, INT2)
The base class for all tau tools.
Gaudi::Property< std::string > m_sWeightFileName
std::unique_ptr< tauRecTools::BDTHelper > m_bdtHelper
std::unique_ptr< tauRecTools::BDTHelper > m_bdtHelper0p
virtual StatusCode initialize() override
Tool initializer.
MvaTESEvaluator(const std::string &name="MvaTESEvaluator")
Gaudi::Property< std::string > m_sWeightFileName0p
virtual StatusCode executeTool(xAOD::TauJet &xTau, const EventContext &ctx) const override
Execute - called for each tau candidate.
virtual ~MvaTESEvaluator()=default
TauRecToolBase(const std::string &name)
virtual StatusCode executeTool(xAOD::TauJet &, const EventContext &) const override
Execute - called for each tau candidate.
TauJet_v3 TauJet
Definition of the current "tau version".
Definition TauJet.h:17