ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigBjetHypo
src
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
8
#include "
IBJetHypoDiscriminantCheck.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
11
12
class
BJetThreeValueCheck
:
virtual
public
::AthAlgTool
,
IBJetHypoDiscriminantCheck
{
13
public
:
14
BJetThreeValueCheck
(
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>
b
;
23
SG::AuxElement::ConstAccessor<float>
c
;
24
SG::AuxElement::ConstAccessor<float>
u
;
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
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
BJetThreeValueCheck::m_llrName
Gaudi::Property< std::string > m_llrName
Definition
BJetThreeValueCheck.h:40
BJetThreeValueCheck::m_bName
Gaudi::Property< std::string > m_bName
Definition
BJetThreeValueCheck.h:26
BJetThreeValueCheck::m_acc
std::unique_ptr< Accessors > m_acc
Definition
BJetThreeValueCheck.h:36
BJetThreeValueCheck::initialize
virtual StatusCode initialize() override
Definition
BJetThreeValueCheck.cxx:17
BJetThreeValueCheck::BJetThreeValueCheck
BJetThreeValueCheck(const std::string &type, const std::string &name, const IInterface *parent)
Definition
BJetThreeValueCheck.cxx:8
BJetThreeValueCheck::passThreshold
virtual bool passThreshold(const xAOD::Jet &) const override
Definition
BJetThreeValueCheck.cxx:34
BJetThreeValueCheck::m_cName
Gaudi::Property< std::string > m_cName
Definition
BJetThreeValueCheck.h:28
BJetThreeValueCheck::m_uName
Gaudi::Property< std::string > m_uName
Definition
BJetThreeValueCheck.h:30
BJetThreeValueCheck::m_threshold
Gaudi::Property< float > m_threshold
Definition
BJetThreeValueCheck.h:34
BJetThreeValueCheck::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
BJetThreeValueCheck.h:38
BJetThreeValueCheck::m_cFraction
Gaudi::Property< float > m_cFraction
Definition
BJetThreeValueCheck.h:32
IBJetHypoDiscriminantCheck
Definition
IBJetHypoDiscriminantCheck.h:12
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition
Event/xAOD/xAODJet/xAODJet/Jet.h:17
BJetThreeValueCheck::Accessors
Definition
BJetThreeValueCheck.h:21
BJetThreeValueCheck::Accessors::c
SG::AuxElement::ConstAccessor< float > c
Definition
BJetThreeValueCheck.h:23
BJetThreeValueCheck::Accessors::b
SG::AuxElement::ConstAccessor< float > b
Definition
BJetThreeValueCheck.h:22
BJetThreeValueCheck::Accessors::u
SG::AuxElement::ConstAccessor< float > u
Definition
BJetThreeValueCheck.h:24
type
Generated on
for ATLAS Offline Software by
1.17.0