ATLAS Offline Software
Loading...
Searching...
No Matches
BJetThreeValueCheck.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 BJetThreeValueCheck_h
6#define BJetThreeValueCheck_h
7
11
13public:
15 const std::string& type,
16 const std::string& name,
17 const IInterface* parent);
18 virtual StatusCode initialize() override;
19 virtual bool passThreshold(const xAOD::Jet&) const override;
20private:
26 Gaudi::Property<std::string> m_bName { this, "b", "",
27 "numerator name in flavor log likelihood"};
28 Gaudi::Property<std::string> m_cName { this, "c", "",
29 "first denominator name in flavor log likelihood"};
30 Gaudi::Property<std::string> m_uName { this, "u", "",
31 "second denominator name in flavor log likelihood"};
32 Gaudi::Property<float> m_cFraction { this, "cFraction", 0,
33 "weight for first denominator component"};
34 Gaudi::Property<float> m_threshold { this, "threshold", NAN,
35 "minimum value to pass"};
36 std::unique_ptr<Accessors> m_acc;
37
38 ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "",
39 "Monitoring tool" };
40 Gaudi::Property<std::string> m_llrName {this, "llrName", "btag_llr",
41 "name to give log likelihood in monitoring"};
42};
43
44#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Gaudi::Property< std::string > m_llrName
Gaudi::Property< std::string > m_bName
std::unique_ptr< Accessors > m_acc
virtual StatusCode initialize() override
BJetThreeValueCheck(const std::string &type, const std::string &name, const IInterface *parent)
virtual bool passThreshold(const xAOD::Jet &) const override
Gaudi::Property< std::string > m_cName
Gaudi::Property< std::string > m_uName
Gaudi::Property< float > m_threshold
ToolHandle< GenericMonitoringTool > m_monTool
Gaudi::Property< float > m_cFraction
SG::ConstAccessor< T, ALLOC > ConstAccessor
Definition AuxElement.h:569
Jet_v1 Jet
Definition of the current "jet version".
SG::AuxElement::ConstAccessor< float > c
SG::AuxElement::ConstAccessor< float > b
SG::AuxElement::ConstAccessor< float > u