ATLAS Offline Software
Loading...
Searching...
No Matches
MvaTESEvaluator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 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 virtual StatusCode execute(xAOD::TauJet& xTau) const override;
27
28 private:
29 // MVA input variables (provide all variables in float)
31 {
32 float mu{0.0};
33 float nVtxPU{0.0};
34 float rho{0.0};
35
36 float center_lambda{0.0};
37 float first_eng_dens{0.0};
38 float second_lambda{0.0};
39 float presampler_frac{0.0};
40 float eprobability{0.0};
41
42 float ptEM_D_ptLC{0.0};
43 float ptCombined{0.0};
46 float etaConstituent{0.0};
47
51 float nTracks{0.0};
52 float PFOEngRelDiff{0.0};
53
54 // for 0p
55 float centFrac{0.0};
56 float logPtCombined{0.0};
58
59 // for online calibration
61 float etaDetectorAxis{0.0};
62 float upsilon_cluster{0.0};
67 };
68
69 std::unique_ptr<tauRecTools::BDTHelper> m_bdtHelper;
70 std::unique_ptr<tauRecTools::BDTHelper> m_bdtHelper0p;
71
72 // Configurable properties
73 Gaudi::Property<std::string> m_sWeightFileName{this, "WeightFileName", ""};
74 Gaudi::Property<std::string> m_sWeightFileName0p{this, "WeightFileName0p", ""};
75
76};
77
78#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 execute(xAOD::TauJet &xTau) const override
Execute - called for each tau candidate.
virtual StatusCode initialize() override
Tool initializer.
MvaTESEvaluator(const std::string &name="MvaTESEvaluator")
Gaudi::Property< std::string > m_sWeightFileName0p
virtual ~MvaTESEvaluator()=default
TauRecToolBase(const std::string &name)
TauJet_v3 TauJet
Definition of the current "tau version".