ATLAS Offline Software
BJetTwoValueCheck.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 BJetTwoValueCheck_h
6 #define BJetTwoValueCheck_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 {
24  };
25  Gaudi::Property<std::string> m_numName { this, "numerator", "",
26  "numerator name in flavor log likelihood"};
27  Gaudi::Property<std::string> m_denomName { this, "denominator", "",
28  "denominator name in flavor log likelihood"};
29  Gaudi::Property<float> m_threshold { this, "threshold", NAN,
30  "minimum value to pass"};
31  std::unique_ptr<Accessors> m_acc;
32 
33  ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "",
34  "Monitoring tool" };
35  Gaudi::Property<std::string> m_llrName {this, "llrName", "bbtag_llr",
36  "name to give log likelihood in monitoring"};
37 };
38 
39 #endif
BJetTwoValueCheck::BJetTwoValueCheck
BJetTwoValueCheck(const std::string &type, const std::string &name, const IInterface *parent)
Definition: BJetTwoValueCheck.cxx:8
BJetTwoValueCheck::m_denomName
Gaudi::Property< std::string > m_denomName
Definition: BJetTwoValueCheck.h:27
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:446
IBJetHypoDiscriminantCheck
Definition: IBJetHypoDiscriminantCheck.h:11
BJetTwoValueCheck::m_numName
Gaudi::Property< std::string > m_numName
Definition: BJetTwoValueCheck.h:25
SG::ConstAccessor
Helper class to provide constant type-safe access to aux data.
Definition: ConstAccessor.h:54
BJetTwoValueCheck::m_acc
std::unique_ptr< Accessors > m_acc
Definition: BJetTwoValueCheck.h:31
GenericMonitoringTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
BJetTwoValueCheck::passThreshold
virtual bool passThreshold(const SG::AuxElement &) const override
Definition: BJetTwoValueCheck.cxx:28
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
BJetTwoValueCheck::Accessors::n
SG::AuxElement::ConstAccessor< float > n
Definition: BJetTwoValueCheck.h:22
BJetTwoValueCheck::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: BJetTwoValueCheck.h:33
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
BJetTwoValueCheck
Definition: BJetTwoValueCheck.h:12
BJetTwoValueCheck::Accessors
Definition: BJetTwoValueCheck.h:21
BJetTwoValueCheck::initialize
virtual StatusCode initialize() override
Definition: BJetTwoValueCheck.cxx:17
AthAlgTool
Definition: AthAlgTool.h:26
BJetTwoValueCheck::m_threshold
Gaudi::Property< float > m_threshold
Definition: BJetTwoValueCheck.h:29
IBJetHypoDiscriminantCheck.h
BJetTwoValueCheck::Accessors::d
SG::AuxElement::ConstAccessor< float > d
Definition: BJetTwoValueCheck.h:23
BJetTwoValueCheck::m_llrName
Gaudi::Property< std::string > m_llrName
Definition: BJetTwoValueCheck.h:35