ATLAS Offline Software
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 
13 public:
15  const std::string& type,
16  const std::string& name,
17  const IInterface* parent);
18  virtual StatusCode initialize() override;
19  virtual bool passThreshold(const SG::AuxElement&) const override;
20 private:
21  struct Accessors {
25  };
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
BJetThreeValueCheck::m_cFraction
Gaudi::Property< float > m_cFraction
Definition: BJetThreeValueCheck.h:32
BJetThreeValueCheck::m_threshold
Gaudi::Property< float > m_threshold
Definition: BJetThreeValueCheck.h:34
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:446
IBJetHypoDiscriminantCheck
Definition: IBJetHypoDiscriminantCheck.h:11
BJetThreeValueCheck::m_acc
std::unique_ptr< Accessors > m_acc
Definition: BJetThreeValueCheck.h:36
BJetThreeValueCheck::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: BJetThreeValueCheck.h:38
BJetThreeValueCheck::passThreshold
virtual bool passThreshold(const SG::AuxElement &) const override
Definition: BJetThreeValueCheck.cxx:34
BJetThreeValueCheck::BJetThreeValueCheck
BJetThreeValueCheck(const std::string &type, const std::string &name, const IInterface *parent)
Definition: BJetThreeValueCheck.cxx:8
BJetThreeValueCheck::m_bName
Gaudi::Property< std::string > m_bName
Definition: BJetThreeValueCheck.h:26
SG::ConstAccessor
Helper class to provide constant type-safe access to aux data.
Definition: ConstAccessor.h:54
BJetThreeValueCheck::m_cName
Gaudi::Property< std::string > m_cName
Definition: BJetThreeValueCheck.h:28
GenericMonitoringTool.h
BJetThreeValueCheck::Accessors
Definition: BJetThreeValueCheck.h:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
BJetThreeValueCheck::Accessors::u
SG::AuxElement::ConstAccessor< float > u
Definition: BJetThreeValueCheck.h:24
BJetThreeValueCheck::Accessors::b
SG::AuxElement::ConstAccessor< float > b
Definition: BJetThreeValueCheck.h:22
AthAlgTool.h
BJetThreeValueCheck
Definition: BJetThreeValueCheck.h:12
test_pyathena.parent
parent
Definition: test_pyathena.py:15
BJetThreeValueCheck::m_uName
Gaudi::Property< std::string > m_uName
Definition: BJetThreeValueCheck.h:30
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
BJetThreeValueCheck::m_llrName
Gaudi::Property< std::string > m_llrName
Definition: BJetThreeValueCheck.h:40
BJetThreeValueCheck::Accessors::c
SG::AuxElement::ConstAccessor< float > c
Definition: BJetThreeValueCheck.h:23
BJetThreeValueCheck::initialize
virtual StatusCode initialize() override
Definition: BJetThreeValueCheck.cxx:17
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
IBJetHypoDiscriminantCheck.h