ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigBjetHypo
src
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
8
#include "
IBJetHypoDiscriminantCheck.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
11
12
class
BJetTwoValueCheck
:
virtual
public
::AthAlgTool
,
IBJetHypoDiscriminantCheck
{
13
public
:
14
BJetTwoValueCheck
(
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
;
20
private
:
21
struct
Accessors
{
22
SG::AuxElement::ConstAccessor<float>
n
;
23
SG::AuxElement::ConstAccessor<float>
d
;
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
AthAlgTool.h
GenericMonitoringTool.h
IBJetHypoDiscriminantCheck.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
BJetTwoValueCheck::m_acc
std::unique_ptr< Accessors > m_acc
Definition
BJetTwoValueCheck.h:31
BJetTwoValueCheck::m_threshold
Gaudi::Property< float > m_threshold
Definition
BJetTwoValueCheck.h:29
BJetTwoValueCheck::initialize
virtual StatusCode initialize() override
Definition
BJetTwoValueCheck.cxx:17
BJetTwoValueCheck::BJetTwoValueCheck
BJetTwoValueCheck(const std::string &type, const std::string &name, const IInterface *parent)
Definition
BJetTwoValueCheck.cxx:8
BJetTwoValueCheck::m_llrName
Gaudi::Property< std::string > m_llrName
Definition
BJetTwoValueCheck.h:35
BJetTwoValueCheck::m_denomName
Gaudi::Property< std::string > m_denomName
Definition
BJetTwoValueCheck.h:27
BJetTwoValueCheck::passThreshold
virtual bool passThreshold(const xAOD::Jet &) const override
Definition
BJetTwoValueCheck.cxx:28
BJetTwoValueCheck::m_numName
Gaudi::Property< std::string > m_numName
Definition
BJetTwoValueCheck.h:25
BJetTwoValueCheck::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
BJetTwoValueCheck.h:33
IBJetHypoDiscriminantCheck
Definition
IBJetHypoDiscriminantCheck.h:12
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition
Event/xAOD/xAODJet/xAODJet/Jet.h:17
BJetTwoValueCheck::Accessors
Definition
BJetTwoValueCheck.h:21
BJetTwoValueCheck::Accessors::n
SG::AuxElement::ConstAccessor< float > n
Definition
BJetTwoValueCheck.h:22
BJetTwoValueCheck::Accessors::d
SG::AuxElement::ConstAccessor< float > d
Definition
BJetTwoValueCheck.h:23
type
Generated on
for ATLAS Offline Software by
1.17.0